Documentation
¶
Index ¶
- func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPoliciesGetOK, error)
- func (a *Client) SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyCreateCreated, *SnapmirrorPolicyCreateAccepted, error)
- func (a *Client) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyDeleteOK, *SnapmirrorPolicyDeleteAccepted, error)
- func (a *Client) SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyGetOK, error)
- func (a *Client) SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyModifyOK, *SnapmirrorPolicyModifyAccepted, error)
- func (a *Client) SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, ...) (*SnapmirrorRelationshipCreateCreated, *SnapmirrorRelationshipCreateAccepted, ...)
- func (a *Client) SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, ...) (*SnapmirrorRelationshipDeleteOK, *SnapmirrorRelationshipDeleteAccepted, error)
- func (a *Client) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorRelationshipGetOK, error)
- func (a *Client) SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, ...) (*SnapmirrorRelationshipModifyOK, *SnapmirrorRelationshipModifyAccepted, error)
- func (a *Client) SnapmirrorRelationshipTransferCreate(params *SnapmirrorRelationshipTransferCreateParams, ...) (*SnapmirrorRelationshipTransferCreateCreated, error)
- func (a *Client) SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, ...) (*SnapmirrorRelationshipTransferGetOK, error)
- func (a *Client) SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, ...) (*SnapmirrorRelationshipTransferModifyOK, error)
- func (a *Client) SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, ...) (*SnapmirrorRelationshipTransfersGetOK, error)
- func (a *Client) SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, ...) (*SnapmirrorRelationshipsGetOK, error)
- type ClientOption
- type ClientService
- type SnapmirrorPoliciesGetDefault
- func (o *SnapmirrorPoliciesGetDefault) Code() int
- func (o *SnapmirrorPoliciesGetDefault) Error() string
- func (o *SnapmirrorPoliciesGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorPoliciesGetDefault) IsClientError() bool
- func (o *SnapmirrorPoliciesGetDefault) IsCode(code int) bool
- func (o *SnapmirrorPoliciesGetDefault) IsRedirect() bool
- func (o *SnapmirrorPoliciesGetDefault) IsServerError() bool
- func (o *SnapmirrorPoliciesGetDefault) IsSuccess() bool
- func (o *SnapmirrorPoliciesGetDefault) String() string
- type SnapmirrorPoliciesGetOK
- func (o *SnapmirrorPoliciesGetOK) Code() int
- func (o *SnapmirrorPoliciesGetOK) Error() string
- func (o *SnapmirrorPoliciesGetOK) GetPayload() *models.SnapmirrorPolicyResponse
- func (o *SnapmirrorPoliciesGetOK) IsClientError() bool
- func (o *SnapmirrorPoliciesGetOK) IsCode(code int) bool
- func (o *SnapmirrorPoliciesGetOK) IsRedirect() bool
- func (o *SnapmirrorPoliciesGetOK) IsServerError() bool
- func (o *SnapmirrorPoliciesGetOK) IsSuccess() bool
- func (o *SnapmirrorPoliciesGetOK) String() string
- type SnapmirrorPoliciesGetParams
- func NewSnapmirrorPoliciesGetParams() *SnapmirrorPoliciesGetParams
- func NewSnapmirrorPoliciesGetParamsWithContext(ctx context.Context) *SnapmirrorPoliciesGetParams
- func NewSnapmirrorPoliciesGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams
- func NewSnapmirrorPoliciesGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) SetComment(comment *string)
- func (o *SnapmirrorPoliciesGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshots(copyAllSourceSnapshots *bool)
- func (o *SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshot(copyLatestSourceSnapshot *bool)
- func (o *SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSource(createSnapshotOnSource *bool)
- func (o *SnapmirrorPoliciesGetParams) SetDefaults()
- func (o *SnapmirrorPoliciesGetParams) SetFields(fields []string)
- func (o *SnapmirrorPoliciesGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPoliciesGetParams) SetIdentityPreservation(identityPreservation *string)
- func (o *SnapmirrorPoliciesGetParams) SetMaxRecords(maxRecords *int64)
- func (o *SnapmirrorPoliciesGetParams) SetName(name *string)
- func (o *SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabled(networkCompressionEnabled *bool)
- func (o *SnapmirrorPoliciesGetParams) SetOrderBy(orderBy []string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionCount(retentionCount *int64)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleName(retentionCreationScheduleName *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUID(retentionCreationScheduleUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionLabel(retentionLabel *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionPeriod(retentionPeriod *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionPrefix(retentionPrefix *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionPreserve(retentionPreserve *bool)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionWarn(retentionWarn *int64)
- func (o *SnapmirrorPoliciesGetParams) SetReturnRecords(returnRecords *bool)
- func (o *SnapmirrorPoliciesGetParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorPoliciesGetParams) SetRpo(rpo *int64)
- func (o *SnapmirrorPoliciesGetParams) SetScope(scope *string)
- func (o *SnapmirrorPoliciesGetParams) SetSvmName(svmName *string)
- func (o *SnapmirrorPoliciesGetParams) SetSvmUUID(svmUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleName(syncCommonSnapshotScheduleName *string)
- func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUID(syncCommonSnapshotScheduleUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetSyncType(syncType *string)
- func (o *SnapmirrorPoliciesGetParams) SetThrottle(throttle *int64)
- func (o *SnapmirrorPoliciesGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleName(transferScheduleName *string)
- func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleUUID(transferScheduleUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetType(typeVar *string)
- func (o *SnapmirrorPoliciesGetParams) SetUUID(uuid *string)
- func (o *SnapmirrorPoliciesGetParams) WithComment(comment *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithContext(ctx context.Context) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshots(copyAllSourceSnapshots *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshot(copyLatestSourceSnapshot *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSource(createSnapshotOnSource *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithDefaults() *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithFields(fields []string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithIdentityPreservation(identityPreservation *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithName(name *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabled(networkCompressionEnabled *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithOrderBy(orderBy []string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionCount(retentionCount *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleName(retentionCreationScheduleName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUID(retentionCreationScheduleUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionLabel(retentionLabel *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionPeriod(retentionPeriod *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionPrefix(retentionPrefix *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionPreserve(retentionPreserve *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionWarn(retentionWarn *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRpo(rpo *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithScope(scope *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSvmName(svmName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSvmUUID(svmUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleName(syncCommonSnapshotScheduleName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUID(syncCommonSnapshotScheduleUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSyncType(syncType *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithThrottle(throttle *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleName(transferScheduleName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleUUID(transferScheduleUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithType(typeVar *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithUUID(uuid *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPoliciesGetReader
- type SnapmirrorPolicyCreateAccepted
- func (o *SnapmirrorPolicyCreateAccepted) Code() int
- func (o *SnapmirrorPolicyCreateAccepted) Error() string
- func (o *SnapmirrorPolicyCreateAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorPolicyCreateAccepted) IsClientError() bool
- func (o *SnapmirrorPolicyCreateAccepted) IsCode(code int) bool
- func (o *SnapmirrorPolicyCreateAccepted) IsRedirect() bool
- func (o *SnapmirrorPolicyCreateAccepted) IsServerError() bool
- func (o *SnapmirrorPolicyCreateAccepted) IsSuccess() bool
- func (o *SnapmirrorPolicyCreateAccepted) String() string
- type SnapmirrorPolicyCreateCreated
- func (o *SnapmirrorPolicyCreateCreated) Code() int
- func (o *SnapmirrorPolicyCreateCreated) Error() string
- func (o *SnapmirrorPolicyCreateCreated) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorPolicyCreateCreated) IsClientError() bool
- func (o *SnapmirrorPolicyCreateCreated) IsCode(code int) bool
- func (o *SnapmirrorPolicyCreateCreated) IsRedirect() bool
- func (o *SnapmirrorPolicyCreateCreated) IsServerError() bool
- func (o *SnapmirrorPolicyCreateCreated) IsSuccess() bool
- func (o *SnapmirrorPolicyCreateCreated) String() string
- type SnapmirrorPolicyCreateDefault
- func (o *SnapmirrorPolicyCreateDefault) Code() int
- func (o *SnapmirrorPolicyCreateDefault) Error() string
- func (o *SnapmirrorPolicyCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorPolicyCreateDefault) IsClientError() bool
- func (o *SnapmirrorPolicyCreateDefault) IsCode(code int) bool
- func (o *SnapmirrorPolicyCreateDefault) IsRedirect() bool
- func (o *SnapmirrorPolicyCreateDefault) IsServerError() bool
- func (o *SnapmirrorPolicyCreateDefault) IsSuccess() bool
- func (o *SnapmirrorPolicyCreateDefault) String() string
- type SnapmirrorPolicyCreateParams
- func NewSnapmirrorPolicyCreateParams() *SnapmirrorPolicyCreateParams
- func NewSnapmirrorPolicyCreateParamsWithContext(ctx context.Context) *SnapmirrorPolicyCreateParams
- func NewSnapmirrorPolicyCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyCreateParams
- func NewSnapmirrorPolicyCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) SetContext(ctx context.Context)
- func (o *SnapmirrorPolicyCreateParams) SetDefaults()
- func (o *SnapmirrorPolicyCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPolicyCreateParams) SetInfo(info *models.SnapmirrorPolicy)
- func (o *SnapmirrorPolicyCreateParams) SetReturnRecords(returnRecords *bool)
- func (o *SnapmirrorPolicyCreateParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorPolicyCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyCreateParams) WithContext(ctx context.Context) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithDefaults() *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithInfo(info *models.SnapmirrorPolicy) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPolicyCreateReader
- type SnapmirrorPolicyDeleteAccepted
- func (o *SnapmirrorPolicyDeleteAccepted) Code() int
- func (o *SnapmirrorPolicyDeleteAccepted) Error() string
- func (o *SnapmirrorPolicyDeleteAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorPolicyDeleteAccepted) IsClientError() bool
- func (o *SnapmirrorPolicyDeleteAccepted) IsCode(code int) bool
- func (o *SnapmirrorPolicyDeleteAccepted) IsRedirect() bool
- func (o *SnapmirrorPolicyDeleteAccepted) IsServerError() bool
- func (o *SnapmirrorPolicyDeleteAccepted) IsSuccess() bool
- func (o *SnapmirrorPolicyDeleteAccepted) String() string
- type SnapmirrorPolicyDeleteDefault
- func (o *SnapmirrorPolicyDeleteDefault) Code() int
- func (o *SnapmirrorPolicyDeleteDefault) Error() string
- func (o *SnapmirrorPolicyDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorPolicyDeleteDefault) IsClientError() bool
- func (o *SnapmirrorPolicyDeleteDefault) IsCode(code int) bool
- func (o *SnapmirrorPolicyDeleteDefault) IsRedirect() bool
- func (o *SnapmirrorPolicyDeleteDefault) IsServerError() bool
- func (o *SnapmirrorPolicyDeleteDefault) IsSuccess() bool
- func (o *SnapmirrorPolicyDeleteDefault) String() string
- type SnapmirrorPolicyDeleteOK
- func (o *SnapmirrorPolicyDeleteOK) Code() int
- func (o *SnapmirrorPolicyDeleteOK) Error() string
- func (o *SnapmirrorPolicyDeleteOK) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorPolicyDeleteOK) IsClientError() bool
- func (o *SnapmirrorPolicyDeleteOK) IsCode(code int) bool
- func (o *SnapmirrorPolicyDeleteOK) IsRedirect() bool
- func (o *SnapmirrorPolicyDeleteOK) IsServerError() bool
- func (o *SnapmirrorPolicyDeleteOK) IsSuccess() bool
- func (o *SnapmirrorPolicyDeleteOK) String() string
- type SnapmirrorPolicyDeleteParams
- func NewSnapmirrorPolicyDeleteParams() *SnapmirrorPolicyDeleteParams
- func NewSnapmirrorPolicyDeleteParamsWithContext(ctx context.Context) *SnapmirrorPolicyDeleteParams
- func NewSnapmirrorPolicyDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyDeleteParams
- func NewSnapmirrorPolicyDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) SetContext(ctx context.Context)
- func (o *SnapmirrorPolicyDeleteParams) SetDefaults()
- func (o *SnapmirrorPolicyDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPolicyDeleteParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorPolicyDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyDeleteParams) SetUUID(uuid string)
- func (o *SnapmirrorPolicyDeleteParams) WithContext(ctx context.Context) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithDefaults() *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithUUID(uuid string) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPolicyDeleteReader
- type SnapmirrorPolicyGetDefault
- func (o *SnapmirrorPolicyGetDefault) Code() int
- func (o *SnapmirrorPolicyGetDefault) Error() string
- func (o *SnapmirrorPolicyGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorPolicyGetDefault) IsClientError() bool
- func (o *SnapmirrorPolicyGetDefault) IsCode(code int) bool
- func (o *SnapmirrorPolicyGetDefault) IsRedirect() bool
- func (o *SnapmirrorPolicyGetDefault) IsServerError() bool
- func (o *SnapmirrorPolicyGetDefault) IsSuccess() bool
- func (o *SnapmirrorPolicyGetDefault) String() string
- type SnapmirrorPolicyGetOK
- func (o *SnapmirrorPolicyGetOK) Code() int
- func (o *SnapmirrorPolicyGetOK) Error() string
- func (o *SnapmirrorPolicyGetOK) GetPayload() *models.SnapmirrorPolicy
- func (o *SnapmirrorPolicyGetOK) IsClientError() bool
- func (o *SnapmirrorPolicyGetOK) IsCode(code int) bool
- func (o *SnapmirrorPolicyGetOK) IsRedirect() bool
- func (o *SnapmirrorPolicyGetOK) IsServerError() bool
- func (o *SnapmirrorPolicyGetOK) IsSuccess() bool
- func (o *SnapmirrorPolicyGetOK) String() string
- type SnapmirrorPolicyGetParams
- func NewSnapmirrorPolicyGetParams() *SnapmirrorPolicyGetParams
- func NewSnapmirrorPolicyGetParamsWithContext(ctx context.Context) *SnapmirrorPolicyGetParams
- func NewSnapmirrorPolicyGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams
- func NewSnapmirrorPolicyGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorPolicyGetParams) SetDefaults()
- func (o *SnapmirrorPolicyGetParams) SetFields(fields []string)
- func (o *SnapmirrorPolicyGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPolicyGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyGetParams) SetUUID(uuid string)
- func (o *SnapmirrorPolicyGetParams) WithContext(ctx context.Context) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithDefaults() *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithFields(fields []string) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithUUID(uuid string) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPolicyGetReader
- type SnapmirrorPolicyModifyAccepted
- func (o *SnapmirrorPolicyModifyAccepted) Code() int
- func (o *SnapmirrorPolicyModifyAccepted) Error() string
- func (o *SnapmirrorPolicyModifyAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorPolicyModifyAccepted) IsClientError() bool
- func (o *SnapmirrorPolicyModifyAccepted) IsCode(code int) bool
- func (o *SnapmirrorPolicyModifyAccepted) IsRedirect() bool
- func (o *SnapmirrorPolicyModifyAccepted) IsServerError() bool
- func (o *SnapmirrorPolicyModifyAccepted) IsSuccess() bool
- func (o *SnapmirrorPolicyModifyAccepted) String() string
- type SnapmirrorPolicyModifyDefault
- func (o *SnapmirrorPolicyModifyDefault) Code() int
- func (o *SnapmirrorPolicyModifyDefault) Error() string
- func (o *SnapmirrorPolicyModifyDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorPolicyModifyDefault) IsClientError() bool
- func (o *SnapmirrorPolicyModifyDefault) IsCode(code int) bool
- func (o *SnapmirrorPolicyModifyDefault) IsRedirect() bool
- func (o *SnapmirrorPolicyModifyDefault) IsServerError() bool
- func (o *SnapmirrorPolicyModifyDefault) IsSuccess() bool
- func (o *SnapmirrorPolicyModifyDefault) String() string
- type SnapmirrorPolicyModifyOK
- func (o *SnapmirrorPolicyModifyOK) Code() int
- func (o *SnapmirrorPolicyModifyOK) Error() string
- func (o *SnapmirrorPolicyModifyOK) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorPolicyModifyOK) IsClientError() bool
- func (o *SnapmirrorPolicyModifyOK) IsCode(code int) bool
- func (o *SnapmirrorPolicyModifyOK) IsRedirect() bool
- func (o *SnapmirrorPolicyModifyOK) IsServerError() bool
- func (o *SnapmirrorPolicyModifyOK) IsSuccess() bool
- func (o *SnapmirrorPolicyModifyOK) String() string
- type SnapmirrorPolicyModifyParams
- func NewSnapmirrorPolicyModifyParams() *SnapmirrorPolicyModifyParams
- func NewSnapmirrorPolicyModifyParamsWithContext(ctx context.Context) *SnapmirrorPolicyModifyParams
- func NewSnapmirrorPolicyModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyModifyParams
- func NewSnapmirrorPolicyModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) SetContext(ctx context.Context)
- func (o *SnapmirrorPolicyModifyParams) SetDefaults()
- func (o *SnapmirrorPolicyModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPolicyModifyParams) SetInfo(info *models.SnapmirrorPolicy)
- func (o *SnapmirrorPolicyModifyParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorPolicyModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyModifyParams) SetUUID(uuid string)
- func (o *SnapmirrorPolicyModifyParams) WithContext(ctx context.Context) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithDefaults() *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithInfo(info *models.SnapmirrorPolicy) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithUUID(uuid string) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPolicyModifyReader
- type SnapmirrorRelationshipCreateAccepted
- func (o *SnapmirrorRelationshipCreateAccepted) Code() int
- func (o *SnapmirrorRelationshipCreateAccepted) Error() string
- func (o *SnapmirrorRelationshipCreateAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorRelationshipCreateAccepted) IsClientError() bool
- func (o *SnapmirrorRelationshipCreateAccepted) IsCode(code int) bool
- func (o *SnapmirrorRelationshipCreateAccepted) IsRedirect() bool
- func (o *SnapmirrorRelationshipCreateAccepted) IsServerError() bool
- func (o *SnapmirrorRelationshipCreateAccepted) IsSuccess() bool
- func (o *SnapmirrorRelationshipCreateAccepted) String() string
- type SnapmirrorRelationshipCreateCreated
- func (o *SnapmirrorRelationshipCreateCreated) Code() int
- func (o *SnapmirrorRelationshipCreateCreated) Error() string
- func (o *SnapmirrorRelationshipCreateCreated) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorRelationshipCreateCreated) IsClientError() bool
- func (o *SnapmirrorRelationshipCreateCreated) IsCode(code int) bool
- func (o *SnapmirrorRelationshipCreateCreated) IsRedirect() bool
- func (o *SnapmirrorRelationshipCreateCreated) IsServerError() bool
- func (o *SnapmirrorRelationshipCreateCreated) IsSuccess() bool
- func (o *SnapmirrorRelationshipCreateCreated) String() string
- type SnapmirrorRelationshipCreateDefault
- func (o *SnapmirrorRelationshipCreateDefault) Code() int
- func (o *SnapmirrorRelationshipCreateDefault) Error() string
- func (o *SnapmirrorRelationshipCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipCreateDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipCreateDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipCreateDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipCreateDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipCreateDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipCreateDefault) String() string
- type SnapmirrorRelationshipCreateParams
- func NewSnapmirrorRelationshipCreateParams() *SnapmirrorRelationshipCreateParams
- func NewSnapmirrorRelationshipCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipCreateParams
- func NewSnapmirrorRelationshipCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipCreateParams
- func NewSnapmirrorRelationshipCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipCreateParams) SetDefaults()
- func (o *SnapmirrorRelationshipCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipCreateParams) SetInfo(info *models.SnapmirrorRelationship)
- func (o *SnapmirrorRelationshipCreateParams) SetReturnRecords(returnRecords *bool)
- func (o *SnapmirrorRelationshipCreateParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorRelationshipCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipCreateParams) SetValidateOnly(validateOnly *bool)
- func (o *SnapmirrorRelationshipCreateParams) WithContext(ctx context.Context) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithDefaults() *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithInfo(info *models.SnapmirrorRelationship) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithValidateOnly(validateOnly *bool) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipCreateReader
- type SnapmirrorRelationshipDeleteAccepted
- func (o *SnapmirrorRelationshipDeleteAccepted) Code() int
- func (o *SnapmirrorRelationshipDeleteAccepted) Error() string
- func (o *SnapmirrorRelationshipDeleteAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorRelationshipDeleteAccepted) IsClientError() bool
- func (o *SnapmirrorRelationshipDeleteAccepted) IsCode(code int) bool
- func (o *SnapmirrorRelationshipDeleteAccepted) IsRedirect() bool
- func (o *SnapmirrorRelationshipDeleteAccepted) IsServerError() bool
- func (o *SnapmirrorRelationshipDeleteAccepted) IsSuccess() bool
- func (o *SnapmirrorRelationshipDeleteAccepted) String() string
- type SnapmirrorRelationshipDeleteDefault
- func (o *SnapmirrorRelationshipDeleteDefault) Code() int
- func (o *SnapmirrorRelationshipDeleteDefault) Error() string
- func (o *SnapmirrorRelationshipDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipDeleteDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipDeleteDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipDeleteDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipDeleteDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipDeleteDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipDeleteDefault) String() string
- type SnapmirrorRelationshipDeleteOK
- func (o *SnapmirrorRelationshipDeleteOK) Code() int
- func (o *SnapmirrorRelationshipDeleteOK) Error() string
- func (o *SnapmirrorRelationshipDeleteOK) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorRelationshipDeleteOK) IsClientError() bool
- func (o *SnapmirrorRelationshipDeleteOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipDeleteOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipDeleteOK) IsServerError() bool
- func (o *SnapmirrorRelationshipDeleteOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipDeleteOK) String() string
- type SnapmirrorRelationshipDeleteParams
- func NewSnapmirrorRelationshipDeleteParams() *SnapmirrorRelationshipDeleteParams
- func NewSnapmirrorRelationshipDeleteParamsWithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams
- func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams
- func NewSnapmirrorRelationshipDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipDeleteParams) SetDefaults()
- func (o *SnapmirrorRelationshipDeleteParams) SetDeleteLunMapsInDestination(deleteLunMapsInDestination *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetDestinationOnly(destinationOnly *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipDeleteParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorRelationshipDeleteParams) SetSourceInfoOnly(sourceInfoOnly *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetSourceOnly(sourceOnly *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipDeleteParams) SetUUID(uuid string)
- func (o *SnapmirrorRelationshipDeleteParams) WithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithDefaults() *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithDeleteLunMapsInDestination(deleteLunMapsInDestination *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithDestinationOnly(destinationOnly *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithSourceInfoOnly(sourceInfoOnly *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithSourceOnly(sourceOnly *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithUUID(uuid string) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipDeleteReader
- type SnapmirrorRelationshipGetDefault
- func (o *SnapmirrorRelationshipGetDefault) Code() int
- func (o *SnapmirrorRelationshipGetDefault) Error() string
- func (o *SnapmirrorRelationshipGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipGetDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipGetDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipGetDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipGetDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipGetDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipGetDefault) String() string
- type SnapmirrorRelationshipGetOK
- func (o *SnapmirrorRelationshipGetOK) Code() int
- func (o *SnapmirrorRelationshipGetOK) Error() string
- func (o *SnapmirrorRelationshipGetOK) GetPayload() *models.SnapmirrorRelationship
- func (o *SnapmirrorRelationshipGetOK) IsClientError() bool
- func (o *SnapmirrorRelationshipGetOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipGetOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipGetOK) IsServerError() bool
- func (o *SnapmirrorRelationshipGetOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipGetOK) String() string
- type SnapmirrorRelationshipGetParams
- func NewSnapmirrorRelationshipGetParams() *SnapmirrorRelationshipGetParams
- func NewSnapmirrorRelationshipGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipGetParams
- func NewSnapmirrorRelationshipGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams
- func NewSnapmirrorRelationshipGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipGetParams) SetDefaults()
- func (o *SnapmirrorRelationshipGetParams) SetFields(fields []string)
- func (o *SnapmirrorRelationshipGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipGetParams) SetListDestinationsOnly(listDestinationsOnly *bool)
- func (o *SnapmirrorRelationshipGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipGetParams) SetUUID(uuid string)
- func (o *SnapmirrorRelationshipGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithDefaults() *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithFields(fields []string) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithListDestinationsOnly(listDestinationsOnly *bool) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithUUID(uuid string) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipGetReader
- type SnapmirrorRelationshipModifyAccepted
- func (o *SnapmirrorRelationshipModifyAccepted) Code() int
- func (o *SnapmirrorRelationshipModifyAccepted) Error() string
- func (o *SnapmirrorRelationshipModifyAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorRelationshipModifyAccepted) IsClientError() bool
- func (o *SnapmirrorRelationshipModifyAccepted) IsCode(code int) bool
- func (o *SnapmirrorRelationshipModifyAccepted) IsRedirect() bool
- func (o *SnapmirrorRelationshipModifyAccepted) IsServerError() bool
- func (o *SnapmirrorRelationshipModifyAccepted) IsSuccess() bool
- func (o *SnapmirrorRelationshipModifyAccepted) String() string
- type SnapmirrorRelationshipModifyDefault
- func (o *SnapmirrorRelationshipModifyDefault) Code() int
- func (o *SnapmirrorRelationshipModifyDefault) Error() string
- func (o *SnapmirrorRelationshipModifyDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipModifyDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipModifyDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipModifyDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipModifyDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipModifyDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipModifyDefault) String() string
- type SnapmirrorRelationshipModifyOK
- func (o *SnapmirrorRelationshipModifyOK) Code() int
- func (o *SnapmirrorRelationshipModifyOK) Error() string
- func (o *SnapmirrorRelationshipModifyOK) GetPayload() *models.JobLinkResponse
- func (o *SnapmirrorRelationshipModifyOK) IsClientError() bool
- func (o *SnapmirrorRelationshipModifyOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipModifyOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipModifyOK) IsServerError() bool
- func (o *SnapmirrorRelationshipModifyOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipModifyOK) String() string
- type SnapmirrorRelationshipModifyParams
- func NewSnapmirrorRelationshipModifyParams() *SnapmirrorRelationshipModifyParams
- func NewSnapmirrorRelationshipModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams
- func NewSnapmirrorRelationshipModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams
- func NewSnapmirrorRelationshipModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipModifyParams) SetDefaults()
- func (o *SnapmirrorRelationshipModifyParams) SetFailback(failback *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetFailover(failover *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetForce(force *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetForceFailover(forceFailover *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipModifyParams) SetInfo(info *models.SnapmirrorRelationship)
- func (o *SnapmirrorRelationshipModifyParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorRelationshipModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipModifyParams) SetUUID(uuid string)
- func (o *SnapmirrorRelationshipModifyParams) SetValidateOnly(validateOnly *bool)
- func (o *SnapmirrorRelationshipModifyParams) WithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithDefaults() *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithFailback(failback *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithFailover(failover *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithForce(force *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithForceFailover(forceFailover *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithInfo(info *models.SnapmirrorRelationship) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithUUID(uuid string) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithValidateOnly(validateOnly *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipModifyReader
- type SnapmirrorRelationshipTransferCreateCreated
- func (o *SnapmirrorRelationshipTransferCreateCreated) Code() int
- func (o *SnapmirrorRelationshipTransferCreateCreated) Error() string
- func (o *SnapmirrorRelationshipTransferCreateCreated) IsClientError() bool
- func (o *SnapmirrorRelationshipTransferCreateCreated) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransferCreateCreated) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransferCreateCreated) IsServerError() bool
- func (o *SnapmirrorRelationshipTransferCreateCreated) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransferCreateCreated) String() string
- type SnapmirrorRelationshipTransferCreateDefault
- func (o *SnapmirrorRelationshipTransferCreateDefault) Code() int
- func (o *SnapmirrorRelationshipTransferCreateDefault) Error() string
- func (o *SnapmirrorRelationshipTransferCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipTransferCreateDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipTransferCreateDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransferCreateDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransferCreateDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipTransferCreateDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransferCreateDefault) String() string
- type SnapmirrorRelationshipTransferCreateParams
- func NewSnapmirrorRelationshipTransferCreateParams() *SnapmirrorRelationshipTransferCreateParams
- func NewSnapmirrorRelationshipTransferCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferCreateParams
- func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferCreateParams
- func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetDefaults()
- func (o *SnapmirrorRelationshipTransferCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetInfo(info *models.SnapmirrorTransfer)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetRelationshipUUID(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnRecords(returnRecords *bool)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransferCreateParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithDefaults() *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithInfo(info *models.SnapmirrorTransfer) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipTransferCreateReader
- type SnapmirrorRelationshipTransferGetDefault
- func (o *SnapmirrorRelationshipTransferGetDefault) Code() int
- func (o *SnapmirrorRelationshipTransferGetDefault) Error() string
- func (o *SnapmirrorRelationshipTransferGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipTransferGetDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipTransferGetDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransferGetDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransferGetDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipTransferGetDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransferGetDefault) String() string
- type SnapmirrorRelationshipTransferGetOK
- func (o *SnapmirrorRelationshipTransferGetOK) Code() int
- func (o *SnapmirrorRelationshipTransferGetOK) Error() string
- func (o *SnapmirrorRelationshipTransferGetOK) GetPayload() *models.SnapmirrorTransfer
- func (o *SnapmirrorRelationshipTransferGetOK) IsClientError() bool
- func (o *SnapmirrorRelationshipTransferGetOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransferGetOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransferGetOK) IsServerError() bool
- func (o *SnapmirrorRelationshipTransferGetOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransferGetOK) String() string
- type SnapmirrorRelationshipTransferGetParams
- func NewSnapmirrorRelationshipTransferGetParams() *SnapmirrorRelationshipTransferGetParams
- func NewSnapmirrorRelationshipTransferGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams
- func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams
- func NewSnapmirrorRelationshipTransferGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipTransferGetParams) SetDefaults()
- func (o *SnapmirrorRelationshipTransferGetParams) SetFields(fields []string)
- func (o *SnapmirrorRelationshipTransferGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipTransferGetParams) SetRelationshipUUID(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransferGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransferGetParams) SetUUID(uuid string)
- func (o *SnapmirrorRelationshipTransferGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithDefaults() *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithFields(fields []string) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithUUID(uuid string) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipTransferGetReader
- type SnapmirrorRelationshipTransferModifyDefault
- func (o *SnapmirrorRelationshipTransferModifyDefault) Code() int
- func (o *SnapmirrorRelationshipTransferModifyDefault) Error() string
- func (o *SnapmirrorRelationshipTransferModifyDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipTransferModifyDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipTransferModifyDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransferModifyDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransferModifyDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipTransferModifyDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransferModifyDefault) String() string
- type SnapmirrorRelationshipTransferModifyOK
- func (o *SnapmirrorRelationshipTransferModifyOK) Code() int
- func (o *SnapmirrorRelationshipTransferModifyOK) Error() string
- func (o *SnapmirrorRelationshipTransferModifyOK) IsClientError() bool
- func (o *SnapmirrorRelationshipTransferModifyOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransferModifyOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransferModifyOK) IsServerError() bool
- func (o *SnapmirrorRelationshipTransferModifyOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransferModifyOK) String() string
- type SnapmirrorRelationshipTransferModifyParams
- func NewSnapmirrorRelationshipTransferModifyParams() *SnapmirrorRelationshipTransferModifyParams
- func NewSnapmirrorRelationshipTransferModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferModifyParams
- func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferModifyParams
- func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetDefaults()
- func (o *SnapmirrorRelationshipTransferModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetInfo(info *models.SnapmirrorTransfer)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetRelationshipUUID(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetUUID(uuid string)
- func (o *SnapmirrorRelationshipTransferModifyParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithDefaults() *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithInfo(info *models.SnapmirrorTransfer) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithUUID(uuid string) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipTransferModifyReader
- type SnapmirrorRelationshipTransfersGetDefault
- func (o *SnapmirrorRelationshipTransfersGetDefault) Code() int
- func (o *SnapmirrorRelationshipTransfersGetDefault) Error() string
- func (o *SnapmirrorRelationshipTransfersGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipTransfersGetDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipTransfersGetDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransfersGetDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransfersGetDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipTransfersGetDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransfersGetDefault) String() string
- type SnapmirrorRelationshipTransfersGetOK
- func (o *SnapmirrorRelationshipTransfersGetOK) Code() int
- func (o *SnapmirrorRelationshipTransfersGetOK) Error() string
- func (o *SnapmirrorRelationshipTransfersGetOK) GetPayload() *models.SnapmirrorTransferResponse
- func (o *SnapmirrorRelationshipTransfersGetOK) IsClientError() bool
- func (o *SnapmirrorRelationshipTransfersGetOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipTransfersGetOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipTransfersGetOK) IsServerError() bool
- func (o *SnapmirrorRelationshipTransfersGetOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipTransfersGetOK) String() string
- type SnapmirrorRelationshipTransfersGetParams
- func NewSnapmirrorRelationshipTransfersGetParams() *SnapmirrorRelationshipTransfersGetParams
- func NewSnapmirrorRelationshipTransfersGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams
- func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams
- func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) SetBytesTransferred(bytesTransferred *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetCheckpointSize(checkpointSize *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetDefaults()
- func (o *SnapmirrorRelationshipTransfersGetParams) SetEndTime(endTime *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCode(errorInfoCode *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessage(errorInfoMessage *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetFields(fields []string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetLastUpdatedTime(lastUpdatedTime *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetMaxRecords(maxRecords *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetNetworkCompressionRatio(networkCompressionRatio *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetOnDemandAttrs(onDemandAttrs *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetOrderBy(orderBy []string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterName(relationshipDestinationClusterName *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterUUID(relationshipDestinationClusterUUID *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationConsistencyGroupVolumesName(relationshipDestinationConsistencyGroupVolumesName *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationPath(relationshipDestinationPath *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmName(relationshipDestinationSvmName *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmUUID(relationshipDestinationSvmUUID *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipRestore(relationshipRestore *bool)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipUUID(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnRecords(returnRecords *bool)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetSnapshot(snapshot *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetState(state *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetThrottle(throttle *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetTotalDuration(totalDuration *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetUUID(uuid *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) WithBytesTransferred(bytesTransferred *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithCheckpointSize(checkpointSize *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithDefaults() *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithEndTime(endTime *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCode(errorInfoCode *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessage(errorInfoMessage *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithFields(fields []string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithLastUpdatedTime(lastUpdatedTime *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithNetworkCompressionRatio(networkCompressionRatio *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithOnDemandAttrs(onDemandAttrs *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithOrderBy(orderBy []string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterName(relationshipDestinationClusterName *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterUUID(relationshipDestinationClusterUUID *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationConsistencyGroupVolumesName(relationshipDestinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationPath(relationshipDestinationPath *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmName(relationshipDestinationSvmName *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmUUID(relationshipDestinationSvmUUID *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipRestore(relationshipRestore *bool) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithSnapshot(snapshot *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithState(state *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithThrottle(throttle *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithTotalDuration(totalDuration *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithUUID(uuid *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipTransfersGetReader
- type SnapmirrorRelationshipsGetDefault
- func (o *SnapmirrorRelationshipsGetDefault) Code() int
- func (o *SnapmirrorRelationshipsGetDefault) Error() string
- func (o *SnapmirrorRelationshipsGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnapmirrorRelationshipsGetDefault) IsClientError() bool
- func (o *SnapmirrorRelationshipsGetDefault) IsCode(code int) bool
- func (o *SnapmirrorRelationshipsGetDefault) IsRedirect() bool
- func (o *SnapmirrorRelationshipsGetDefault) IsServerError() bool
- func (o *SnapmirrorRelationshipsGetDefault) IsSuccess() bool
- func (o *SnapmirrorRelationshipsGetDefault) String() string
- type SnapmirrorRelationshipsGetOK
- func (o *SnapmirrorRelationshipsGetOK) Code() int
- func (o *SnapmirrorRelationshipsGetOK) Error() string
- func (o *SnapmirrorRelationshipsGetOK) GetPayload() *models.SnapmirrorRelationshipResponse
- func (o *SnapmirrorRelationshipsGetOK) IsClientError() bool
- func (o *SnapmirrorRelationshipsGetOK) IsCode(code int) bool
- func (o *SnapmirrorRelationshipsGetOK) IsRedirect() bool
- func (o *SnapmirrorRelationshipsGetOK) IsServerError() bool
- func (o *SnapmirrorRelationshipsGetOK) IsSuccess() bool
- func (o *SnapmirrorRelationshipsGetOK) String() string
- type SnapmirrorRelationshipsGetParams
- func NewSnapmirrorRelationshipsGetParams() *SnapmirrorRelationshipsGetParams
- func NewSnapmirrorRelationshipsGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams
- func NewSnapmirrorRelationshipsGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams
- func NewSnapmirrorRelationshipsGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) SetBackoffLevel(backoffLevel *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCode(consistencyGroupFailoverErrorArgumentsCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessage(consistencyGroupFailoverErrorArgumentsMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCode(consistencyGroupFailoverErrorCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessage(consistencyGroupFailoverErrorMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverState(consistencyGroupFailoverState *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCode(consistencyGroupFailoverStatusCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessage(consistencyGroupFailoverStatusMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverType(consistencyGroupFailoverType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipsGetParams) SetDefaults()
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterName(destinationClusterName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterUUID(destinationClusterUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesName(destinationConsistencyGroupVolumesName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationPath(destinationPath *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationSvmName(destinationSvmName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationSvmUUID(destinationSvmUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetExportedSnapshot(exportedSnapshot *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFields(fields []string)
- func (o *SnapmirrorRelationshipsGetParams) SetGroupType(groupType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipsGetParams) SetHealthy(healthy *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetIdentityPreservation(identityPreservation *string)
- func (o *SnapmirrorRelationshipsGetParams) SetIoServingCopy(ioServingCopy *string)
- func (o *SnapmirrorRelationshipsGetParams) SetLagTime(lagTime *string)
- func (o *SnapmirrorRelationshipsGetParams) SetLastTransferNetworkCompressionRatio(lastTransferNetworkCompressionRatio *string)
- func (o *SnapmirrorRelationshipsGetParams) SetLastTransferType(lastTransferType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetListDestinationsOnly(listDestinationsOnly *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetMasterBiasActivatedSite(masterBiasActivatedSite *string)
- func (o *SnapmirrorRelationshipsGetParams) SetMaxRecords(maxRecords *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetOrderBy(orderBy []string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyName(policyName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyType(policyType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyUUID(policyUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetPreferredSite(preferredSite *string)
- func (o *SnapmirrorRelationshipsGetParams) SetRestore(restore *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetReturnRecords(returnRecords *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetReturnTimeout(returnTimeout *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterName(sourceClusterName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterUUID(sourceClusterUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesName(sourceConsistencyGroupVolumesName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourcePath(sourcePath *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceSvmName(sourceSvmName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceSvmUUID(sourceSvmUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetState(state *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSvmdrVolumesName(svmdrVolumesName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetThrottle(throttle *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipsGetParams) SetTotalTransferBytes(totalTransferBytes *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetTotalTransferDuration(totalTransferDuration *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferBytesTransferred(transferBytesTransferred *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferEndTime(transferEndTime *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferLastUpdatedTime(transferLastUpdatedTime *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleName(transferScheduleName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleUUID(transferScheduleUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferState(transferState *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferTotalDuration(transferTotalDuration *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferType(transferType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferUUID(transferUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUUID(uuid *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonArguments(unhealthyReasonArguments *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCode(unhealthyReasonCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessage(unhealthyReasonMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) WithBackoffLevel(backoffLevel *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCode(consistencyGroupFailoverErrorArgumentsCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessage(consistencyGroupFailoverErrorArgumentsMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCode(consistencyGroupFailoverErrorCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessage(consistencyGroupFailoverErrorMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverState(consistencyGroupFailoverState *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCode(consistencyGroupFailoverStatusCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessage(consistencyGroupFailoverStatusMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverType(consistencyGroupFailoverType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDefaults() *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterName(destinationClusterName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterUUID(destinationClusterUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesName(destinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationPath(destinationPath *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationSvmName(destinationSvmName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationSvmUUID(destinationSvmUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithExportedSnapshot(exportedSnapshot *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFields(fields []string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithGroupType(groupType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithHealthy(healthy *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithIdentityPreservation(identityPreservation *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithIoServingCopy(ioServingCopy *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithLagTime(lagTime *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithLastTransferNetworkCompressionRatio(lastTransferNetworkCompressionRatio *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithLastTransferType(lastTransferType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithListDestinationsOnly(listDestinationsOnly *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithMasterBiasActivatedSite(masterBiasActivatedSite *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithOrderBy(orderBy []string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyName(policyName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyType(policyType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyUUID(policyUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPreferredSite(preferredSite *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithRestore(restore *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterName(sourceClusterName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterUUID(sourceClusterUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesName(sourceConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourcePath(sourcePath *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceSvmName(sourceSvmName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceSvmUUID(sourceSvmUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithState(state *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSvmdrVolumesName(svmdrVolumesName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithThrottle(throttle *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTotalTransferBytes(totalTransferBytes *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTotalTransferDuration(totalTransferDuration *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferBytesTransferred(transferBytesTransferred *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferEndTime(transferEndTime *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferLastUpdatedTime(transferLastUpdatedTime *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleName(transferScheduleName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleUUID(transferScheduleUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferState(transferState *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferTotalDuration(transferTotalDuration *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferType(transferType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferUUID(transferUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUUID(uuid *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonArguments(unhealthyReasonArguments *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCode(unhealthyReasonCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessage(unhealthyReasonMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipsGetReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationHalJSON ¶
func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)
WithAcceptApplicationHalJSON sets the Accept header to "application/hal+json".
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithContentTypeApplicationHalJSON ¶
func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)
WithContentTypeApplicationHalJSON sets the Content-Type header to "application/hal+json".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for snap mirror API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SnapmirrorPoliciesGet ¶
func (a *Client) SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error)
SnapmirrorPoliciesGet Retrieves SnapMirror policies of type "async" and "sync".
### Related ONTAP commands * `snapmirror policy show` ### Example The following example shows how to retrieve a collection of SnapMirror policies. <br/> ``` GET "/api/snapmirror/policies" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorPolicyCreate ¶
func (a *Client) SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyCreateCreated, *SnapmirrorPolicyCreateAccepted, error)
SnapmirrorPolicyCreate Creates a SnapMirror policy. The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM.</br>
It takes the following values: - `full` - indicates that the source SVM configuration is replicated to the destination SVM endpoint. - `exclude_network_config` - indicates that the source SVM configuration other than network configuration is replicated to the destination SVM endpoint. - `exclude_network_and_protocol_config` - indicates that the source SVM configuration is not replicated to the destination SVM endpoint.<br/> ### Important notes - The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM. - The properties "identity_preservation" and "transfer_schedule" are not applicable for "sync" type policies. - The properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" are mutually exclusive. - The properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" are not applicable for "sync" type policies. - No "retention" properties can be specified if "copy_all_source_snapshots" or 'copy_latest_source_snapshot' is specified. - The properties "retention.creation_schedule" and "retention.prefix" are not applicable for "sync" type policies. - The property "retention.creation_schedule" is not applicable for "async" policies with "create_snapshot_on_source" set to "false". - The property "sync_common_snapshot_schedule" is not applicable for an "async" type policy. - The property "retention.count" specifies the maximum number of Snapshot copies that are retained on the SnapMirror destination volume. - When the property "retention.label" is specified, the Snapshot copies that have a SnapMirror label matching this property is transferred to the SnapMirror destination. - When the property "retention.creation_schedule" is specified, Snapshot copies are directly created on the SnapMirror destination. The Snapshot copies created have the same content as the latest Snapshot copy already present on the SnapMirror destination. - The property "transfer_schedule" cannot be set to null (no-quotes) during SnapMirror policy POST. - The properties "retention.label" and "retention.count" must be specified for "async" policies with "create_snapshot_on_source" set to "false". - The property "rentention.warn" is not supported for a policy when the "retention.preserve" property is false. - The property "retention.warn" value must be less than the property "retention.count" value for a rule in a policy.
### Required properties * `name` - Name of the new SnapMirror policy. ### Recommended optional properties * `svm.name` or `svm.uuid` - Name or UUID of the SVM that owns the SnapMirror policy. ### Default property values If not specified in POST, the following default property values are assigned: * `type` - _async_ * `sync_type` - _sync_ (when `type` is _sync_) * `network_compression_enabled` - _false_ * `throttle` - _0_ * `identity_preservation` - `_exclude_network_and_protocol_config_`
### Related ONTAP commands * `snapmirror policy create` ### Examples
Creating a SnapMirror policy of type "sync" <br/> ``` POST "/api/snapmirror/policies/" '{"name": "policy1", "svm.name": "VS0", "type": "sync", "sync_type": "sync"}' ``` <br/> Creating a SnapMirror policy of type "async" with two sets of retention values, one with a creation_schedule <br/> ``` POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "2", "creation_schedule": {"name": "weekly"}}, {"label":"daily", "count":"7"}]}' ``` <br/> Creating a SnapMirror policy of type "async" ``` POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async"}' ``` <br/> Creating a SnapMirror policy of type "async" which replicates all Snapshot copies ``` POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async", "copy_all_source_snapshots": "true"}' ``` <br/> Creating a SnapMirror policy of type "async" which replicates latest Snapshot copy ``` POST "/api/snapmirror/policies" '{"name": "newPolicy2", "svm":{"name" : "vs1"}, "type": "async", "copy_latest_source_snapshot": "true"}' ``` <br/> Creating a SnapMirror policy of type "async" which does not create Snapshot copies on source ``` POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async", "create_snapshot_on_source": "false", "retention": [{"label": "daily", "count": 7}]}' ``` <br/> Creating a SnapMirror policy of type "sync" with sync_type as "automated_failover" <br/> ``` POST "/api/snapmirror/policies/" '{"name": "policy1", "svm.name": "VS0", "type": "sync", "sync_type": "automated_failover" }' ``` <br/> Creating a SnapMirror policy of type "sync" with sync_type as "automated_failover_duplex" <br/> ``` POST "/api/snapmirror/policies/" '{"name": "policy_afd", "svm.name": "VS0", "type": "sync", "sync_type": "automated_failover_duplex" }' ``` <br/> Creating a SnapMirror policy of type "async" with two sets of retention values and retention periods ``` POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "2", "period": "P7D"}, {"label":"daily", "count":"7", "period": "PT3H"}]}' ``` <br/> Creating a SnapMirror policy of type "async" with retention value as "infinite" ``` POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "5", "period": "infinite"}]}' ``` <br/> Creating a SnapMirror policy of type "async" with properties retention preserve as true and retention warn as 3. ``` POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "5", "preserve": true, "warn": 3}]}' ``` <br/>
### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorPolicyDelete ¶
func (a *Client) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyDeleteOK, *SnapmirrorPolicyDeleteAccepted, error)
SnapmirrorPolicyDelete Deletes a SnapMirror policy.
### Related ONTAP commands * `snapmirror policy delete` ### Example <br/> ``` DELETE "/api/snapmirror/policies/510c15d4-f9e6-11e8-bdb5-0050568e12c2" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorPolicyGet ¶
func (a *Client) SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyGetOK, error)
SnapmirrorPolicyGet Retrieves a specific SnapMirror policy.
### Example <br/> ``` GET "/api/snapmirror/policies/567aaac0-f863-11e8-a666-0050568e12c2" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorPolicyModify ¶
func (a *Client) SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyModifyOK, *SnapmirrorPolicyModifyAccepted, error)
SnapmirrorPolicyModify Updates the SnapMirror policy.
### Important notes * The properties "retention.label" and "retention.count" are mandatory if "retention" is provided in the input. The provided "retention.label" is the final list and it replaces the existing values. * The value of the "identity_preservation" property cannot be changed if the SnapMirror relationships associated with the policy have different identity_preservation configurations. * If the SnapMirror policy "identity_preservation" value matches the "identity_preservation" value of the associated SnapMirror relationships, then the "identity_preservation" value can be changed from a higher "identity_preservation" threshold value to a lower "identity_preservation" threshold value but not vice-versa. For example, the threshold value of the "identity_preservation" property can be changed from "full" to "exclude_network_config", but cannot be increased from "exclude_network_and_protocol_config" to "exclude_network_config" to "full". The threshold value of the "identity_preservation" cannot be changed to "exclude_network_and_protocol_config" for IDP SVMDR.<br/> * The policy properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" cannot be modified. * No "retention" properties can be modified if the "copy_all_source_snapshots" or "copy_latest_source_snapshot" property is present in the policy. * Replacing or deleting all retention rules of a policy that has the "create_snapshot_on_source" property set to false in a single API call is not supported. * Modifying the property "retention.label" for all retention rules of a policy that has the "create_snapshot_on_source" property set to false in a single API call is not supported. * To remove a transfer_schedule on a SnapMirror policy set the "transfer_schedule" to null (no-quotes) during SnapMirror policy PATCH.
### Related ONTAP commands * `snapmirror policy modify` ### Example
Updating the "retention" property to add rules to a policy without any rules. <br/> ``` PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "newlabel", "count": 2}, {"label": "weekly", "count": 2, "creation_schedule": {"name": "weekly"}}, {"label": "daily", "count": 14}]}' ``` <br/> Updating the "retention" property to add rules to a policy with existing rules {"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 5}] <br/> ``` PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 5}, {"label": "newlabel", "count": 3}, {"label": "weekly", "count": 1}]}' ``` <br/> Updating the "retention" property to remove a rule (oldLabel1) and add new rule to a policy with existing rules {"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 3}] <br/> ``` PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel2", "count": 3}, {"label": "newlabel", "count": 2}]}' ``` <br/> Updating "transfer_schedule", "throttle", and "identity_preservation" properties <br/> ``` PATCH "/api/snapmirror/policies/8aef950b-3bef-11e9-80ac-0050568ea591" '{"transfer_schedule.name" : "weekly", "throttle" : "100", "identity_preservation":"exclude_network_and_protocol_config"}' ``` <br/> Removing the SnapMirror transfer_schedule for a SnapMirror policy. Transfer_schedule can be specified as UUID or name or both with the value set to null (no-quotes). <br/> ``` PATCH "/api/snapmirror/policies/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":null, "name":null}}' ``` <br/> Updating the "retention" property to have rentention.preserve and retention.warn for existing rule. <br/> ``` PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel1", "count": 3, "preserve": true, "warn": 2}]}' ``` <br/>
### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorRelationshipCreate ¶
func (a *Client) SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipCreateCreated, *SnapmirrorRelationshipCreateAccepted, error)
SnapmirrorRelationshipCreate Creates a SnapMirror relationship. This API can optionally provision the destination endpoint when it does not exist. This API must be executed on the cluster containing the destination endpoint unless the destination endpoint is being provisioned. When the destination endpoint is being provisioned, this API can also be executed from the cluster containing the source endpoint. Provisioning of the destination endpoint from the source cluster is supported for the FlexVol volume, FlexGroup volume and Application Consistency Group endpoints.<br/>
For SVM endpoints, provisioning the destination SVM endpoint is not supported from the source cluster. When the destination endpoint exists, the source SVM and the destination SVM must be in an SVM peer relationship. When provisioning the destination endpoint, the SVM peer relationship between the source SVM and the destination SVM is established as part of the destination provision, provided that the source SVM has SVM peering permissions for the destination cluster.
### Required properties * `source.path` - Path to the source endpoint of the SnapMirror relationship. * `destination.path` - Path to the destination endpoint of the SnapMirror relationship. * `source.consistency_group_volumes` - List of FlexVol volumes of type "RW" that are constituents of an Application Consistency Group. * `destination.consistency_group_volumes` - List of FlexVol volumes of type "DP" that are constituents of an Application Consistency Group. ### Recommended optional properties * `policy.name` or `policy.uuid` - Policy governing the SnapMirror relationship. * `state` - Set the state to "snapmirrored" to automatically initialize the relationship. * `create_destination.enabled` - Enable this property to provision the destination endpoint.
### Default property values If not specified in POST, the following default property values are assigned: * `policy.name` - _Asynchronous_ * `restore` - _false_ * `create_destination.tiering.policy` - `_snapshot_only_` (when `create_destination.tiering.supported` is _true_ for FlexVol volume) * `create_destination.tiering.policy` - `_none_` (when `create_destination.tiering.supported` is _true_ for FlexGroup volume) * `create_destination.storage_service.enforce_performance` - `_false_`
* `destination.ipspace` - `_Default_` * `throttle` - _0_ * `backoff_level` - `_high_` ### Related ONTAP commands * `snapmirror create` * `snapmirror protect` ### Important notes * The property "transfer_schedule" if set on a SnapMirror relationship overrides the "transfer_schedule" set on the policy being used with the SnapMirror relationship. * The property "throttle" if set on a SnapMirror relationship overrides the "throttle" set on the policy being used with the SnapMirror relationship. * The properties "transfer_schedule" and "throttle" are not supported when "restore" is set to "true". * The property "transfer_schedule" cannot be set to null (no-quotes) during SnapMirror relationship POST. * The property "throttle" is not supported when "create_destination.enabled" is set to "true". * The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM. * The property "backoff_level" is not supported when "create_destination.enabled" is set to "true". * The property "backoff_level" is only applicable for FlexVol SnapMirror relationships. ### Examples The following examples show how to create FlexVol volumes, FlexGroup volumes, SVM and Application Consistency Group SnapMirror relationships. Note that the source SVM name must be the local name of the peer SVM.</br>
Creating a FlexVol SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}}' ``` <br/> Creating a FlexGroup SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:source_flexgrp"}, "destination": { "path": "dst_svm:dest_flexgrp"}}' ``` <br/> Creating a SVM SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:"}, "destination": { "path": "dst_svm:"}}' ``` <br/> Creating a SnapMirror relationship in order to restore from a destination. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "restore": "true"}' ``` <br/> Provision the destination FlexVol volume endpoint and create a SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true" }}' ``` Provision the destination FlexVol volume endpoint on a Fabricpool with a tiering policy and create a SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true", "tiering": { "supported": "true", "policy": "auto" } } }' ``` Provision the destination FlexVol volume endpoint using storage service and create a SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } } }' ``` Provision the destination SVM endpoint and create a SnapMirror relationship of type XDP. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:", "cluster": { "name": "cluster_src" }}, "destination": { "path": "dst_svm:"}, "create_destination": { "enabled: "true" }}' ``` Create an asynchronous SnapMirror relationship with Application Consistency Group endpoint. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "policy": "Asynchronous" }' ``` Provision the destination Application Consistency Group endpoint on a Fabricpool with a tiering policy, create an asynchronous SnapMirror relationship with a SnapMirror policy of type "async", and initialize the SnapMirror relationship with state as "snapmirrored". <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "tiering": { "supported": "true" } }, "policy": "Asynchronous", "state": "snapmirrored" }' ``` Create a SnapMirror active sync relationship with the Application Consistency Group endpoint. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "policy": "AutomatedFailOver" }' ``` Provision the destination Application Consistency Group endpoint on a Fabricpool with a tiering policy, create a SnapMirror active sync relationship with a SnapMirror policy of type "sync" and sync_type of "automated_failover", and initialize the SnapMirror relationship with state as "in_sync". <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "tiering": { "supported": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }' ``` Provision the destination Application Consistency Group endpoint with storage service, create a SnapMirror active sync relationship with a SnapMirror policy of type "sync" and sync_type of "automated_failover", and initialize the SnapMirror relationship with state as "in_sync". <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }' ``` <br/>
Provision the destination Application Consistency Group endpoint with storage service, create an asynchronous application consistency group relationship with a SnapMirror policy of type "async" and an async_type of "XDPDefault", and initialize the SnapMirror relationship with state as "SnapMirrored".
<br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } }, "policy": "XDPDefault", "state": "snapmirrored" }' ``` <br/> Creating a FlexVol volume SnapMirror relationship of type XDP with transfer_schedule and throttle. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}, "throttle":100}' ``` <br/> Creating an asynchronous SnapMirror relationship with backoff_level set to medium. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "backoff_level": "medium"}' ``` <br/>
### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
func (*Client) SnapmirrorRelationshipDelete ¶
func (a *Client) SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipDeleteOK, *SnapmirrorRelationshipDeleteAccepted, error)
SnapmirrorRelationshipDelete Deletes a SnapMirror relationship.
### Important notes * The "destination_only", "source_only", and "source_info_only" flags are mutually exclusive. If no flag is specified, the relationship is deleted from both the source and destination and all common Snapshot copies between the source and destination are also deleted. * For a restore relationship, the call must be executed on the cluster containing the destination endpoint without specifying the destination_only, source_only, or source_info_only parameters. * Additionally, ensure that there are no ongoing transfers on a restore relationship before calling this API. * The "failover", "force-failover" and "failback" query parameters are only applicable for SVM-DR SnapMirror relationships. * When a SnapMirror relationship associated with a pair of source and destination Consistency Groups is deleted, the corresponding Consistency Groups on the source and destination clusters are not automatically deleted and remain in place. * The "delete_lun_maps_in_destination" query parameter is applicable only for SnapMirror active sync relationships. ### Related ONTAP commands * `snapmirror delete` * `snapmirror release` ### Examples The following examples show how to delete the relationship from both the source and destination, the destination only, and the source only. <br/>
Deleting the relationship from both the source and destination. This API must be run on the cluster containing the destination endpoint. <br/> ``` DELETE "/api/snapmirror/relationships/4512b2d2-fd60-11e8-8929-005056bbfe52" ``` <br/> Deleting the relationship on the destination only. This API must be run on the cluster containing the destination endpoint. <br/> ``` DELETE "/api/snapmirror/relationships/fd1e0697-02ba-11e9-acc7-005056a7697f/?destination_only=true" ``` <br/> Deleting the relationship on the source only. This API must be run on the cluster containing the source endpoint. <br/> ``` DELETE "/api/snapmirror/relationships/93e828ba-02bc-11e9-acc7-005056a7697f/?source_only=true" ``` <br/> Deleting the source information only. This API must be run on the cluster containing the source endpoint. This does not delete the common Snapshot copies between the source and destination. <br/> ``` DELETE "/api/snapmirror/relationships/caf545a2-fc60-11e8-aa13-005056a707ff/?source_info_only=true" ``` <br/> Deleting the relationship from source and destination cluster along with deleting the LUN maps for the volumes of the CG in destination cluster. This API must be run on the cluster containing the destination endpoint. <br/> ``` DELETE "/api/snapmirror/relationships/feda8f5e-e29e-11ed-94aa-005056a78ce2/?delete_lun_maps_in_destination=true" ``` <br/>
### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
func (*Client) SnapmirrorRelationshipGet ¶
func (a *Client) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error)
SnapmirrorRelationshipGet Retrieves a SnapMirror relationship.
### Related ONTAP commands * `snapmirror show` * `snapmirror list-destinations` ### Expensive properties
* `source.consistency_group_volumes.name` * `destination.consistency_group_volumes.name` ### Example <br/> ``` GET "/api/snapmirror/relationships/caf545a2-fc60-11e8-aa13-005056a707ff/" ``` <br/> ### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
func (*Client) SnapmirrorRelationshipModify ¶
func (a *Client) SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipModifyOK, *SnapmirrorRelationshipModifyAccepted, error)
SnapmirrorRelationshipModify Updates a SnapMirror relationship. This API is used to initiate SnapMirror operations such as "initialize", "resync", "break", "quiesce", and "resume" by specifying the appropriate value for the "state" field. It is also used to modify the SnapMirror policy associated with the specified relationship. Additionally, a SnapMirror relationship can be failed over to the destination endpoint or a failed over SnapMirror relationship can be failed back to the original state or a SnapMirror relationship direction can be reversed using this API. This API can also be used to expand the SnapMirror active sync relationship with the specified source and destination volumes.
<br>To initialize the relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To break the relationship or to failover to the destination endpoint and start serving data from the destination endpoint, PATCH the state to "broken_off" for relationships with a policy of type "async" or "sync". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" cannot be "broken_off". <br>To resync the broken relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To failback the failed over relationship and start serving data from the source endpoint, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync" and set the query flag "failback" as "true". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" can be in "broken_off" state due to a failed attempt of automated SnapMirror failover operation. <br>To pause the relationship, suspending further transfers, PATCH the state to "paused" for relationships with a policy of type "async" or "sync". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" cannot be "paused". <br>To resume transfers for a paused relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To reverse the direction of the relationship, PATCH the "source.path" with the destination endpoint and the "destination.path" with the source endpoint and the relationship state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". For relationships with a policy of type "async" and relationship state as "snapmirrored", stop IO on the source endpoint and perform a SnapMirror transfer POST operation before reversing the direction of the relationship to prevent any loss of data. <br>The values "in_sync", "out_of_sync", and "synchronizing" are only applicable to relationships with a policy of type "sync". <br>When "transfer_schedule" is specified along with "state" during PATCH, first the schedule is modified on the relationship and then the respective SnapMirror operation is initiated. The "transfer_schedule" specified is used to update asynchronous relationships. <br>When "throttle" is specified along with "state" during PATCH, first the throttle is modified on the relationship, which will be used by any upcoming transfers and then the respective SnapMirror operation is initiated. If the SnapMirror operation initiated a transfer then it will also use the new throttle. If "throttle" needs to be applied for a specific transfer use SnapMirror Transfer REST API. <br>For SnapMirror active sync relationships, when "consistency_group_volumes" is specified during PATCH, first the existing FlexVol volume relationship is deleted and released and then the volumes are added to the SnapMirror active sync relationship.
### Examples ### Related ONTAP commands * `snapmirror modify` * `snapmirror initialize` * `snapmirror resync` * `snapmirror break` * `snapmirror quiesce` * `snapmirror resume` ### Important notes * The property "transfer_schedule" if set on a SnapMirror relationship overrides the "transfer_schedule" set on the policy being used with the SnapMirror relationship. * The property "throttle" if set on a SnapMirror relationship overrides the "throttle" set on the policy being used with the SnapMirror relationship. * The properties "transfer_schedule" and "throttle" are not supported when "failback" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when "failover" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when "force_failover" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when the direction of the relationship is being reversed. * To remove a transfer_schedule on a SnapMirror relationship set the "transfer_schedule" to null (no-quotes) during SnapMirror relationship PATCH. * The property "identity_preservation" value can be changed from a higher "identity_preservation" threshold value to a lower "identity_preservation" threshold value but not vice-versa. For example, the threshold value of the "identity_preservation" property can be changed from "full" to "exclude_network_config", but cannot be increased from "exclude_network_and_protocol_config" to "exclude_network_config" to "full". The threshold value of the "identity_preservation" cannot be changed to "exclude_network_and_protocol_config" for IDP SVMDR.
* The property "backoff_level" is only applicable for FlexVol SnapMirror relationships. ### Examples The following examples show how to perform the SnapMirror "resync", "initialize", "resume", "quiesce", and "break" operations. In addition, a relationship can be failed over to the destination endpoint and start serving data from the destination endpoint. A failed over relationship can be failed back to the source endpoint and serve data from the source endpoint. Also a relationship can be reversed by making the source endpoint as the new destination endpoint and the destination endpoint as the new source endpoint. <br/>
To update an associated SnapMirror policy. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"policy": { "name" : "MirrorAndVaultDiscardNetwork"}}' ``` <br/> To perform SnapMirror "resync" for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}' ``` <br/> To perform SnapMirror "initialize" for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}' ``` <br/> To perform SnapMirror "resume" for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}' ``` <br/> To perform SnapMirror "quiesce" for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff" '{"state":"paused"}' ``` <br/> To perform SnapMirror "break" for an asynchronous SnapMirror relationship. This operation does a failover to the destination endpoint. After a the failover, data can then be served from the destination endpoint. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff" '{"state":"broken_off"}' ``` <br/> To forcefully failover to the destination endpoint and start serving data from the destination endpoint. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?force=true" '{"state":"broken_off"}' ``` <br/> To failback to the source endpoint and start serving data from the source endpoint for an asynchronous relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?failback=true" '{"state":"snapmirrored"}' ``` <br/> To failback to the source endpoint and start serving data from the source endpoint for a synchronous relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?failback=true" '{"state":"in_sync"}' ``` <br/> To reverse the direction of an asynchronous relationship, that is, make the source endpoint as the new destination endpoint and make the destination endpoint as the new source endpoint. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"source": {"path": "dst_svm:dst_vol"}, "destination": {"path": "src_svm:src_vol"}, "state": "snapmirrored"}' ``` <br/> To reverse the direction of a synchronous relationship, that is, make the source endpoint as the new destination endpoint and make the destination endpoint as the new source endpoint. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"source": {"path": "dst_svm:dst_vol"}, "destination": {"path": "src_svm:src_vol"}, "state": "in_sync"}' ``` <br/> Updating SnapMirror transfer_schedule and throttle for an asynchronous SnapMirror relationship. Transfer_schedule can be specified as UUID or name or both. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}, "throttle":100}' ``` <br/> Removing the SnapMirror transfer_schedule for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":null, "name":null}}' ``` <br/> Removing the SnapMirror throttle for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"throttle":0}' ``` <br/> To perform SnapMirror "resync" and update the SnapMirror transfer_schedule for an asynchronous SnapMirror relationship. First the transfer_schedule is modified and then the resync transfer is initiated. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}}' ``` <br/> To perform SnapMirror "initialize" and update the SnapMirror throttle for an asynchronous SnapMirror relationship. First the throttle is modified and then the initialize transfer is initiated. The initialize transfer will use this new throttle. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "throttle":100}' ``` <br/> To perform SnapMirror "resync" and update the SnapMirror throttle for an asynchronous SnapMirror relationship. First the throttle is modified and then the resync transfer is initiated. The resync transfer will use this new throttle. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "throttle":100}' ``` <br/> To perform a SnapMirror active sync or Asynchronous Consistency Group expansion. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{ "source" : {"consistency_group_volumes":[{"name":"vol"}]}, "destination" : {"consistency_group_volumes":[{"name":"voldp"}]} }' ``` <br/> Updating SnapMirror backoff_level for an asynchronous SnapMirror relationship. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"backoff_level": "none"}' ``` <br/> To perform SnapMirror "initialize" and update the SnapMirror backoff_level for an asynchronous SnapMirror relationship. First the backoff_level is modified and then the initialize transfer is initiated. The initialize transfer will use this new backoff_level. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "backoff_level": "medium"}' ``` <br/> To perform SnapMirror "resync" and update the SnapMirror backoff_level for an asynchronous SnapMirror relationship. First the backoff_level is modified and then the resync transfer is initiated. The resync transfer will use this new backoff_level. <br/> ``` PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "backoff_level": "medium"}'
### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
func (*Client) SnapmirrorRelationshipTransferCreate ¶
func (a *Client) SnapmirrorRelationshipTransferCreate(params *SnapmirrorRelationshipTransferCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferCreateCreated, error)
SnapmirrorRelationshipTransferCreate Starts a SnapMirror transfer operation. This API initiates a restore operation if the SnapMirror relationship is of type "restore". Otherwise, it intiates a SnapMirror "initialize" operation or "update" operation based on the current SnapMirror state.
### Default property values * `storage_efficiency_enabled` - _true_ ### Related ONTAP commands * `snapmirror update` * `snapmirror initialize` * `snapmirror restore`
### Examples The following examples show how to perform SnapMirror "initialize", "update", and "restore" operations. <br/>
Perform SnapMirror initialize or update <br/> ``` POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{}' ``` <br/> Perform SnapMirror initialize, update or restore with throttle value set <br/> ``` POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{"throttle":"100"}' ``` <br/> Perform SnapMirror restore transfer of a file <br/> ``` POST "/api/snapmirror/relationships/c8c62a90-0fef-11e9-b09e-0050568e7067/transfers" '{"source_snapshot": "src", "files":[{"source_path": "/a1.txt.0", "destination_path": "/a1-renamed.txt.0"}]}' ``` <br/> Performing a SnapMirror initialize or update using a particular Snapshot copy. <br/> ``` POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{"source_snapshot":"snap1"}' ``` <br/>
### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)
func (*Client) SnapmirrorRelationshipTransferGet ¶
func (a *Client) SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferGetOK, error)
SnapmirrorRelationshipTransferGet Retrieves the attributes of a specific ongoing SnapMirror transfer.
### Related ONTAP commands * `snapmirror show` ### Example <br/> ``` GET "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers/293baa53-e63d-11e8-bff1-005056a793dd" ``` <br/> ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)
func (*Client) SnapmirrorRelationshipTransferModify ¶
func (a *Client) SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferModifyOK, error)
SnapmirrorRelationshipTransferModify Aborts an ongoing SnapMirror transfer. This operation is applicable on asynchronous SnapMirror relationships.
### Related ONTAP commands * `snapmirror abort` ### Example <br/> ``` PATCH "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers/293baa53-e63d-11e8-bff1-005056a793dd" '{"state":"aborted"}' ``` <br/> ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)
func (*Client) SnapmirrorRelationshipTransfersGet ¶
func (a *Client) SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransfersGetOK, error)
SnapmirrorRelationshipTransfersGet Retrieves the list of ongoing SnapMirror transfers for the specified relationship.
### Related ONTAP commands * `snapmirror show` ### Example <br/> ``` GET "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers" ``` ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers) <br/>
func (*Client) SnapmirrorRelationshipsGet ¶
func (a *Client) SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipsGetOK, error)
SnapmirrorRelationshipsGet Retrieves information for SnapMirror relationships whose destination endpoints are in the current SVM or the current cluster, depending on the cluster context.
### Related ONTAP commands * `snapmirror show` * `snapmirror list-destinations` ### Expensive properties
* `source.consistency_group_volumes.name` * `destination.consistency_group_volumes.name` * `svmdr_volumes.name` ### Examples The following examples show how to retrieve the list of SnapMirror relationships and the list of SnapMirror destinations.
Retrieving the list of SnapMirror relationships. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/" ``` <br/>
Retrieving the list of SnapMirror destinations on source. This must be run on the cluster containing the source endpoint. <br/> ``` GET "/api/snapmirror/relationships/?list_destinations_only=true" ``` <br/>
Retrieving the relationship UUID of SnapMirror relationships with lag time greater than 2 days. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/?fields=uuid&lag_time=>P2DT" ``` <br/>
Retrieving the list of SnapMirror relationships with lag time less than 10 hours. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/?lag_time=<PT10H" ``` <br/>
Retrieving the list of constituent volumes for SVM DR Snapmirror relationships. <br/> ``` GET "/api/snapmirror/relationships/?fields=svmdr_volumes.name" ``` <br/> </private>
### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface { SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error) SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyCreateCreated, *SnapmirrorPolicyCreateAccepted, error) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyDeleteOK, *SnapmirrorPolicyDeleteAccepted, error) SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyGetOK, error) SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyModifyOK, *SnapmirrorPolicyModifyAccepted, error) SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipCreateCreated, *SnapmirrorRelationshipCreateAccepted, error) SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipDeleteOK, *SnapmirrorRelationshipDeleteAccepted, error) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error) SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipModifyOK, *SnapmirrorRelationshipModifyAccepted, error) SnapmirrorRelationshipTransferCreate(params *SnapmirrorRelationshipTransferCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferCreateCreated, error) SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferGetOK, error) SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferModifyOK, error) SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransfersGetOK, error) SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipsGetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new snap mirror API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new snap mirror API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new snap mirror API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type SnapmirrorPoliciesGetDefault ¶
type SnapmirrorPoliciesGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorPoliciesGetDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303842 | SnapMirror policy is not supported.|
func NewSnapmirrorPoliciesGetDefault ¶
func NewSnapmirrorPoliciesGetDefault(code int) *SnapmirrorPoliciesGetDefault
NewSnapmirrorPoliciesGetDefault creates a SnapmirrorPoliciesGetDefault with default headers values
func (*SnapmirrorPoliciesGetDefault) Code ¶
func (o *SnapmirrorPoliciesGetDefault) Code() int
Code gets the status code for the snapmirror policies get default response
func (*SnapmirrorPoliciesGetDefault) Error ¶
func (o *SnapmirrorPoliciesGetDefault) Error() string
func (*SnapmirrorPoliciesGetDefault) GetPayload ¶
func (o *SnapmirrorPoliciesGetDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorPoliciesGetDefault) IsClientError ¶
func (o *SnapmirrorPoliciesGetDefault) IsClientError() bool
IsClientError returns true when this snapmirror policies get default response has a 4xx status code
func (*SnapmirrorPoliciesGetDefault) IsCode ¶
func (o *SnapmirrorPoliciesGetDefault) IsCode(code int) bool
IsCode returns true when this snapmirror policies get default response a status code equal to that given
func (*SnapmirrorPoliciesGetDefault) IsRedirect ¶
func (o *SnapmirrorPoliciesGetDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror policies get default response has a 3xx status code
func (*SnapmirrorPoliciesGetDefault) IsServerError ¶
func (o *SnapmirrorPoliciesGetDefault) IsServerError() bool
IsServerError returns true when this snapmirror policies get default response has a 5xx status code
func (*SnapmirrorPoliciesGetDefault) IsSuccess ¶
func (o *SnapmirrorPoliciesGetDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror policies get default response has a 2xx status code
func (*SnapmirrorPoliciesGetDefault) String ¶
func (o *SnapmirrorPoliciesGetDefault) String() string
type SnapmirrorPoliciesGetOK ¶
type SnapmirrorPoliciesGetOK struct {
Payload *models.SnapmirrorPolicyResponse
}
SnapmirrorPoliciesGetOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorPoliciesGetOK ¶
func NewSnapmirrorPoliciesGetOK() *SnapmirrorPoliciesGetOK
NewSnapmirrorPoliciesGetOK creates a SnapmirrorPoliciesGetOK with default headers values
func (*SnapmirrorPoliciesGetOK) Code ¶
func (o *SnapmirrorPoliciesGetOK) Code() int
Code gets the status code for the snapmirror policies get o k response
func (*SnapmirrorPoliciesGetOK) Error ¶
func (o *SnapmirrorPoliciesGetOK) Error() string
func (*SnapmirrorPoliciesGetOK) GetPayload ¶
func (o *SnapmirrorPoliciesGetOK) GetPayload() *models.SnapmirrorPolicyResponse
func (*SnapmirrorPoliciesGetOK) IsClientError ¶
func (o *SnapmirrorPoliciesGetOK) IsClientError() bool
IsClientError returns true when this snapmirror policies get o k response has a 4xx status code
func (*SnapmirrorPoliciesGetOK) IsCode ¶
func (o *SnapmirrorPoliciesGetOK) IsCode(code int) bool
IsCode returns true when this snapmirror policies get o k response a status code equal to that given
func (*SnapmirrorPoliciesGetOK) IsRedirect ¶
func (o *SnapmirrorPoliciesGetOK) IsRedirect() bool
IsRedirect returns true when this snapmirror policies get o k response has a 3xx status code
func (*SnapmirrorPoliciesGetOK) IsServerError ¶
func (o *SnapmirrorPoliciesGetOK) IsServerError() bool
IsServerError returns true when this snapmirror policies get o k response has a 5xx status code
func (*SnapmirrorPoliciesGetOK) IsSuccess ¶
func (o *SnapmirrorPoliciesGetOK) IsSuccess() bool
IsSuccess returns true when this snapmirror policies get o k response has a 2xx status code
func (*SnapmirrorPoliciesGetOK) String ¶
func (o *SnapmirrorPoliciesGetOK) String() string
type SnapmirrorPoliciesGetParams ¶
type SnapmirrorPoliciesGetParams struct { /* Comment. Filter by comment */ Comment *string /* CopyAllSourceSnapshots. Filter by copy_all_source_snapshots */ CopyAllSourceSnapshots *bool /* CopyLatestSourceSnapshot. Filter by copy_latest_source_snapshot */ CopyLatestSourceSnapshot *bool /* CreateSnapshotOnSource. Filter by create_snapshot_on_source */ CreateSnapshotOnSource *bool /* Fields. Specify the fields to return. */ Fields []string /* IdentityPreservation. Filter by identity_preservation */ IdentityPreservation *string /* MaxRecords. Limit the number of records returned. */ MaxRecords *int64 /* Name. Filter by name */ Name *string /* NetworkCompressionEnabled. Filter by network_compression_enabled */ NetworkCompressionEnabled *bool /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderBy []string /* RetentionCount. Filter by retention.count */ RetentionCount *int64 /* RetentionCreationScheduleName. Filter by retention.creation_schedule.name */ RetentionCreationScheduleName *string /* RetentionCreationScheduleUUID. Filter by retention.creation_schedule.uuid */ RetentionCreationScheduleUUID *string /* RetentionLabel. Filter by retention.label */ RetentionLabel *string /* RetentionPeriod. Filter by retention.period */ RetentionPeriod *string /* RetentionPrefix. Filter by retention.prefix */ RetentionPrefix *string /* RetentionPreserve. Filter by retention.preserve */ RetentionPreserve *bool /* RetentionWarn. Filter by retention.warn */ RetentionWarn *int64 /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecords *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached. Default: 15 */ ReturnTimeout *int64 /* Rpo. Filter by rpo */ Rpo *int64 /* Scope. Filter by scope */ Scope *string /* SvmName. Filter by svm.name */ SvmName *string /* SvmUUID. Filter by svm.uuid */ SvmUUID *string /* SyncCommonSnapshotScheduleName. Filter by sync_common_snapshot_schedule.name */ SyncCommonSnapshotScheduleName *string /* SyncCommonSnapshotScheduleUUID. Filter by sync_common_snapshot_schedule.uuid */ SyncCommonSnapshotScheduleUUID *string /* SyncType. Filter by sync_type */ SyncType *string /* Throttle. Filter by throttle */ Throttle *int64 /* TransferScheduleName. Filter by transfer_schedule.name */ TransferScheduleName *string /* TransferScheduleUUID. Filter by transfer_schedule.uuid */ TransferScheduleUUID *string /* Type. Filter by type */ Type *string /* UUID. Filter by uuid */ UUID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorPoliciesGetParams contains all the parameters to send to the API endpoint
for the snapmirror policies get operation. Typically these are written to a http.Request.
func NewSnapmirrorPoliciesGetParams ¶
func NewSnapmirrorPoliciesGetParams() *SnapmirrorPoliciesGetParams
NewSnapmirrorPoliciesGetParams creates a new SnapmirrorPoliciesGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorPoliciesGetParamsWithContext ¶
func NewSnapmirrorPoliciesGetParamsWithContext(ctx context.Context) *SnapmirrorPoliciesGetParams
NewSnapmirrorPoliciesGetParamsWithContext creates a new SnapmirrorPoliciesGetParams object with the ability to set a context for a request.
func NewSnapmirrorPoliciesGetParamsWithHTTPClient ¶
func NewSnapmirrorPoliciesGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams
NewSnapmirrorPoliciesGetParamsWithHTTPClient creates a new SnapmirrorPoliciesGetParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorPoliciesGetParamsWithTimeout ¶
func NewSnapmirrorPoliciesGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams
NewSnapmirrorPoliciesGetParamsWithTimeout creates a new SnapmirrorPoliciesGetParams object with the ability to set a timeout on a request.
func (*SnapmirrorPoliciesGetParams) SetComment ¶
func (o *SnapmirrorPoliciesGetParams) SetComment(comment *string)
SetComment adds the comment to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetContext ¶
func (o *SnapmirrorPoliciesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshots ¶
func (o *SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshots(copyAllSourceSnapshots *bool)
SetCopyAllSourceSnapshots adds the copyAllSourceSnapshots to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshot ¶
func (o *SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshot(copyLatestSourceSnapshot *bool)
SetCopyLatestSourceSnapshot adds the copyLatestSourceSnapshot to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSource ¶
func (o *SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSource(createSnapshotOnSource *bool)
SetCreateSnapshotOnSource adds the createSnapshotOnSource to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetDefaults ¶
func (o *SnapmirrorPoliciesGetParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror policies get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPoliciesGetParams) SetFields ¶
func (o *SnapmirrorPoliciesGetParams) SetFields(fields []string)
SetFields adds the fields to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetHTTPClient ¶
func (o *SnapmirrorPoliciesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetIdentityPreservation ¶
func (o *SnapmirrorPoliciesGetParams) SetIdentityPreservation(identityPreservation *string)
SetIdentityPreservation adds the identityPreservation to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetMaxRecords ¶
func (o *SnapmirrorPoliciesGetParams) SetMaxRecords(maxRecords *int64)
SetMaxRecords adds the maxRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetName ¶
func (o *SnapmirrorPoliciesGetParams) SetName(name *string)
SetName adds the name to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabled ¶
func (o *SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabled(networkCompressionEnabled *bool)
SetNetworkCompressionEnabled adds the networkCompressionEnabled to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetOrderBy ¶
func (o *SnapmirrorPoliciesGetParams) SetOrderBy(orderBy []string)
SetOrderBy adds the orderBy to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionCount ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionCount(retentionCount *int64)
SetRetentionCount adds the retentionCount to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleName ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleName(retentionCreationScheduleName *string)
SetRetentionCreationScheduleName adds the retentionCreationScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUID ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUID(retentionCreationScheduleUUID *string)
SetRetentionCreationScheduleUUID adds the retentionCreationScheduleUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionLabel ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionLabel(retentionLabel *string)
SetRetentionLabel adds the retentionLabel to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionPeriod ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionPeriod(retentionPeriod *string)
SetRetentionPeriod adds the retentionPeriod to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionPrefix ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionPrefix(retentionPrefix *string)
SetRetentionPrefix adds the retentionPrefix to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionPreserve ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionPreserve(retentionPreserve *bool)
SetRetentionPreserve adds the retentionPreserve to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionWarn ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionWarn(retentionWarn *int64)
SetRetentionWarn adds the retentionWarn to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetReturnRecords ¶
func (o *SnapmirrorPoliciesGetParams) SetReturnRecords(returnRecords *bool)
SetReturnRecords adds the returnRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetReturnTimeout ¶
func (o *SnapmirrorPoliciesGetParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRpo ¶
func (o *SnapmirrorPoliciesGetParams) SetRpo(rpo *int64)
SetRpo adds the rpo to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetScope ¶
func (o *SnapmirrorPoliciesGetParams) SetScope(scope *string)
SetScope adds the scope to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSvmName ¶
func (o *SnapmirrorPoliciesGetParams) SetSvmName(svmName *string)
SetSvmName adds the svmName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSvmUUID ¶
func (o *SnapmirrorPoliciesGetParams) SetSvmUUID(svmUUID *string)
SetSvmUUID adds the svmUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleName ¶
func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleName(syncCommonSnapshotScheduleName *string)
SetSyncCommonSnapshotScheduleName adds the syncCommonSnapshotScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUID ¶
func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUID(syncCommonSnapshotScheduleUUID *string)
SetSyncCommonSnapshotScheduleUUID adds the syncCommonSnapshotScheduleUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSyncType ¶
func (o *SnapmirrorPoliciesGetParams) SetSyncType(syncType *string)
SetSyncType adds the syncType to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetThrottle ¶
func (o *SnapmirrorPoliciesGetParams) SetThrottle(throttle *int64)
SetThrottle adds the throttle to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetTimeout ¶
func (o *SnapmirrorPoliciesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetTransferScheduleName ¶
func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleName(transferScheduleName *string)
SetTransferScheduleName adds the transferScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetTransferScheduleUUID ¶
func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleUUID(transferScheduleUUID *string)
SetTransferScheduleUUID adds the transferScheduleUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetType ¶
func (o *SnapmirrorPoliciesGetParams) SetType(typeVar *string)
SetType adds the type to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetUUID ¶
func (o *SnapmirrorPoliciesGetParams) SetUUID(uuid *string)
SetUUID adds the uuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithComment ¶
func (o *SnapmirrorPoliciesGetParams) WithComment(comment *string) *SnapmirrorPoliciesGetParams
WithComment adds the comment to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithContext ¶
func (o *SnapmirrorPoliciesGetParams) WithContext(ctx context.Context) *SnapmirrorPoliciesGetParams
WithContext adds the context to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshots ¶
func (o *SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshots(copyAllSourceSnapshots *bool) *SnapmirrorPoliciesGetParams
WithCopyAllSourceSnapshots adds the copyAllSourceSnapshots to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshot ¶
func (o *SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshot(copyLatestSourceSnapshot *bool) *SnapmirrorPoliciesGetParams
WithCopyLatestSourceSnapshot adds the copyLatestSourceSnapshot to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSource ¶
func (o *SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSource(createSnapshotOnSource *bool) *SnapmirrorPoliciesGetParams
WithCreateSnapshotOnSource adds the createSnapshotOnSource to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithDefaults ¶
func (o *SnapmirrorPoliciesGetParams) WithDefaults() *SnapmirrorPoliciesGetParams
WithDefaults hydrates default values in the snapmirror policies get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPoliciesGetParams) WithFields ¶
func (o *SnapmirrorPoliciesGetParams) WithFields(fields []string) *SnapmirrorPoliciesGetParams
WithFields adds the fields to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithHTTPClient ¶
func (o *SnapmirrorPoliciesGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams
WithHTTPClient adds the HTTPClient to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithIdentityPreservation ¶
func (o *SnapmirrorPoliciesGetParams) WithIdentityPreservation(identityPreservation *string) *SnapmirrorPoliciesGetParams
WithIdentityPreservation adds the identityPreservation to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithMaxRecords ¶
func (o *SnapmirrorPoliciesGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorPoliciesGetParams
WithMaxRecords adds the maxRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithName ¶
func (o *SnapmirrorPoliciesGetParams) WithName(name *string) *SnapmirrorPoliciesGetParams
WithName adds the name to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabled ¶
func (o *SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabled(networkCompressionEnabled *bool) *SnapmirrorPoliciesGetParams
WithNetworkCompressionEnabled adds the networkCompressionEnabled to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithOrderBy ¶
func (o *SnapmirrorPoliciesGetParams) WithOrderBy(orderBy []string) *SnapmirrorPoliciesGetParams
WithOrderBy adds the orderBy to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionCount ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionCount(retentionCount *int64) *SnapmirrorPoliciesGetParams
WithRetentionCount adds the retentionCount to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleName ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleName(retentionCreationScheduleName *string) *SnapmirrorPoliciesGetParams
WithRetentionCreationScheduleName adds the retentionCreationScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUID ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUID(retentionCreationScheduleUUID *string) *SnapmirrorPoliciesGetParams
WithRetentionCreationScheduleUUID adds the retentionCreationScheduleUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionLabel ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionLabel(retentionLabel *string) *SnapmirrorPoliciesGetParams
WithRetentionLabel adds the retentionLabel to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionPeriod ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionPeriod(retentionPeriod *string) *SnapmirrorPoliciesGetParams
WithRetentionPeriod adds the retentionPeriod to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionPrefix ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionPrefix(retentionPrefix *string) *SnapmirrorPoliciesGetParams
WithRetentionPrefix adds the retentionPrefix to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionPreserve ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionPreserve(retentionPreserve *bool) *SnapmirrorPoliciesGetParams
WithRetentionPreserve adds the retentionPreserve to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionWarn ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionWarn(retentionWarn *int64) *SnapmirrorPoliciesGetParams
WithRetentionWarn adds the retentionWarn to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithReturnRecords ¶
func (o *SnapmirrorPoliciesGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorPoliciesGetParams
WithReturnRecords adds the returnRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithReturnTimeout ¶
func (o *SnapmirrorPoliciesGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPoliciesGetParams
WithReturnTimeout adds the returnTimeout to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRpo ¶
func (o *SnapmirrorPoliciesGetParams) WithRpo(rpo *int64) *SnapmirrorPoliciesGetParams
WithRpo adds the rpo to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithScope ¶
func (o *SnapmirrorPoliciesGetParams) WithScope(scope *string) *SnapmirrorPoliciesGetParams
WithScope adds the scope to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSvmName ¶
func (o *SnapmirrorPoliciesGetParams) WithSvmName(svmName *string) *SnapmirrorPoliciesGetParams
WithSvmName adds the svmName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSvmUUID ¶
func (o *SnapmirrorPoliciesGetParams) WithSvmUUID(svmUUID *string) *SnapmirrorPoliciesGetParams
WithSvmUUID adds the svmUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleName ¶
func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleName(syncCommonSnapshotScheduleName *string) *SnapmirrorPoliciesGetParams
WithSyncCommonSnapshotScheduleName adds the syncCommonSnapshotScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUID ¶
func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUID(syncCommonSnapshotScheduleUUID *string) *SnapmirrorPoliciesGetParams
WithSyncCommonSnapshotScheduleUUID adds the syncCommonSnapshotScheduleUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSyncType ¶
func (o *SnapmirrorPoliciesGetParams) WithSyncType(syncType *string) *SnapmirrorPoliciesGetParams
WithSyncType adds the syncType to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithThrottle ¶
func (o *SnapmirrorPoliciesGetParams) WithThrottle(throttle *int64) *SnapmirrorPoliciesGetParams
WithThrottle adds the throttle to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithTimeout ¶
func (o *SnapmirrorPoliciesGetParams) WithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams
WithTimeout adds the timeout to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithTransferScheduleName ¶
func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleName(transferScheduleName *string) *SnapmirrorPoliciesGetParams
WithTransferScheduleName adds the transferScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithTransferScheduleUUID ¶
func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleUUID(transferScheduleUUID *string) *SnapmirrorPoliciesGetParams
WithTransferScheduleUUID adds the transferScheduleUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithType ¶
func (o *SnapmirrorPoliciesGetParams) WithType(typeVar *string) *SnapmirrorPoliciesGetParams
WithType adds the typeVar to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithUUID ¶
func (o *SnapmirrorPoliciesGetParams) WithUUID(uuid *string) *SnapmirrorPoliciesGetParams
WithUUID adds the uuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WriteToRequest ¶
func (o *SnapmirrorPoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorPoliciesGetReader ¶
type SnapmirrorPoliciesGetReader struct {
// contains filtered or unexported fields
}
SnapmirrorPoliciesGetReader is a Reader for the SnapmirrorPoliciesGet structure.
func (*SnapmirrorPoliciesGetReader) ReadResponse ¶
func (o *SnapmirrorPoliciesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorPolicyCreateAccepted ¶
type SnapmirrorPolicyCreateAccepted struct { /* Useful for tracking the resource location */ Location string Payload *models.JobLinkResponse }
SnapmirrorPolicyCreateAccepted describes a response with status code 202, with default header values.
Accepted
func NewSnapmirrorPolicyCreateAccepted ¶
func NewSnapmirrorPolicyCreateAccepted() *SnapmirrorPolicyCreateAccepted
NewSnapmirrorPolicyCreateAccepted creates a SnapmirrorPolicyCreateAccepted with default headers values
func (*SnapmirrorPolicyCreateAccepted) Code ¶
func (o *SnapmirrorPolicyCreateAccepted) Code() int
Code gets the status code for the snapmirror policy create accepted response
func (*SnapmirrorPolicyCreateAccepted) Error ¶
func (o *SnapmirrorPolicyCreateAccepted) Error() string
func (*SnapmirrorPolicyCreateAccepted) GetPayload ¶
func (o *SnapmirrorPolicyCreateAccepted) GetPayload() *models.JobLinkResponse
func (*SnapmirrorPolicyCreateAccepted) IsClientError ¶
func (o *SnapmirrorPolicyCreateAccepted) IsClientError() bool
IsClientError returns true when this snapmirror policy create accepted response has a 4xx status code
func (*SnapmirrorPolicyCreateAccepted) IsCode ¶
func (o *SnapmirrorPolicyCreateAccepted) IsCode(code int) bool
IsCode returns true when this snapmirror policy create accepted response a status code equal to that given
func (*SnapmirrorPolicyCreateAccepted) IsRedirect ¶
func (o *SnapmirrorPolicyCreateAccepted) IsRedirect() bool
IsRedirect returns true when this snapmirror policy create accepted response has a 3xx status code
func (*SnapmirrorPolicyCreateAccepted) IsServerError ¶
func (o *SnapmirrorPolicyCreateAccepted) IsServerError() bool
IsServerError returns true when this snapmirror policy create accepted response has a 5xx status code
func (*SnapmirrorPolicyCreateAccepted) IsSuccess ¶
func (o *SnapmirrorPolicyCreateAccepted) IsSuccess() bool
IsSuccess returns true when this snapmirror policy create accepted response has a 2xx status code
func (*SnapmirrorPolicyCreateAccepted) String ¶
func (o *SnapmirrorPolicyCreateAccepted) String() string
type SnapmirrorPolicyCreateCreated ¶
type SnapmirrorPolicyCreateCreated struct { /* Useful for tracking the resource location */ Location string Payload *models.JobLinkResponse }
SnapmirrorPolicyCreateCreated describes a response with status code 201, with default header values.
Created
func NewSnapmirrorPolicyCreateCreated ¶
func NewSnapmirrorPolicyCreateCreated() *SnapmirrorPolicyCreateCreated
NewSnapmirrorPolicyCreateCreated creates a SnapmirrorPolicyCreateCreated with default headers values
func (*SnapmirrorPolicyCreateCreated) Code ¶
func (o *SnapmirrorPolicyCreateCreated) Code() int
Code gets the status code for the snapmirror policy create created response
func (*SnapmirrorPolicyCreateCreated) Error ¶
func (o *SnapmirrorPolicyCreateCreated) Error() string
func (*SnapmirrorPolicyCreateCreated) GetPayload ¶
func (o *SnapmirrorPolicyCreateCreated) GetPayload() *models.JobLinkResponse
func (*SnapmirrorPolicyCreateCreated) IsClientError ¶
func (o *SnapmirrorPolicyCreateCreated) IsClientError() bool
IsClientError returns true when this snapmirror policy create created response has a 4xx status code
func (*SnapmirrorPolicyCreateCreated) IsCode ¶
func (o *SnapmirrorPolicyCreateCreated) IsCode(code int) bool
IsCode returns true when this snapmirror policy create created response a status code equal to that given
func (*SnapmirrorPolicyCreateCreated) IsRedirect ¶
func (o *SnapmirrorPolicyCreateCreated) IsRedirect() bool
IsRedirect returns true when this snapmirror policy create created response has a 3xx status code
func (*SnapmirrorPolicyCreateCreated) IsServerError ¶
func (o *SnapmirrorPolicyCreateCreated) IsServerError() bool
IsServerError returns true when this snapmirror policy create created response has a 5xx status code
func (*SnapmirrorPolicyCreateCreated) IsSuccess ¶
func (o *SnapmirrorPolicyCreateCreated) IsSuccess() bool
IsSuccess returns true when this snapmirror policy create created response has a 2xx status code
func (*SnapmirrorPolicyCreateCreated) String ¶
func (o *SnapmirrorPolicyCreateCreated) String() string
type SnapmirrorPolicyCreateDefault ¶
type SnapmirrorPolicyCreateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorPolicyCreateDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 6619714 | Schedule specified is an interval schedule. SnapMirror does not support interval schedules. | | 13304126 | Enter a value for "count" in the range indicated in the error message. | | 13303887 | Failed to create SnapMirror policy. Reason: Maximum number of allowed retention rules reached | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting this property. | | 13304084 | Properties specified are mutually exclusive. Provide only one property. | | 13304085 | The specified property does not support the specified value. | | 13304092 | Input value of the retention period property is invalid. For relationships with FlexVol volume or FlexGroup volume destinations, the duration must be in ISO 6801 format or can be infinite. For relationships with object store destinations, only duration values with Y, M or D and supported and must be in the specified range. |
| 6621045 | The property rentention.warn is not supported for a policy when the retention.preserve property is false. | 13304129 | The property retention.warn value must be less than the property retention.count value for a rule in a policy. | 13304130 | The total retention.count value for all rules in a policy cannot exceed the value indicated in the error message. | 6621060 | Failed to create specified policy. Reason: A policy with this name already exists. | | 13304118 | The specified properties cannot be both set at the same time: retention.creation_schedule and retention.period | | 6621972 | Schedule specified is not supported by SnapMirror Synchronous. The allowed time interval for the creation of common Snapshot copies can range between 30 minutes and 24 hours. | | 13304011 | Failed to create or modify the specified SnapMirror policy. Reason: The property retention.count cannot have a value greater than 1. | | 6621091 | The specified SnapMirror policy cannot have a rule with a preserve value of true. | | 6621088 | The specified SnapMirror policy must have at least one rule without a schedule. |
func NewSnapmirrorPolicyCreateDefault ¶
func NewSnapmirrorPolicyCreateDefault(code int) *SnapmirrorPolicyCreateDefault
NewSnapmirrorPolicyCreateDefault creates a SnapmirrorPolicyCreateDefault with default headers values
func (*SnapmirrorPolicyCreateDefault) Code ¶
func (o *SnapmirrorPolicyCreateDefault) Code() int
Code gets the status code for the snapmirror policy create default response
func (*SnapmirrorPolicyCreateDefault) Error ¶
func (o *SnapmirrorPolicyCreateDefault) Error() string
func (*SnapmirrorPolicyCreateDefault) GetPayload ¶
func (o *SnapmirrorPolicyCreateDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorPolicyCreateDefault) IsClientError ¶
func (o *SnapmirrorPolicyCreateDefault) IsClientError() bool
IsClientError returns true when this snapmirror policy create default response has a 4xx status code
func (*SnapmirrorPolicyCreateDefault) IsCode ¶
func (o *SnapmirrorPolicyCreateDefault) IsCode(code int) bool
IsCode returns true when this snapmirror policy create default response a status code equal to that given
func (*SnapmirrorPolicyCreateDefault) IsRedirect ¶
func (o *SnapmirrorPolicyCreateDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror policy create default response has a 3xx status code
func (*SnapmirrorPolicyCreateDefault) IsServerError ¶
func (o *SnapmirrorPolicyCreateDefault) IsServerError() bool
IsServerError returns true when this snapmirror policy create default response has a 5xx status code
func (*SnapmirrorPolicyCreateDefault) IsSuccess ¶
func (o *SnapmirrorPolicyCreateDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror policy create default response has a 2xx status code
func (*SnapmirrorPolicyCreateDefault) String ¶
func (o *SnapmirrorPolicyCreateDefault) String() string
type SnapmirrorPolicyCreateParams ¶
type SnapmirrorPolicyCreateParams struct { /* Info. Information on the SnapMirror policy */ Info *models.SnapmirrorPolicy /* ReturnRecords. The default is false. If set to true, the records are returned. */ ReturnRecords *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorPolicyCreateParams contains all the parameters to send to the API endpoint
for the snapmirror policy create operation. Typically these are written to a http.Request.
func NewSnapmirrorPolicyCreateParams ¶
func NewSnapmirrorPolicyCreateParams() *SnapmirrorPolicyCreateParams
NewSnapmirrorPolicyCreateParams creates a new SnapmirrorPolicyCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorPolicyCreateParamsWithContext ¶
func NewSnapmirrorPolicyCreateParamsWithContext(ctx context.Context) *SnapmirrorPolicyCreateParams
NewSnapmirrorPolicyCreateParamsWithContext creates a new SnapmirrorPolicyCreateParams object with the ability to set a context for a request.
func NewSnapmirrorPolicyCreateParamsWithHTTPClient ¶
func NewSnapmirrorPolicyCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyCreateParams
NewSnapmirrorPolicyCreateParamsWithHTTPClient creates a new SnapmirrorPolicyCreateParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorPolicyCreateParamsWithTimeout ¶
func NewSnapmirrorPolicyCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyCreateParams
NewSnapmirrorPolicyCreateParamsWithTimeout creates a new SnapmirrorPolicyCreateParams object with the ability to set a timeout on a request.
func (*SnapmirrorPolicyCreateParams) SetContext ¶
func (o *SnapmirrorPolicyCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) SetDefaults ¶
func (o *SnapmirrorPolicyCreateParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror policy create params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyCreateParams) SetHTTPClient ¶
func (o *SnapmirrorPolicyCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) SetInfo ¶
func (o *SnapmirrorPolicyCreateParams) SetInfo(info *models.SnapmirrorPolicy)
SetInfo adds the info to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) SetReturnRecords ¶
func (o *SnapmirrorPolicyCreateParams) SetReturnRecords(returnRecords *bool)
SetReturnRecords adds the returnRecords to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) SetReturnTimeout ¶
func (o *SnapmirrorPolicyCreateParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) SetTimeout ¶
func (o *SnapmirrorPolicyCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithContext ¶
func (o *SnapmirrorPolicyCreateParams) WithContext(ctx context.Context) *SnapmirrorPolicyCreateParams
WithContext adds the context to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithDefaults ¶
func (o *SnapmirrorPolicyCreateParams) WithDefaults() *SnapmirrorPolicyCreateParams
WithDefaults hydrates default values in the snapmirror policy create params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyCreateParams) WithHTTPClient ¶
func (o *SnapmirrorPolicyCreateParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyCreateParams
WithHTTPClient adds the HTTPClient to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithInfo ¶
func (o *SnapmirrorPolicyCreateParams) WithInfo(info *models.SnapmirrorPolicy) *SnapmirrorPolicyCreateParams
WithInfo adds the info to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithReturnRecords ¶
func (o *SnapmirrorPolicyCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorPolicyCreateParams
WithReturnRecords adds the returnRecords to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithReturnTimeout ¶
func (o *SnapmirrorPolicyCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyCreateParams
WithReturnTimeout adds the returnTimeout to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithTimeout ¶
func (o *SnapmirrorPolicyCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyCreateParams
WithTimeout adds the timeout to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WriteToRequest ¶
func (o *SnapmirrorPolicyCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorPolicyCreateReader ¶
type SnapmirrorPolicyCreateReader struct {
// contains filtered or unexported fields
}
SnapmirrorPolicyCreateReader is a Reader for the SnapmirrorPolicyCreate structure.
func (*SnapmirrorPolicyCreateReader) ReadResponse ¶
func (o *SnapmirrorPolicyCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorPolicyDeleteAccepted ¶
type SnapmirrorPolicyDeleteAccepted struct {
Payload *models.JobLinkResponse
}
SnapmirrorPolicyDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewSnapmirrorPolicyDeleteAccepted ¶
func NewSnapmirrorPolicyDeleteAccepted() *SnapmirrorPolicyDeleteAccepted
NewSnapmirrorPolicyDeleteAccepted creates a SnapmirrorPolicyDeleteAccepted with default headers values
func (*SnapmirrorPolicyDeleteAccepted) Code ¶
func (o *SnapmirrorPolicyDeleteAccepted) Code() int
Code gets the status code for the snapmirror policy delete accepted response
func (*SnapmirrorPolicyDeleteAccepted) Error ¶
func (o *SnapmirrorPolicyDeleteAccepted) Error() string
func (*SnapmirrorPolicyDeleteAccepted) GetPayload ¶
func (o *SnapmirrorPolicyDeleteAccepted) GetPayload() *models.JobLinkResponse
func (*SnapmirrorPolicyDeleteAccepted) IsClientError ¶
func (o *SnapmirrorPolicyDeleteAccepted) IsClientError() bool
IsClientError returns true when this snapmirror policy delete accepted response has a 4xx status code
func (*SnapmirrorPolicyDeleteAccepted) IsCode ¶
func (o *SnapmirrorPolicyDeleteAccepted) IsCode(code int) bool
IsCode returns true when this snapmirror policy delete accepted response a status code equal to that given
func (*SnapmirrorPolicyDeleteAccepted) IsRedirect ¶
func (o *SnapmirrorPolicyDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this snapmirror policy delete accepted response has a 3xx status code
func (*SnapmirrorPolicyDeleteAccepted) IsServerError ¶
func (o *SnapmirrorPolicyDeleteAccepted) IsServerError() bool
IsServerError returns true when this snapmirror policy delete accepted response has a 5xx status code
func (*SnapmirrorPolicyDeleteAccepted) IsSuccess ¶
func (o *SnapmirrorPolicyDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this snapmirror policy delete accepted response has a 2xx status code
func (*SnapmirrorPolicyDeleteAccepted) String ¶
func (o *SnapmirrorPolicyDeleteAccepted) String() string
type SnapmirrorPolicyDeleteDefault ¶
type SnapmirrorPolicyDeleteDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorPolicyDeleteDefault describes a response with status code -1, with default header values.
Error
func NewSnapmirrorPolicyDeleteDefault ¶
func NewSnapmirrorPolicyDeleteDefault(code int) *SnapmirrorPolicyDeleteDefault
NewSnapmirrorPolicyDeleteDefault creates a SnapmirrorPolicyDeleteDefault with default headers values
func (*SnapmirrorPolicyDeleteDefault) Code ¶
func (o *SnapmirrorPolicyDeleteDefault) Code() int
Code gets the status code for the snapmirror policy delete default response
func (*SnapmirrorPolicyDeleteDefault) Error ¶
func (o *SnapmirrorPolicyDeleteDefault) Error() string
func (*SnapmirrorPolicyDeleteDefault) GetPayload ¶
func (o *SnapmirrorPolicyDeleteDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorPolicyDeleteDefault) IsClientError ¶
func (o *SnapmirrorPolicyDeleteDefault) IsClientError() bool
IsClientError returns true when this snapmirror policy delete default response has a 4xx status code
func (*SnapmirrorPolicyDeleteDefault) IsCode ¶
func (o *SnapmirrorPolicyDeleteDefault) IsCode(code int) bool
IsCode returns true when this snapmirror policy delete default response a status code equal to that given
func (*SnapmirrorPolicyDeleteDefault) IsRedirect ¶
func (o *SnapmirrorPolicyDeleteDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror policy delete default response has a 3xx status code
func (*SnapmirrorPolicyDeleteDefault) IsServerError ¶
func (o *SnapmirrorPolicyDeleteDefault) IsServerError() bool
IsServerError returns true when this snapmirror policy delete default response has a 5xx status code
func (*SnapmirrorPolicyDeleteDefault) IsSuccess ¶
func (o *SnapmirrorPolicyDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror policy delete default response has a 2xx status code
func (*SnapmirrorPolicyDeleteDefault) String ¶
func (o *SnapmirrorPolicyDeleteDefault) String() string
type SnapmirrorPolicyDeleteOK ¶
type SnapmirrorPolicyDeleteOK struct {
Payload *models.JobLinkResponse
}
SnapmirrorPolicyDeleteOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorPolicyDeleteOK ¶
func NewSnapmirrorPolicyDeleteOK() *SnapmirrorPolicyDeleteOK
NewSnapmirrorPolicyDeleteOK creates a SnapmirrorPolicyDeleteOK with default headers values
func (*SnapmirrorPolicyDeleteOK) Code ¶
func (o *SnapmirrorPolicyDeleteOK) Code() int
Code gets the status code for the snapmirror policy delete o k response
func (*SnapmirrorPolicyDeleteOK) Error ¶
func (o *SnapmirrorPolicyDeleteOK) Error() string
func (*SnapmirrorPolicyDeleteOK) GetPayload ¶
func (o *SnapmirrorPolicyDeleteOK) GetPayload() *models.JobLinkResponse
func (*SnapmirrorPolicyDeleteOK) IsClientError ¶
func (o *SnapmirrorPolicyDeleteOK) IsClientError() bool
IsClientError returns true when this snapmirror policy delete o k response has a 4xx status code
func (*SnapmirrorPolicyDeleteOK) IsCode ¶
func (o *SnapmirrorPolicyDeleteOK) IsCode(code int) bool
IsCode returns true when this snapmirror policy delete o k response a status code equal to that given
func (*SnapmirrorPolicyDeleteOK) IsRedirect ¶
func (o *SnapmirrorPolicyDeleteOK) IsRedirect() bool
IsRedirect returns true when this snapmirror policy delete o k response has a 3xx status code
func (*SnapmirrorPolicyDeleteOK) IsServerError ¶
func (o *SnapmirrorPolicyDeleteOK) IsServerError() bool
IsServerError returns true when this snapmirror policy delete o k response has a 5xx status code
func (*SnapmirrorPolicyDeleteOK) IsSuccess ¶
func (o *SnapmirrorPolicyDeleteOK) IsSuccess() bool
IsSuccess returns true when this snapmirror policy delete o k response has a 2xx status code
func (*SnapmirrorPolicyDeleteOK) String ¶
func (o *SnapmirrorPolicyDeleteOK) String() string
type SnapmirrorPolicyDeleteParams ¶
type SnapmirrorPolicyDeleteParams struct { /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 /* UUID. SnapMirror policy UUID */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorPolicyDeleteParams contains all the parameters to send to the API endpoint
for the snapmirror policy delete operation. Typically these are written to a http.Request.
func NewSnapmirrorPolicyDeleteParams ¶
func NewSnapmirrorPolicyDeleteParams() *SnapmirrorPolicyDeleteParams
NewSnapmirrorPolicyDeleteParams creates a new SnapmirrorPolicyDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorPolicyDeleteParamsWithContext ¶
func NewSnapmirrorPolicyDeleteParamsWithContext(ctx context.Context) *SnapmirrorPolicyDeleteParams
NewSnapmirrorPolicyDeleteParamsWithContext creates a new SnapmirrorPolicyDeleteParams object with the ability to set a context for a request.
func NewSnapmirrorPolicyDeleteParamsWithHTTPClient ¶
func NewSnapmirrorPolicyDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyDeleteParams
NewSnapmirrorPolicyDeleteParamsWithHTTPClient creates a new SnapmirrorPolicyDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorPolicyDeleteParamsWithTimeout ¶
func NewSnapmirrorPolicyDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams
NewSnapmirrorPolicyDeleteParamsWithTimeout creates a new SnapmirrorPolicyDeleteParams object with the ability to set a timeout on a request.
func (*SnapmirrorPolicyDeleteParams) SetContext ¶
func (o *SnapmirrorPolicyDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) SetDefaults ¶
func (o *SnapmirrorPolicyDeleteParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror policy delete params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyDeleteParams) SetHTTPClient ¶
func (o *SnapmirrorPolicyDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) SetReturnTimeout ¶
func (o *SnapmirrorPolicyDeleteParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) SetTimeout ¶
func (o *SnapmirrorPolicyDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) SetUUID ¶
func (o *SnapmirrorPolicyDeleteParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) WithContext ¶
func (o *SnapmirrorPolicyDeleteParams) WithContext(ctx context.Context) *SnapmirrorPolicyDeleteParams
WithContext adds the context to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) WithDefaults ¶
func (o *SnapmirrorPolicyDeleteParams) WithDefaults() *SnapmirrorPolicyDeleteParams
WithDefaults hydrates default values in the snapmirror policy delete params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyDeleteParams) WithHTTPClient ¶
func (o *SnapmirrorPolicyDeleteParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyDeleteParams
WithHTTPClient adds the HTTPClient to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) WithReturnTimeout ¶
func (o *SnapmirrorPolicyDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyDeleteParams
WithReturnTimeout adds the returnTimeout to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) WithTimeout ¶
func (o *SnapmirrorPolicyDeleteParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams
WithTimeout adds the timeout to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) WithUUID ¶
func (o *SnapmirrorPolicyDeleteParams) WithUUID(uuid string) *SnapmirrorPolicyDeleteParams
WithUUID adds the uuid to the snapmirror policy delete params
func (*SnapmirrorPolicyDeleteParams) WriteToRequest ¶
func (o *SnapmirrorPolicyDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorPolicyDeleteReader ¶
type SnapmirrorPolicyDeleteReader struct {
// contains filtered or unexported fields
}
SnapmirrorPolicyDeleteReader is a Reader for the SnapmirrorPolicyDelete structure.
func (*SnapmirrorPolicyDeleteReader) ReadResponse ¶
func (o *SnapmirrorPolicyDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorPolicyGetDefault ¶
type SnapmirrorPolicyGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorPolicyGetDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303842 | SnapMirror policy is not supported.|
func NewSnapmirrorPolicyGetDefault ¶
func NewSnapmirrorPolicyGetDefault(code int) *SnapmirrorPolicyGetDefault
NewSnapmirrorPolicyGetDefault creates a SnapmirrorPolicyGetDefault with default headers values
func (*SnapmirrorPolicyGetDefault) Code ¶
func (o *SnapmirrorPolicyGetDefault) Code() int
Code gets the status code for the snapmirror policy get default response
func (*SnapmirrorPolicyGetDefault) Error ¶
func (o *SnapmirrorPolicyGetDefault) Error() string
func (*SnapmirrorPolicyGetDefault) GetPayload ¶
func (o *SnapmirrorPolicyGetDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorPolicyGetDefault) IsClientError ¶
func (o *SnapmirrorPolicyGetDefault) IsClientError() bool
IsClientError returns true when this snapmirror policy get default response has a 4xx status code
func (*SnapmirrorPolicyGetDefault) IsCode ¶
func (o *SnapmirrorPolicyGetDefault) IsCode(code int) bool
IsCode returns true when this snapmirror policy get default response a status code equal to that given
func (*SnapmirrorPolicyGetDefault) IsRedirect ¶
func (o *SnapmirrorPolicyGetDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror policy get default response has a 3xx status code
func (*SnapmirrorPolicyGetDefault) IsServerError ¶
func (o *SnapmirrorPolicyGetDefault) IsServerError() bool
IsServerError returns true when this snapmirror policy get default response has a 5xx status code
func (*SnapmirrorPolicyGetDefault) IsSuccess ¶
func (o *SnapmirrorPolicyGetDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror policy get default response has a 2xx status code
func (*SnapmirrorPolicyGetDefault) String ¶
func (o *SnapmirrorPolicyGetDefault) String() string
type SnapmirrorPolicyGetOK ¶
type SnapmirrorPolicyGetOK struct {
Payload *models.SnapmirrorPolicy
}
SnapmirrorPolicyGetOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorPolicyGetOK ¶
func NewSnapmirrorPolicyGetOK() *SnapmirrorPolicyGetOK
NewSnapmirrorPolicyGetOK creates a SnapmirrorPolicyGetOK with default headers values
func (*SnapmirrorPolicyGetOK) Code ¶
func (o *SnapmirrorPolicyGetOK) Code() int
Code gets the status code for the snapmirror policy get o k response
func (*SnapmirrorPolicyGetOK) Error ¶
func (o *SnapmirrorPolicyGetOK) Error() string
func (*SnapmirrorPolicyGetOK) GetPayload ¶
func (o *SnapmirrorPolicyGetOK) GetPayload() *models.SnapmirrorPolicy
func (*SnapmirrorPolicyGetOK) IsClientError ¶
func (o *SnapmirrorPolicyGetOK) IsClientError() bool
IsClientError returns true when this snapmirror policy get o k response has a 4xx status code
func (*SnapmirrorPolicyGetOK) IsCode ¶
func (o *SnapmirrorPolicyGetOK) IsCode(code int) bool
IsCode returns true when this snapmirror policy get o k response a status code equal to that given
func (*SnapmirrorPolicyGetOK) IsRedirect ¶
func (o *SnapmirrorPolicyGetOK) IsRedirect() bool
IsRedirect returns true when this snapmirror policy get o k response has a 3xx status code
func (*SnapmirrorPolicyGetOK) IsServerError ¶
func (o *SnapmirrorPolicyGetOK) IsServerError() bool
IsServerError returns true when this snapmirror policy get o k response has a 5xx status code
func (*SnapmirrorPolicyGetOK) IsSuccess ¶
func (o *SnapmirrorPolicyGetOK) IsSuccess() bool
IsSuccess returns true when this snapmirror policy get o k response has a 2xx status code
func (*SnapmirrorPolicyGetOK) String ¶
func (o *SnapmirrorPolicyGetOK) String() string
type SnapmirrorPolicyGetParams ¶
type SnapmirrorPolicyGetParams struct { /* Fields. Specify the fields to return. */ Fields []string /* UUID. SnapMirror policy UUID. */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorPolicyGetParams contains all the parameters to send to the API endpoint
for the snapmirror policy get operation. Typically these are written to a http.Request.
func NewSnapmirrorPolicyGetParams ¶
func NewSnapmirrorPolicyGetParams() *SnapmirrorPolicyGetParams
NewSnapmirrorPolicyGetParams creates a new SnapmirrorPolicyGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorPolicyGetParamsWithContext ¶
func NewSnapmirrorPolicyGetParamsWithContext(ctx context.Context) *SnapmirrorPolicyGetParams
NewSnapmirrorPolicyGetParamsWithContext creates a new SnapmirrorPolicyGetParams object with the ability to set a context for a request.
func NewSnapmirrorPolicyGetParamsWithHTTPClient ¶
func NewSnapmirrorPolicyGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams
NewSnapmirrorPolicyGetParamsWithHTTPClient creates a new SnapmirrorPolicyGetParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorPolicyGetParamsWithTimeout ¶
func NewSnapmirrorPolicyGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams
NewSnapmirrorPolicyGetParamsWithTimeout creates a new SnapmirrorPolicyGetParams object with the ability to set a timeout on a request.
func (*SnapmirrorPolicyGetParams) SetContext ¶
func (o *SnapmirrorPolicyGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) SetDefaults ¶
func (o *SnapmirrorPolicyGetParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror policy get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyGetParams) SetFields ¶
func (o *SnapmirrorPolicyGetParams) SetFields(fields []string)
SetFields adds the fields to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) SetHTTPClient ¶
func (o *SnapmirrorPolicyGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) SetTimeout ¶
func (o *SnapmirrorPolicyGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) SetUUID ¶
func (o *SnapmirrorPolicyGetParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) WithContext ¶
func (o *SnapmirrorPolicyGetParams) WithContext(ctx context.Context) *SnapmirrorPolicyGetParams
WithContext adds the context to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) WithDefaults ¶
func (o *SnapmirrorPolicyGetParams) WithDefaults() *SnapmirrorPolicyGetParams
WithDefaults hydrates default values in the snapmirror policy get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyGetParams) WithFields ¶
func (o *SnapmirrorPolicyGetParams) WithFields(fields []string) *SnapmirrorPolicyGetParams
WithFields adds the fields to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) WithHTTPClient ¶
func (o *SnapmirrorPolicyGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams
WithHTTPClient adds the HTTPClient to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) WithTimeout ¶
func (o *SnapmirrorPolicyGetParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams
WithTimeout adds the timeout to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) WithUUID ¶
func (o *SnapmirrorPolicyGetParams) WithUUID(uuid string) *SnapmirrorPolicyGetParams
WithUUID adds the uuid to the snapmirror policy get params
func (*SnapmirrorPolicyGetParams) WriteToRequest ¶
func (o *SnapmirrorPolicyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorPolicyGetReader ¶
type SnapmirrorPolicyGetReader struct {
// contains filtered or unexported fields
}
SnapmirrorPolicyGetReader is a Reader for the SnapmirrorPolicyGet structure.
func (*SnapmirrorPolicyGetReader) ReadResponse ¶
func (o *SnapmirrorPolicyGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorPolicyModifyAccepted ¶
type SnapmirrorPolicyModifyAccepted struct {
Payload *models.JobLinkResponse
}
SnapmirrorPolicyModifyAccepted describes a response with status code 202, with default header values.
Accepted
func NewSnapmirrorPolicyModifyAccepted ¶
func NewSnapmirrorPolicyModifyAccepted() *SnapmirrorPolicyModifyAccepted
NewSnapmirrorPolicyModifyAccepted creates a SnapmirrorPolicyModifyAccepted with default headers values
func (*SnapmirrorPolicyModifyAccepted) Code ¶
func (o *SnapmirrorPolicyModifyAccepted) Code() int
Code gets the status code for the snapmirror policy modify accepted response
func (*SnapmirrorPolicyModifyAccepted) Error ¶
func (o *SnapmirrorPolicyModifyAccepted) Error() string
func (*SnapmirrorPolicyModifyAccepted) GetPayload ¶
func (o *SnapmirrorPolicyModifyAccepted) GetPayload() *models.JobLinkResponse
func (*SnapmirrorPolicyModifyAccepted) IsClientError ¶
func (o *SnapmirrorPolicyModifyAccepted) IsClientError() bool
IsClientError returns true when this snapmirror policy modify accepted response has a 4xx status code
func (*SnapmirrorPolicyModifyAccepted) IsCode ¶
func (o *SnapmirrorPolicyModifyAccepted) IsCode(code int) bool
IsCode returns true when this snapmirror policy modify accepted response a status code equal to that given
func (*SnapmirrorPolicyModifyAccepted) IsRedirect ¶
func (o *SnapmirrorPolicyModifyAccepted) IsRedirect() bool
IsRedirect returns true when this snapmirror policy modify accepted response has a 3xx status code
func (*SnapmirrorPolicyModifyAccepted) IsServerError ¶
func (o *SnapmirrorPolicyModifyAccepted) IsServerError() bool
IsServerError returns true when this snapmirror policy modify accepted response has a 5xx status code
func (*SnapmirrorPolicyModifyAccepted) IsSuccess ¶
func (o *SnapmirrorPolicyModifyAccepted) IsSuccess() bool
IsSuccess returns true when this snapmirror policy modify accepted response has a 2xx status code
func (*SnapmirrorPolicyModifyAccepted) String ¶
func (o *SnapmirrorPolicyModifyAccepted) String() string
type SnapmirrorPolicyModifyDefault ¶
type SnapmirrorPolicyModifyDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorPolicyModifyDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 6619714 | Schedule specified is an interval schedule. SnapMirror does not support interval schedules. | | 13303842 | SnapMirror policy is not supported. | | 13303843 | Conflicting values between SnapMirror policy and SnapMirror relationships for either 'transfer_schedule, throttle or identity_preservation' properties | | 13303850 | Invalid input parameter | | 13303887 | Failed to create SnapMirror policy. Reason: Maximum number of allowed retention rules reached | | 13304050 | Retention cannot be empty for a SnapMirror policy with 'create_snapshot_on_source' set to false. | | 13304092 | Input value of the retention period property is invalid. For relationships with FlexVol volume or FlexGroup volume destinations, the duration must be in ISO 6801 format or can be infinite. For relationships with object store destinations, only duration values with Y, M or D and supported and must be in the specified range. |
| 6621045 | The property rentention.warn is not supported for a policy when the retention.preserve property is false. | | 13304129 | The property retention.warn value must be less than the property retention.count value for a rule in a policy. | | 13304126 | Enter a value for "count" in the range indicated in the error message. | | 13304130 | The total retention.count value for all rules in a policy cannot exceed the value indicated in the error message." | | 13304131 | Modifying property "retention.creation_schedule" for the policy is not supported because the policy is associated with a relationship with a FlexGroup volume endpoint. | | 13304011 | Failed to create or modify the specified Snapmirror policy. Reason: The propery retention.count cannot have a value greater than 1. | | 6621091 | The specified Snapmirror policy cannot have a rule with a preserve value of true. | | 6621088 | The specified Snapmirror policy must have at least one rule without a schedule. |
func NewSnapmirrorPolicyModifyDefault ¶
func NewSnapmirrorPolicyModifyDefault(code int) *SnapmirrorPolicyModifyDefault
NewSnapmirrorPolicyModifyDefault creates a SnapmirrorPolicyModifyDefault with default headers values
func (*SnapmirrorPolicyModifyDefault) Code ¶
func (o *SnapmirrorPolicyModifyDefault) Code() int
Code gets the status code for the snapmirror policy modify default response
func (*SnapmirrorPolicyModifyDefault) Error ¶
func (o *SnapmirrorPolicyModifyDefault) Error() string
func (*SnapmirrorPolicyModifyDefault) GetPayload ¶
func (o *SnapmirrorPolicyModifyDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorPolicyModifyDefault) IsClientError ¶
func (o *SnapmirrorPolicyModifyDefault) IsClientError() bool
IsClientError returns true when this snapmirror policy modify default response has a 4xx status code
func (*SnapmirrorPolicyModifyDefault) IsCode ¶
func (o *SnapmirrorPolicyModifyDefault) IsCode(code int) bool
IsCode returns true when this snapmirror policy modify default response a status code equal to that given
func (*SnapmirrorPolicyModifyDefault) IsRedirect ¶
func (o *SnapmirrorPolicyModifyDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror policy modify default response has a 3xx status code
func (*SnapmirrorPolicyModifyDefault) IsServerError ¶
func (o *SnapmirrorPolicyModifyDefault) IsServerError() bool
IsServerError returns true when this snapmirror policy modify default response has a 5xx status code
func (*SnapmirrorPolicyModifyDefault) IsSuccess ¶
func (o *SnapmirrorPolicyModifyDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror policy modify default response has a 2xx status code
func (*SnapmirrorPolicyModifyDefault) String ¶
func (o *SnapmirrorPolicyModifyDefault) String() string
type SnapmirrorPolicyModifyOK ¶
type SnapmirrorPolicyModifyOK struct {
Payload *models.JobLinkResponse
}
SnapmirrorPolicyModifyOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorPolicyModifyOK ¶
func NewSnapmirrorPolicyModifyOK() *SnapmirrorPolicyModifyOK
NewSnapmirrorPolicyModifyOK creates a SnapmirrorPolicyModifyOK with default headers values
func (*SnapmirrorPolicyModifyOK) Code ¶
func (o *SnapmirrorPolicyModifyOK) Code() int
Code gets the status code for the snapmirror policy modify o k response
func (*SnapmirrorPolicyModifyOK) Error ¶
func (o *SnapmirrorPolicyModifyOK) Error() string
func (*SnapmirrorPolicyModifyOK) GetPayload ¶
func (o *SnapmirrorPolicyModifyOK) GetPayload() *models.JobLinkResponse
func (*SnapmirrorPolicyModifyOK) IsClientError ¶
func (o *SnapmirrorPolicyModifyOK) IsClientError() bool
IsClientError returns true when this snapmirror policy modify o k response has a 4xx status code
func (*SnapmirrorPolicyModifyOK) IsCode ¶
func (o *SnapmirrorPolicyModifyOK) IsCode(code int) bool
IsCode returns true when this snapmirror policy modify o k response a status code equal to that given
func (*SnapmirrorPolicyModifyOK) IsRedirect ¶
func (o *SnapmirrorPolicyModifyOK) IsRedirect() bool
IsRedirect returns true when this snapmirror policy modify o k response has a 3xx status code
func (*SnapmirrorPolicyModifyOK) IsServerError ¶
func (o *SnapmirrorPolicyModifyOK) IsServerError() bool
IsServerError returns true when this snapmirror policy modify o k response has a 5xx status code
func (*SnapmirrorPolicyModifyOK) IsSuccess ¶
func (o *SnapmirrorPolicyModifyOK) IsSuccess() bool
IsSuccess returns true when this snapmirror policy modify o k response has a 2xx status code
func (*SnapmirrorPolicyModifyOK) String ¶
func (o *SnapmirrorPolicyModifyOK) String() string
type SnapmirrorPolicyModifyParams ¶
type SnapmirrorPolicyModifyParams struct { /* Info. Information on the SnapMirror policy */ Info *models.SnapmirrorPolicy /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 /* UUID. SnapMirror policy UUID */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorPolicyModifyParams contains all the parameters to send to the API endpoint
for the snapmirror policy modify operation. Typically these are written to a http.Request.
func NewSnapmirrorPolicyModifyParams ¶
func NewSnapmirrorPolicyModifyParams() *SnapmirrorPolicyModifyParams
NewSnapmirrorPolicyModifyParams creates a new SnapmirrorPolicyModifyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorPolicyModifyParamsWithContext ¶
func NewSnapmirrorPolicyModifyParamsWithContext(ctx context.Context) *SnapmirrorPolicyModifyParams
NewSnapmirrorPolicyModifyParamsWithContext creates a new SnapmirrorPolicyModifyParams object with the ability to set a context for a request.
func NewSnapmirrorPolicyModifyParamsWithHTTPClient ¶
func NewSnapmirrorPolicyModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyModifyParams
NewSnapmirrorPolicyModifyParamsWithHTTPClient creates a new SnapmirrorPolicyModifyParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorPolicyModifyParamsWithTimeout ¶
func NewSnapmirrorPolicyModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams
NewSnapmirrorPolicyModifyParamsWithTimeout creates a new SnapmirrorPolicyModifyParams object with the ability to set a timeout on a request.
func (*SnapmirrorPolicyModifyParams) SetContext ¶
func (o *SnapmirrorPolicyModifyParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) SetDefaults ¶
func (o *SnapmirrorPolicyModifyParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror policy modify params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyModifyParams) SetHTTPClient ¶
func (o *SnapmirrorPolicyModifyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) SetInfo ¶
func (o *SnapmirrorPolicyModifyParams) SetInfo(info *models.SnapmirrorPolicy)
SetInfo adds the info to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) SetReturnTimeout ¶
func (o *SnapmirrorPolicyModifyParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) SetTimeout ¶
func (o *SnapmirrorPolicyModifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) SetUUID ¶
func (o *SnapmirrorPolicyModifyParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WithContext ¶
func (o *SnapmirrorPolicyModifyParams) WithContext(ctx context.Context) *SnapmirrorPolicyModifyParams
WithContext adds the context to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WithDefaults ¶
func (o *SnapmirrorPolicyModifyParams) WithDefaults() *SnapmirrorPolicyModifyParams
WithDefaults hydrates default values in the snapmirror policy modify params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorPolicyModifyParams) WithHTTPClient ¶
func (o *SnapmirrorPolicyModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyModifyParams
WithHTTPClient adds the HTTPClient to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WithInfo ¶
func (o *SnapmirrorPolicyModifyParams) WithInfo(info *models.SnapmirrorPolicy) *SnapmirrorPolicyModifyParams
WithInfo adds the info to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WithReturnTimeout ¶
func (o *SnapmirrorPolicyModifyParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyModifyParams
WithReturnTimeout adds the returnTimeout to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WithTimeout ¶
func (o *SnapmirrorPolicyModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams
WithTimeout adds the timeout to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WithUUID ¶
func (o *SnapmirrorPolicyModifyParams) WithUUID(uuid string) *SnapmirrorPolicyModifyParams
WithUUID adds the uuid to the snapmirror policy modify params
func (*SnapmirrorPolicyModifyParams) WriteToRequest ¶
func (o *SnapmirrorPolicyModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorPolicyModifyReader ¶
type SnapmirrorPolicyModifyReader struct {
// contains filtered or unexported fields
}
SnapmirrorPolicyModifyReader is a Reader for the SnapmirrorPolicyModify structure.
func (*SnapmirrorPolicyModifyReader) ReadResponse ¶
func (o *SnapmirrorPolicyModifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipCreateAccepted ¶
type SnapmirrorRelationshipCreateAccepted struct { /* Useful for tracking the resource location */ Location string Payload *models.JobLinkResponse }
SnapmirrorRelationshipCreateAccepted describes a response with status code 202, with default header values.
Accepted
func NewSnapmirrorRelationshipCreateAccepted ¶
func NewSnapmirrorRelationshipCreateAccepted() *SnapmirrorRelationshipCreateAccepted
NewSnapmirrorRelationshipCreateAccepted creates a SnapmirrorRelationshipCreateAccepted with default headers values
func (*SnapmirrorRelationshipCreateAccepted) Code ¶
func (o *SnapmirrorRelationshipCreateAccepted) Code() int
Code gets the status code for the snapmirror relationship create accepted response
func (*SnapmirrorRelationshipCreateAccepted) Error ¶
func (o *SnapmirrorRelationshipCreateAccepted) Error() string
func (*SnapmirrorRelationshipCreateAccepted) GetPayload ¶
func (o *SnapmirrorRelationshipCreateAccepted) GetPayload() *models.JobLinkResponse
func (*SnapmirrorRelationshipCreateAccepted) IsClientError ¶
func (o *SnapmirrorRelationshipCreateAccepted) IsClientError() bool
IsClientError returns true when this snapmirror relationship create accepted response has a 4xx status code
func (*SnapmirrorRelationshipCreateAccepted) IsCode ¶
func (o *SnapmirrorRelationshipCreateAccepted) IsCode(code int) bool
IsCode returns true when this snapmirror relationship create accepted response a status code equal to that given
func (*SnapmirrorRelationshipCreateAccepted) IsRedirect ¶
func (o *SnapmirrorRelationshipCreateAccepted) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship create accepted response has a 3xx status code
func (*SnapmirrorRelationshipCreateAccepted) IsServerError ¶
func (o *SnapmirrorRelationshipCreateAccepted) IsServerError() bool
IsServerError returns true when this snapmirror relationship create accepted response has a 5xx status code
func (*SnapmirrorRelationshipCreateAccepted) IsSuccess ¶
func (o *SnapmirrorRelationshipCreateAccepted) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship create accepted response has a 2xx status code
func (*SnapmirrorRelationshipCreateAccepted) String ¶
func (o *SnapmirrorRelationshipCreateAccepted) String() string
type SnapmirrorRelationshipCreateCreated ¶
type SnapmirrorRelationshipCreateCreated struct { /* Useful for tracking the resource location */ Location string Payload *models.JobLinkResponse }
SnapmirrorRelationshipCreateCreated describes a response with status code 201, with default header values.
Created
func NewSnapmirrorRelationshipCreateCreated ¶
func NewSnapmirrorRelationshipCreateCreated() *SnapmirrorRelationshipCreateCreated
NewSnapmirrorRelationshipCreateCreated creates a SnapmirrorRelationshipCreateCreated with default headers values
func (*SnapmirrorRelationshipCreateCreated) Code ¶
func (o *SnapmirrorRelationshipCreateCreated) Code() int
Code gets the status code for the snapmirror relationship create created response
func (*SnapmirrorRelationshipCreateCreated) Error ¶
func (o *SnapmirrorRelationshipCreateCreated) Error() string
func (*SnapmirrorRelationshipCreateCreated) GetPayload ¶
func (o *SnapmirrorRelationshipCreateCreated) GetPayload() *models.JobLinkResponse
func (*SnapmirrorRelationshipCreateCreated) IsClientError ¶
func (o *SnapmirrorRelationshipCreateCreated) IsClientError() bool
IsClientError returns true when this snapmirror relationship create created response has a 4xx status code
func (*SnapmirrorRelationshipCreateCreated) IsCode ¶
func (o *SnapmirrorRelationshipCreateCreated) IsCode(code int) bool
IsCode returns true when this snapmirror relationship create created response a status code equal to that given
func (*SnapmirrorRelationshipCreateCreated) IsRedirect ¶
func (o *SnapmirrorRelationshipCreateCreated) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship create created response has a 3xx status code
func (*SnapmirrorRelationshipCreateCreated) IsServerError ¶
func (o *SnapmirrorRelationshipCreateCreated) IsServerError() bool
IsServerError returns true when this snapmirror relationship create created response has a 5xx status code
func (*SnapmirrorRelationshipCreateCreated) IsSuccess ¶
func (o *SnapmirrorRelationshipCreateCreated) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship create created response has a 2xx status code
func (*SnapmirrorRelationshipCreateCreated) String ¶
func (o *SnapmirrorRelationshipCreateCreated) String() string
type SnapmirrorRelationshipCreateDefault ¶
type SnapmirrorRelationshipCreateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipCreateDefault describes a response with status code -1, with default header values. ONTAP Error Response Codes
| Error Code | Description | | ---------- | ----------- | | 1115542 | Invalid value given for the field. | | 6619441 | The source volume cannot be the same as the destination volume. | | 6619599 | Only the \"none\" tiering policy is supported when creating a destination volume with \"snapshot_locking_enabled\" set to true or if \"snapshot_locking_enabled\" is set to true on the source volume. | | 6619637 | Relationship with specified destination volume already exists. | | 6619699 | Schedule not found. | | 6620374 | Internal error. Failed to get SVM information. | | 6620478 | Internal error. Failed to check SnapMirror capability. | | 6620654 | Invalid SnapMirror Consistency Group name. | | 6621125 | The policy is not valid for relationships with FlexGroup volume endpoints. Only policies without Snapshot copy creation schedules are supported for these relationships. | | 6621458 | The destination Consistency Group is the source of a SnapMirror Synchronous (SM-S) relationship. Sources of SM-S relationships cannot be the destination of any other SnapMirror relationship. | | 6621782 | A property of the policy is not valid for relationships between these endpoints. | | 6621834 | Object store configuration does not exist for specified SVM. | | 6622088 | SnapMirror Asynchronous relationship is not supported on a Consistency Group volume that has Snapshot copy locking enabled. | | 13303819 | Could not retrieve SnapMirror policy information. | | 13303821 | Invalid SnapMirror policy UUID. | | 13303841 | This operation is not supported for SnapMirror relationships between these endpoints. | | 13303852 | destination.path provided does not contain \\\":\\\". | | 13303853 | Restore relationships are not supported for SVM-DR endpoints. | | 13303866 | Associating the specified SnapMirror policy with this SnapMirror relationship is not supported. | | 13303868 | Create of destination endpoint and SnapMirror relationship failed. | | 13303869 | Creating a destination endpoint is not supported for restore relationships. | | 13303870 | A tiering policy cannot be specified if tiering is not being set to supported. | | 13303871 | Storage service properties cannot be specified if the storage service is not being enabled. | | 13303872 | Specified property requires a later effective cluster version. | | 13303873 | Specifying a state when creating a relationship is only supported when creating a destination endpoint. | | 13303874 | Specified state is not supported when creating this relationship. | | 13303875 | Destination aggregates do not have sufficient space for hosting copies of source volumes. | | 13303876 | Destination cluster does not have composite aggregates. | | 13303877 | Source or destination cluster must be specified. | | 13303878 | The specified fields do not match. | | 13303879 | Source cluster name or UUID is needed to provision a destination SVM on the local cluster. | | 13303880 | Source cluster must be remote for provisioning a destination SVM on the local cluster. | | 13303881 | Network validation failed. | | 13303882 | SVM validation failed. | | 13303883 | Encryption is not enabled on the destination cluster. | | 13303886 | SVM peer permission not found. | | 13303887 | Synchronous SnapMirror relationships between FlexGroup volumes are not supported. | | 13303888 | Synchronous SnapMirror relationships require an effective cluster version of 9.5 or later on both the source and destination clusters. | | 13303889 | Asynchronous SnapMirror relationships between FlexGroup volumes require an effective cluster version of 9.5 or later on both the source and destination clusters. | | 13303890 | Asynchronous SnapMirror relationships between FlexVol volumes require an effective cluster version of 9.3, 9.5, or later on both the source and destination clusters. | | 13303891 | Creating a destination endpoint with storage service requires an effective cluster version of 9.7 or later. | | 13303892 | Fetching remote information from the destination cluster failed. | | 13303893 | Updating job description failed. | | 13303894 | Destination volume name is invalid. It must contain the source volume name and have a suffix when creating a destination endpoint on a cluster with an effective cluster version of 9.6 or earlier. | | 13303895 | Operation on the remote destination cluster is not supported. | | 13303916 | FlexGroup volumes are not supported on SnapLock aggregates. | | 13303918 | No suitable destination aggregate type is available. | | 13303919 | Only FabricPool enabled aggregates are available on the destination. | | 13303920 | Only SnapLock aggregates are available on the destination. FlexGroup volumes are not supported on SnapLock aggregates. | | 13303921 | Unable to retrieve the SnapMirror capabilities of the destination cluster. | | 13303922 | Specified source SVM is not a data SVM. | | 13303923 | Specified destination SVM is not a data SVM. | | 13303924 | Source SVM has an invalid Snapshot copy policy. | | 13303925 | SnapMirror validation has failed. | | 13303930 | The specified tiering policy is not supported for destination volumes of Synchronous relationships. | | 13303938 | Fetching information from the local cluster failed. | | 13303939 | Could not create an SVM peer relationship. | | 13303944 | An SVM-DR relationship is not supported because the source SVM has CIFS configured and the associated SnapMirror policy has either the "identity_preservation" property not set or set to "exclude_network_and_protocol_config". | | 13303949 | This SnapMirror policy is only supported for relationships with object store destination endpoints. | | 13303966 | Consistency Group relationships require a policy of type \"sync\" with a sync_type of \"automated_failover\". | | 13303967 | Consistency Group volume is not a FlexVol volume. | | 13303968 | Unsupported volume type for the Consistency Group. | | 13303969 | SnapMirror relationships between SVM endpoints and object store endpoints are not supported. | | 13303970 | Unsupported policy type for the Consistency Group. | | 13303971 | SnapMirror relationships between Consistency Group endpoints and object store endpoints are not supported. | | 13303976 | Source or destination SVM is already part of an SVM-DR relation. | | 13303977 | Destination Consistency Group volume UUIDs are not expected while provisioning the destination volumes. | | 13303978 | Number of Consistency Group volume names and UUIDs does not match. | | 13303979 | Number of Consistency Group volumes exceeds the allowed limit. | | 13303980 | Number of source and destination Consistency Group volumes do not match. | | 13303981 | ISCSI or FCP protocol is not configured. | | 13303982 | SAN data interface is not configured on the SVM. | | 13304021 | No suitable storage can be found meeting the specified requirements. No FabricPool enabled aggregates are available on the destination. | | 13304022 | No suitable storage can be found meeting the specified requirements. No non-root, non-taken-over, non-SnapLock, non-composite aggregates are available on the destination. | | 13304032 | In an "All SAN Array", an SVM-DR relationship is not supported when the associated SnapMirror policy does not have the "identity_preservation" property set to "exclude_network_and_protocol_config". | | 13304080 | Specified UUID and name do not match. | | 13304082 | Specified properties are mutually exclusive. | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting the property. | | 13304093 | The property specified is not supported for the specified relationships. | | 13304098 | This SnapMirror policy is not supported for SnapMirror relationhips with SnapLock volumes. | | 13304099 | SnapLock Compliance Clock is not running on all nodes in the destination cluster. | | 13304108 | Schedule not found in the Administrative SVM or the SVM for the relationship. | | 13304112 | File restore from a Consistency Group asynchronous SnapMirror relationship endpoint is not supported. | | 13304132 | Creating a destination endpoint is not supported with the \"backoff_level\" property. | | 53411897 | The specified source volumes do not match the volumes contained in the source consistency group. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation. ##### Above error msgs have been added in sorted(ascending) order ##### of error codes, for example - 13303945 is error code for ##### SM_REST_SCHEDULE_CONFLICT_FOR_SM_OP and for 13303949 is err ##### code for SM_REST_POLICY_ONLY_SUPPORTED_FOR_OBJSTORE, so ##### SM_REST_SCHEDULE_CONFLICT_FOR_SM_OP has been placed before ##### SM_REST_POLICY_ONLY_SUPPORTED_FOR_OBJSTORE. ##### Also for private error msg, add private tags as after adding the error msg at correct place(in sorted order). ##### Please make sure new error messages are being put at correct place ##### so that order is maintained.
func NewSnapmirrorRelationshipCreateDefault ¶
func NewSnapmirrorRelationshipCreateDefault(code int) *SnapmirrorRelationshipCreateDefault
NewSnapmirrorRelationshipCreateDefault creates a SnapmirrorRelationshipCreateDefault with default headers values
func (*SnapmirrorRelationshipCreateDefault) Code ¶
func (o *SnapmirrorRelationshipCreateDefault) Code() int
Code gets the status code for the snapmirror relationship create default response
func (*SnapmirrorRelationshipCreateDefault) Error ¶
func (o *SnapmirrorRelationshipCreateDefault) Error() string
func (*SnapmirrorRelationshipCreateDefault) GetPayload ¶
func (o *SnapmirrorRelationshipCreateDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipCreateDefault) IsClientError ¶
func (o *SnapmirrorRelationshipCreateDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship create default response has a 4xx status code
func (*SnapmirrorRelationshipCreateDefault) IsCode ¶
func (o *SnapmirrorRelationshipCreateDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship create default response a status code equal to that given
func (*SnapmirrorRelationshipCreateDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipCreateDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship create default response has a 3xx status code
func (*SnapmirrorRelationshipCreateDefault) IsServerError ¶
func (o *SnapmirrorRelationshipCreateDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship create default response has a 5xx status code
func (*SnapmirrorRelationshipCreateDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipCreateDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship create default response has a 2xx status code
func (*SnapmirrorRelationshipCreateDefault) String ¶
func (o *SnapmirrorRelationshipCreateDefault) String() string
type SnapmirrorRelationshipCreateParams ¶
type SnapmirrorRelationshipCreateParams struct { /* Info. Information on the SnapMirror relationship */ Info *models.SnapmirrorRelationship /* ReturnRecords. The default is false. If set to true, the records are returned. */ ReturnRecords *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 /* ValidateOnly. Validate the operation and its parameters, without actually performing the operation. */ ValidateOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipCreateParams contains all the parameters to send to the API endpoint
for the snapmirror relationship create operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipCreateParams ¶
func NewSnapmirrorRelationshipCreateParams() *SnapmirrorRelationshipCreateParams
NewSnapmirrorRelationshipCreateParams creates a new SnapmirrorRelationshipCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipCreateParamsWithContext ¶
func NewSnapmirrorRelationshipCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipCreateParams
NewSnapmirrorRelationshipCreateParamsWithContext creates a new SnapmirrorRelationshipCreateParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipCreateParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipCreateParams
NewSnapmirrorRelationshipCreateParamsWithHTTPClient creates a new SnapmirrorRelationshipCreateParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipCreateParamsWithTimeout ¶
func NewSnapmirrorRelationshipCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams
NewSnapmirrorRelationshipCreateParamsWithTimeout creates a new SnapmirrorRelationshipCreateParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipCreateParams) SetContext ¶
func (o *SnapmirrorRelationshipCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetDefaults ¶
func (o *SnapmirrorRelationshipCreateParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship create params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipCreateParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetInfo ¶
func (o *SnapmirrorRelationshipCreateParams) SetInfo(info *models.SnapmirrorRelationship)
SetInfo adds the info to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetReturnRecords ¶
func (o *SnapmirrorRelationshipCreateParams) SetReturnRecords(returnRecords *bool)
SetReturnRecords adds the returnRecords to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetReturnTimeout ¶
func (o *SnapmirrorRelationshipCreateParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetTimeout ¶
func (o *SnapmirrorRelationshipCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetValidateOnly ¶
func (o *SnapmirrorRelationshipCreateParams) SetValidateOnly(validateOnly *bool)
SetValidateOnly adds the validateOnly to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithContext ¶
func (o *SnapmirrorRelationshipCreateParams) WithContext(ctx context.Context) *SnapmirrorRelationshipCreateParams
WithContext adds the context to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithDefaults ¶
func (o *SnapmirrorRelationshipCreateParams) WithDefaults() *SnapmirrorRelationshipCreateParams
WithDefaults hydrates default values in the snapmirror relationship create params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipCreateParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipCreateParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipCreateParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithInfo ¶
func (o *SnapmirrorRelationshipCreateParams) WithInfo(info *models.SnapmirrorRelationship) *SnapmirrorRelationshipCreateParams
WithInfo adds the info to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithReturnRecords ¶
func (o *SnapmirrorRelationshipCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipCreateParams
WithReturnRecords adds the returnRecords to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithReturnTimeout ¶
func (o *SnapmirrorRelationshipCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipCreateParams
WithReturnTimeout adds the returnTimeout to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithTimeout ¶
func (o *SnapmirrorRelationshipCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams
WithTimeout adds the timeout to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithValidateOnly ¶
func (o *SnapmirrorRelationshipCreateParams) WithValidateOnly(validateOnly *bool) *SnapmirrorRelationshipCreateParams
WithValidateOnly adds the validateOnly to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipCreateReader ¶
type SnapmirrorRelationshipCreateReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipCreateReader is a Reader for the SnapmirrorRelationshipCreate structure.
func (*SnapmirrorRelationshipCreateReader) ReadResponse ¶
func (o *SnapmirrorRelationshipCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipDeleteAccepted ¶
type SnapmirrorRelationshipDeleteAccepted struct {
Payload *models.JobLinkResponse
}
SnapmirrorRelationshipDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewSnapmirrorRelationshipDeleteAccepted ¶
func NewSnapmirrorRelationshipDeleteAccepted() *SnapmirrorRelationshipDeleteAccepted
NewSnapmirrorRelationshipDeleteAccepted creates a SnapmirrorRelationshipDeleteAccepted with default headers values
func (*SnapmirrorRelationshipDeleteAccepted) Code ¶
func (o *SnapmirrorRelationshipDeleteAccepted) Code() int
Code gets the status code for the snapmirror relationship delete accepted response
func (*SnapmirrorRelationshipDeleteAccepted) Error ¶
func (o *SnapmirrorRelationshipDeleteAccepted) Error() string
func (*SnapmirrorRelationshipDeleteAccepted) GetPayload ¶
func (o *SnapmirrorRelationshipDeleteAccepted) GetPayload() *models.JobLinkResponse
func (*SnapmirrorRelationshipDeleteAccepted) IsClientError ¶
func (o *SnapmirrorRelationshipDeleteAccepted) IsClientError() bool
IsClientError returns true when this snapmirror relationship delete accepted response has a 4xx status code
func (*SnapmirrorRelationshipDeleteAccepted) IsCode ¶
func (o *SnapmirrorRelationshipDeleteAccepted) IsCode(code int) bool
IsCode returns true when this snapmirror relationship delete accepted response a status code equal to that given
func (*SnapmirrorRelationshipDeleteAccepted) IsRedirect ¶
func (o *SnapmirrorRelationshipDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship delete accepted response has a 3xx status code
func (*SnapmirrorRelationshipDeleteAccepted) IsServerError ¶
func (o *SnapmirrorRelationshipDeleteAccepted) IsServerError() bool
IsServerError returns true when this snapmirror relationship delete accepted response has a 5xx status code
func (*SnapmirrorRelationshipDeleteAccepted) IsSuccess ¶
func (o *SnapmirrorRelationshipDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship delete accepted response has a 2xx status code
func (*SnapmirrorRelationshipDeleteAccepted) String ¶
func (o *SnapmirrorRelationshipDeleteAccepted) String() string
type SnapmirrorRelationshipDeleteDefault ¶
type SnapmirrorRelationshipDeleteDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipDeleteDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303814 | Could not retrieve the source or destination SVM UUID | | 13303815 | Could not retrieve information for the peer cluster | | 13303822 | SnapMirror release has failed | | 13303813 | SnapMirror release was successful but delete has failed | | 13303854 | Cleanup of restore relationship failed | | 13303855 | DELETE call on a restore relationship does not support the given flags | | 13303865 | Deleting the specified SnapMirror policy is not supported. | | 6619715 | Modification of relationship is in progress. Retry the command after a few minutes. |
func NewSnapmirrorRelationshipDeleteDefault ¶
func NewSnapmirrorRelationshipDeleteDefault(code int) *SnapmirrorRelationshipDeleteDefault
NewSnapmirrorRelationshipDeleteDefault creates a SnapmirrorRelationshipDeleteDefault with default headers values
func (*SnapmirrorRelationshipDeleteDefault) Code ¶
func (o *SnapmirrorRelationshipDeleteDefault) Code() int
Code gets the status code for the snapmirror relationship delete default response
func (*SnapmirrorRelationshipDeleteDefault) Error ¶
func (o *SnapmirrorRelationshipDeleteDefault) Error() string
func (*SnapmirrorRelationshipDeleteDefault) GetPayload ¶
func (o *SnapmirrorRelationshipDeleteDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipDeleteDefault) IsClientError ¶
func (o *SnapmirrorRelationshipDeleteDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship delete default response has a 4xx status code
func (*SnapmirrorRelationshipDeleteDefault) IsCode ¶
func (o *SnapmirrorRelationshipDeleteDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship delete default response a status code equal to that given
func (*SnapmirrorRelationshipDeleteDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipDeleteDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship delete default response has a 3xx status code
func (*SnapmirrorRelationshipDeleteDefault) IsServerError ¶
func (o *SnapmirrorRelationshipDeleteDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship delete default response has a 5xx status code
func (*SnapmirrorRelationshipDeleteDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship delete default response has a 2xx status code
func (*SnapmirrorRelationshipDeleteDefault) String ¶
func (o *SnapmirrorRelationshipDeleteDefault) String() string
type SnapmirrorRelationshipDeleteOK ¶
type SnapmirrorRelationshipDeleteOK struct {
Payload *models.JobLinkResponse
}
SnapmirrorRelationshipDeleteOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipDeleteOK ¶
func NewSnapmirrorRelationshipDeleteOK() *SnapmirrorRelationshipDeleteOK
NewSnapmirrorRelationshipDeleteOK creates a SnapmirrorRelationshipDeleteOK with default headers values
func (*SnapmirrorRelationshipDeleteOK) Code ¶
func (o *SnapmirrorRelationshipDeleteOK) Code() int
Code gets the status code for the snapmirror relationship delete o k response
func (*SnapmirrorRelationshipDeleteOK) Error ¶
func (o *SnapmirrorRelationshipDeleteOK) Error() string
func (*SnapmirrorRelationshipDeleteOK) GetPayload ¶
func (o *SnapmirrorRelationshipDeleteOK) GetPayload() *models.JobLinkResponse
func (*SnapmirrorRelationshipDeleteOK) IsClientError ¶
func (o *SnapmirrorRelationshipDeleteOK) IsClientError() bool
IsClientError returns true when this snapmirror relationship delete o k response has a 4xx status code
func (*SnapmirrorRelationshipDeleteOK) IsCode ¶
func (o *SnapmirrorRelationshipDeleteOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationship delete o k response a status code equal to that given
func (*SnapmirrorRelationshipDeleteOK) IsRedirect ¶
func (o *SnapmirrorRelationshipDeleteOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship delete o k response has a 3xx status code
func (*SnapmirrorRelationshipDeleteOK) IsServerError ¶
func (o *SnapmirrorRelationshipDeleteOK) IsServerError() bool
IsServerError returns true when this snapmirror relationship delete o k response has a 5xx status code
func (*SnapmirrorRelationshipDeleteOK) IsSuccess ¶
func (o *SnapmirrorRelationshipDeleteOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship delete o k response has a 2xx status code
func (*SnapmirrorRelationshipDeleteOK) String ¶
func (o *SnapmirrorRelationshipDeleteOK) String() string
type SnapmirrorRelationshipDeleteParams ¶
type SnapmirrorRelationshipDeleteParams struct { /* DeleteLunMapsInDestination. Deletes LUN mapping for the volumes of the CG in destination. */ DeleteLunMapsInDestination *bool /* DestinationOnly. Deletes a relationship on the destination only. This parameter is applicable only when the call is executed on the cluster that contains the destination endpoint. */ DestinationOnly *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 /* SourceInfoOnly. Deletes relationship information on the source only. This parameter is applicable only when the call is executed on the cluster that contains the source endpoint. */ SourceInfoOnly *bool /* SourceOnly. Deletes a relationship on the source only. This parameter is applicable only when the call is executed on the cluster that contains the source endpoint. In the case of a relationship that uses SnapMirror policy of type 'continuous', this parameter is used to delete the source end of the relationship while ignoring errors when the destination endpoint is not reachable. */ SourceOnly *bool /* UUID. SnapMirror relationship UUID */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipDeleteParams contains all the parameters to send to the API endpoint
for the snapmirror relationship delete operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipDeleteParams ¶
func NewSnapmirrorRelationshipDeleteParams() *SnapmirrorRelationshipDeleteParams
NewSnapmirrorRelationshipDeleteParams creates a new SnapmirrorRelationshipDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipDeleteParamsWithContext ¶
func NewSnapmirrorRelationshipDeleteParamsWithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams
NewSnapmirrorRelationshipDeleteParamsWithContext creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams
NewSnapmirrorRelationshipDeleteParamsWithHTTPClient creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipDeleteParamsWithTimeout ¶
func NewSnapmirrorRelationshipDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams
NewSnapmirrorRelationshipDeleteParamsWithTimeout creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipDeleteParams) SetContext ¶
func (o *SnapmirrorRelationshipDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetDefaults ¶
func (o *SnapmirrorRelationshipDeleteParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship delete params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipDeleteParams) SetDeleteLunMapsInDestination ¶
func (o *SnapmirrorRelationshipDeleteParams) SetDeleteLunMapsInDestination(deleteLunMapsInDestination *bool)
SetDeleteLunMapsInDestination adds the deleteLunMapsInDestination to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetDestinationOnly ¶
func (o *SnapmirrorRelationshipDeleteParams) SetDestinationOnly(destinationOnly *bool)
SetDestinationOnly adds the destinationOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetReturnTimeout ¶
func (o *SnapmirrorRelationshipDeleteParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetSourceInfoOnly ¶
func (o *SnapmirrorRelationshipDeleteParams) SetSourceInfoOnly(sourceInfoOnly *bool)
SetSourceInfoOnly adds the sourceInfoOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetSourceOnly ¶
func (o *SnapmirrorRelationshipDeleteParams) SetSourceOnly(sourceOnly *bool)
SetSourceOnly adds the sourceOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetTimeout ¶
func (o *SnapmirrorRelationshipDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetUUID ¶
func (o *SnapmirrorRelationshipDeleteParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithContext ¶
func (o *SnapmirrorRelationshipDeleteParams) WithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams
WithContext adds the context to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithDefaults ¶
func (o *SnapmirrorRelationshipDeleteParams) WithDefaults() *SnapmirrorRelationshipDeleteParams
WithDefaults hydrates default values in the snapmirror relationship delete params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipDeleteParams) WithDeleteLunMapsInDestination ¶
func (o *SnapmirrorRelationshipDeleteParams) WithDeleteLunMapsInDestination(deleteLunMapsInDestination *bool) *SnapmirrorRelationshipDeleteParams
WithDeleteLunMapsInDestination adds the deleteLunMapsInDestination to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithDestinationOnly ¶
func (o *SnapmirrorRelationshipDeleteParams) WithDestinationOnly(destinationOnly *bool) *SnapmirrorRelationshipDeleteParams
WithDestinationOnly adds the destinationOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipDeleteParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithReturnTimeout ¶
func (o *SnapmirrorRelationshipDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipDeleteParams
WithReturnTimeout adds the returnTimeout to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithSourceInfoOnly ¶
func (o *SnapmirrorRelationshipDeleteParams) WithSourceInfoOnly(sourceInfoOnly *bool) *SnapmirrorRelationshipDeleteParams
WithSourceInfoOnly adds the sourceInfoOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithSourceOnly ¶
func (o *SnapmirrorRelationshipDeleteParams) WithSourceOnly(sourceOnly *bool) *SnapmirrorRelationshipDeleteParams
WithSourceOnly adds the sourceOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithTimeout ¶
func (o *SnapmirrorRelationshipDeleteParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams
WithTimeout adds the timeout to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithUUID ¶
func (o *SnapmirrorRelationshipDeleteParams) WithUUID(uuid string) *SnapmirrorRelationshipDeleteParams
WithUUID adds the uuid to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipDeleteReader ¶
type SnapmirrorRelationshipDeleteReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipDeleteReader is a Reader for the SnapmirrorRelationshipDelete structure.
func (*SnapmirrorRelationshipDeleteReader) ReadResponse ¶
func (o *SnapmirrorRelationshipDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipGetDefault ¶
type SnapmirrorRelationshipGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipGetDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the Snapmirror State |
func NewSnapmirrorRelationshipGetDefault ¶
func NewSnapmirrorRelationshipGetDefault(code int) *SnapmirrorRelationshipGetDefault
NewSnapmirrorRelationshipGetDefault creates a SnapmirrorRelationshipGetDefault with default headers values
func (*SnapmirrorRelationshipGetDefault) Code ¶
func (o *SnapmirrorRelationshipGetDefault) Code() int
Code gets the status code for the snapmirror relationship get default response
func (*SnapmirrorRelationshipGetDefault) Error ¶
func (o *SnapmirrorRelationshipGetDefault) Error() string
func (*SnapmirrorRelationshipGetDefault) GetPayload ¶
func (o *SnapmirrorRelationshipGetDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipGetDefault) IsClientError ¶
func (o *SnapmirrorRelationshipGetDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship get default response has a 4xx status code
func (*SnapmirrorRelationshipGetDefault) IsCode ¶
func (o *SnapmirrorRelationshipGetDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship get default response a status code equal to that given
func (*SnapmirrorRelationshipGetDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipGetDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship get default response has a 3xx status code
func (*SnapmirrorRelationshipGetDefault) IsServerError ¶
func (o *SnapmirrorRelationshipGetDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship get default response has a 5xx status code
func (*SnapmirrorRelationshipGetDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipGetDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship get default response has a 2xx status code
func (*SnapmirrorRelationshipGetDefault) String ¶
func (o *SnapmirrorRelationshipGetDefault) String() string
type SnapmirrorRelationshipGetOK ¶
type SnapmirrorRelationshipGetOK struct {
Payload *models.SnapmirrorRelationship
}
SnapmirrorRelationshipGetOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipGetOK ¶
func NewSnapmirrorRelationshipGetOK() *SnapmirrorRelationshipGetOK
NewSnapmirrorRelationshipGetOK creates a SnapmirrorRelationshipGetOK with default headers values
func (*SnapmirrorRelationshipGetOK) Code ¶
func (o *SnapmirrorRelationshipGetOK) Code() int
Code gets the status code for the snapmirror relationship get o k response
func (*SnapmirrorRelationshipGetOK) Error ¶
func (o *SnapmirrorRelationshipGetOK) Error() string
func (*SnapmirrorRelationshipGetOK) GetPayload ¶
func (o *SnapmirrorRelationshipGetOK) GetPayload() *models.SnapmirrorRelationship
func (*SnapmirrorRelationshipGetOK) IsClientError ¶
func (o *SnapmirrorRelationshipGetOK) IsClientError() bool
IsClientError returns true when this snapmirror relationship get o k response has a 4xx status code
func (*SnapmirrorRelationshipGetOK) IsCode ¶
func (o *SnapmirrorRelationshipGetOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationship get o k response a status code equal to that given
func (*SnapmirrorRelationshipGetOK) IsRedirect ¶
func (o *SnapmirrorRelationshipGetOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship get o k response has a 3xx status code
func (*SnapmirrorRelationshipGetOK) IsServerError ¶
func (o *SnapmirrorRelationshipGetOK) IsServerError() bool
IsServerError returns true when this snapmirror relationship get o k response has a 5xx status code
func (*SnapmirrorRelationshipGetOK) IsSuccess ¶
func (o *SnapmirrorRelationshipGetOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship get o k response has a 2xx status code
func (*SnapmirrorRelationshipGetOK) String ¶
func (o *SnapmirrorRelationshipGetOK) String() string
type SnapmirrorRelationshipGetParams ¶
type SnapmirrorRelationshipGetParams struct { /* Fields. Specify the fields to return. */ Fields []string /* ListDestinationsOnly. Set to true to show relationships from the source only. */ ListDestinationsOnly *bool /* UUID. SnapMirror relationship UUID */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipGetParams contains all the parameters to send to the API endpoint
for the snapmirror relationship get operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipGetParams ¶
func NewSnapmirrorRelationshipGetParams() *SnapmirrorRelationshipGetParams
NewSnapmirrorRelationshipGetParams creates a new SnapmirrorRelationshipGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipGetParamsWithContext ¶
func NewSnapmirrorRelationshipGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipGetParams
NewSnapmirrorRelationshipGetParamsWithContext creates a new SnapmirrorRelationshipGetParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipGetParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams
NewSnapmirrorRelationshipGetParamsWithHTTPClient creates a new SnapmirrorRelationshipGetParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipGetParamsWithTimeout ¶
func NewSnapmirrorRelationshipGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams
NewSnapmirrorRelationshipGetParamsWithTimeout creates a new SnapmirrorRelationshipGetParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipGetParams) SetContext ¶
func (o *SnapmirrorRelationshipGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) SetDefaults ¶
func (o *SnapmirrorRelationshipGetParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipGetParams) SetFields ¶
func (o *SnapmirrorRelationshipGetParams) SetFields(fields []string)
SetFields adds the fields to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) SetListDestinationsOnly ¶
func (o *SnapmirrorRelationshipGetParams) SetListDestinationsOnly(listDestinationsOnly *bool)
SetListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) SetTimeout ¶
func (o *SnapmirrorRelationshipGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) SetUUID ¶
func (o *SnapmirrorRelationshipGetParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WithContext ¶
func (o *SnapmirrorRelationshipGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipGetParams
WithContext adds the context to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WithDefaults ¶
func (o *SnapmirrorRelationshipGetParams) WithDefaults() *SnapmirrorRelationshipGetParams
WithDefaults hydrates default values in the snapmirror relationship get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipGetParams) WithFields ¶
func (o *SnapmirrorRelationshipGetParams) WithFields(fields []string) *SnapmirrorRelationshipGetParams
WithFields adds the fields to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WithListDestinationsOnly ¶
func (o *SnapmirrorRelationshipGetParams) WithListDestinationsOnly(listDestinationsOnly *bool) *SnapmirrorRelationshipGetParams
WithListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WithTimeout ¶
func (o *SnapmirrorRelationshipGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams
WithTimeout adds the timeout to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WithUUID ¶
func (o *SnapmirrorRelationshipGetParams) WithUUID(uuid string) *SnapmirrorRelationshipGetParams
WithUUID adds the uuid to the snapmirror relationship get params
func (*SnapmirrorRelationshipGetParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipGetReader ¶
type SnapmirrorRelationshipGetReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipGetReader is a Reader for the SnapmirrorRelationshipGet structure.
func (*SnapmirrorRelationshipGetReader) ReadResponse ¶
func (o *SnapmirrorRelationshipGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipModifyAccepted ¶
type SnapmirrorRelationshipModifyAccepted struct {
Payload *models.JobLinkResponse
}
SnapmirrorRelationshipModifyAccepted describes a response with status code 202, with default header values.
Accepted
func NewSnapmirrorRelationshipModifyAccepted ¶
func NewSnapmirrorRelationshipModifyAccepted() *SnapmirrorRelationshipModifyAccepted
NewSnapmirrorRelationshipModifyAccepted creates a SnapmirrorRelationshipModifyAccepted with default headers values
func (*SnapmirrorRelationshipModifyAccepted) Code ¶
func (o *SnapmirrorRelationshipModifyAccepted) Code() int
Code gets the status code for the snapmirror relationship modify accepted response
func (*SnapmirrorRelationshipModifyAccepted) Error ¶
func (o *SnapmirrorRelationshipModifyAccepted) Error() string
func (*SnapmirrorRelationshipModifyAccepted) GetPayload ¶
func (o *SnapmirrorRelationshipModifyAccepted) GetPayload() *models.JobLinkResponse
func (*SnapmirrorRelationshipModifyAccepted) IsClientError ¶
func (o *SnapmirrorRelationshipModifyAccepted) IsClientError() bool
IsClientError returns true when this snapmirror relationship modify accepted response has a 4xx status code
func (*SnapmirrorRelationshipModifyAccepted) IsCode ¶
func (o *SnapmirrorRelationshipModifyAccepted) IsCode(code int) bool
IsCode returns true when this snapmirror relationship modify accepted response a status code equal to that given
func (*SnapmirrorRelationshipModifyAccepted) IsRedirect ¶
func (o *SnapmirrorRelationshipModifyAccepted) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship modify accepted response has a 3xx status code
func (*SnapmirrorRelationshipModifyAccepted) IsServerError ¶
func (o *SnapmirrorRelationshipModifyAccepted) IsServerError() bool
IsServerError returns true when this snapmirror relationship modify accepted response has a 5xx status code
func (*SnapmirrorRelationshipModifyAccepted) IsSuccess ¶
func (o *SnapmirrorRelationshipModifyAccepted) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship modify accepted response has a 2xx status code
func (*SnapmirrorRelationshipModifyAccepted) String ¶
func (o *SnapmirrorRelationshipModifyAccepted) String() string
type SnapmirrorRelationshipModifyDefault ¶
type SnapmirrorRelationshipModifyDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipModifyDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the SnapMirror state | | 13303829 | Invalid state | | 13303830 | Transient state | | 13303831 | Invalid state for async SnapMirror relationship | | 13303834 | Given input valid only for FlexGroup SnapMirror relationship | | 13303835 | Given flag is valid only when PATCH state is broken_off | | 13303836 | Given flag is valid only when PATCH state is snapmirrored or in_sync | | 13303818 | Invalid state transition requested | | 13303828 | Given state change is not possible for SVM SnapMirror relationship | | 13303833 | Requested state change is not possible | | 13303832 | SnapMirror relationship is already initialized | | 13303824 | Quiescing the SnapMirror relationship has failed | | 13303826 | Required environment variables are not set | | 13303827 | Internal Error | | 13303823 | Quiesce operation timed out | | 13303821 | Invalid SnapMirror policy name/UUID | | 13303819 | Could not retrieve SnapMirror policy information | | 13303851 | Cannot modify attributes of SnapMirror restore relationship | | 13303816 | Could not retrieve state or status values | | 13303837 | Given flags are valid only if SnapMirror state change is requested | | 6619546 | Destination must be a dp volume | | 13303808 | Transition to broken_off state failed | | 13303809 | Transition to paused state failed | | 13303810 | Transition to snapmirrored state failed | | 13303811 | Transition from paused state failed | | 13303820 | SnapMirror policy, transfer_schedule, and throttle, if specified were successfully updated, state transition failed | | 13303856 | SVM is not configured with any data protocol | | 13303857 | SVM is not configured with any network interface | | 13303858 | Internal error. Failed to check LIF and protocols details for SVM | | 13303859 | Internal error. SVM Failover operation failed. SVM operational state is unavailable. | | 13303865 | Modifying the specified SnapMirror policy is not supported. | | 13303866 | Cannot use the specified policy to modify the policy of the relationship. | | 13303867 | Modifying the policy of an async-mirror or a vault relationship is not supported. | | 13303884 | LIF and protocols details are configured incorrectly for SVM. | | 13303996 | The source and destination clusters both have a policy with the same name, but they have different properties. | | 13304062 | Cannot reverse the direction of a SnapMirror DP relationship when the source cluster version is earlier than the destination cluster version. | | 13304070 | Remote peer cluster requires the dp_rest_support capability to support reversing the direction of a DP relationship. | | 13304071 | Failed to access capabilities on remote cluster. | | 13304080 | Specified uuid and name do not match. | | 13304081 | Modifying a property during the opertaion is not supported. | | 13304082 | The specified properties are mutually exclusive. | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting the property. | | 13304086 | Reversing the direction of a SnapMirror relationship associated with a policy containing the property create_snapshot_on_source set to false is not supported. | | 6619715 | Modification of relationship is in progress. Retry the command after a few minutes. | | 6619699 | Schedule not found. | | 13304108 | Schedule not found in the Administrative SVM or the SVM for the relationship. | | 13304111 | The SnapMirror active sync relationship consistency groups are nested. Expanding an SnapMirror active sync relationship with a pre-existing DP volume is only supported for flat consistency groups. | | 6621458 | The destination Consistency Group is the source of a SnapMirror Synchronous (SM-S) relationship. Sources of SM-S relationships cannot be the destination of any other SnapMirror relationship. | | 6621782 | A property of the policy is not valid for relationships between these endpoints. | | 13304120 | Values specified for the source.path and destination.path properties do not match the relationship's source.path or destination.path properties.
| 13304003 | IntraCluster flip operation is not supported. | | 6621125 | The policy is not valid for relationships with FlexGroup volume endpoints. Only policies without Snapshot copy creation schedules are supported for these relationships. | | 13304093 | The property specified is not supported for the specified relationships. | | 6622077 | The expand operation has failed on the SnapMirror active sync relationship with specified destination path. |
func NewSnapmirrorRelationshipModifyDefault ¶
func NewSnapmirrorRelationshipModifyDefault(code int) *SnapmirrorRelationshipModifyDefault
NewSnapmirrorRelationshipModifyDefault creates a SnapmirrorRelationshipModifyDefault with default headers values
func (*SnapmirrorRelationshipModifyDefault) Code ¶
func (o *SnapmirrorRelationshipModifyDefault) Code() int
Code gets the status code for the snapmirror relationship modify default response
func (*SnapmirrorRelationshipModifyDefault) Error ¶
func (o *SnapmirrorRelationshipModifyDefault) Error() string
func (*SnapmirrorRelationshipModifyDefault) GetPayload ¶
func (o *SnapmirrorRelationshipModifyDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipModifyDefault) IsClientError ¶
func (o *SnapmirrorRelationshipModifyDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship modify default response has a 4xx status code
func (*SnapmirrorRelationshipModifyDefault) IsCode ¶
func (o *SnapmirrorRelationshipModifyDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship modify default response a status code equal to that given
func (*SnapmirrorRelationshipModifyDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipModifyDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship modify default response has a 3xx status code
func (*SnapmirrorRelationshipModifyDefault) IsServerError ¶
func (o *SnapmirrorRelationshipModifyDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship modify default response has a 5xx status code
func (*SnapmirrorRelationshipModifyDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipModifyDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship modify default response has a 2xx status code
func (*SnapmirrorRelationshipModifyDefault) String ¶
func (o *SnapmirrorRelationshipModifyDefault) String() string
type SnapmirrorRelationshipModifyOK ¶
type SnapmirrorRelationshipModifyOK struct {
Payload *models.JobLinkResponse
}
SnapmirrorRelationshipModifyOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipModifyOK ¶
func NewSnapmirrorRelationshipModifyOK() *SnapmirrorRelationshipModifyOK
NewSnapmirrorRelationshipModifyOK creates a SnapmirrorRelationshipModifyOK with default headers values
func (*SnapmirrorRelationshipModifyOK) Code ¶
func (o *SnapmirrorRelationshipModifyOK) Code() int
Code gets the status code for the snapmirror relationship modify o k response
func (*SnapmirrorRelationshipModifyOK) Error ¶
func (o *SnapmirrorRelationshipModifyOK) Error() string
func (*SnapmirrorRelationshipModifyOK) GetPayload ¶
func (o *SnapmirrorRelationshipModifyOK) GetPayload() *models.JobLinkResponse
func (*SnapmirrorRelationshipModifyOK) IsClientError ¶
func (o *SnapmirrorRelationshipModifyOK) IsClientError() bool
IsClientError returns true when this snapmirror relationship modify o k response has a 4xx status code
func (*SnapmirrorRelationshipModifyOK) IsCode ¶
func (o *SnapmirrorRelationshipModifyOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationship modify o k response a status code equal to that given
func (*SnapmirrorRelationshipModifyOK) IsRedirect ¶
func (o *SnapmirrorRelationshipModifyOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship modify o k response has a 3xx status code
func (*SnapmirrorRelationshipModifyOK) IsServerError ¶
func (o *SnapmirrorRelationshipModifyOK) IsServerError() bool
IsServerError returns true when this snapmirror relationship modify o k response has a 5xx status code
func (*SnapmirrorRelationshipModifyOK) IsSuccess ¶
func (o *SnapmirrorRelationshipModifyOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship modify o k response has a 2xx status code
func (*SnapmirrorRelationshipModifyOK) String ¶
func (o *SnapmirrorRelationshipModifyOK) String() string
type SnapmirrorRelationshipModifyParams ¶
type SnapmirrorRelationshipModifyParams struct { /* Failback. If this parameter is set while specifying the state as "snapmirrored", indicates recovery of the failed over SnapMirror relationship by preserving the data written on the destination endpoint when the SnapMirror relationship was in failed over state. This flag is only applicable to SVM-DR SnapMirror relationships. */ Failback *bool /* Failover. If this parameter is set, validation and failover will occur to the SVM-DR SnapMirror relationship destination endpoint. Any other fields specified with this parameter will be ignored. This parameter is supported only for SVM-DR SnapMirror relationships. */ Failover *bool /* Force. If this parameter is set while specifying the state as "broken_off", indicates a forced failover overriding the validation errors. */ Force *bool /* ForceFailover. If this parameter is set, failover will occur to the SVM-DR SnapMirror relationship destination endpoint, overriding the validation errors. Any other fields specified with this parameter will be ignored. This parameter is supported only for SVM-DR SnapMirror relationships. */ ForceFailover *bool /* Info. Information on the SnapMirror relationship. */ Info *models.SnapmirrorRelationship /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 /* UUID. SnapMirror relationship UUID */ UUID string /* ValidateOnly. Validate the operation and its parameters, without actually performing the operation. */ ValidateOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipModifyParams contains all the parameters to send to the API endpoint
for the snapmirror relationship modify operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipModifyParams ¶
func NewSnapmirrorRelationshipModifyParams() *SnapmirrorRelationshipModifyParams
NewSnapmirrorRelationshipModifyParams creates a new SnapmirrorRelationshipModifyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipModifyParamsWithContext ¶
func NewSnapmirrorRelationshipModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams
NewSnapmirrorRelationshipModifyParamsWithContext creates a new SnapmirrorRelationshipModifyParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipModifyParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams
NewSnapmirrorRelationshipModifyParamsWithHTTPClient creates a new SnapmirrorRelationshipModifyParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipModifyParamsWithTimeout ¶
func NewSnapmirrorRelationshipModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams
NewSnapmirrorRelationshipModifyParamsWithTimeout creates a new SnapmirrorRelationshipModifyParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipModifyParams) SetContext ¶
func (o *SnapmirrorRelationshipModifyParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetDefaults ¶
func (o *SnapmirrorRelationshipModifyParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship modify params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipModifyParams) SetFailback ¶
func (o *SnapmirrorRelationshipModifyParams) SetFailback(failback *bool)
SetFailback adds the failback to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetFailover ¶
func (o *SnapmirrorRelationshipModifyParams) SetFailover(failover *bool)
SetFailover adds the failover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetForce ¶
func (o *SnapmirrorRelationshipModifyParams) SetForce(force *bool)
SetForce adds the force to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetForceFailover ¶
func (o *SnapmirrorRelationshipModifyParams) SetForceFailover(forceFailover *bool)
SetForceFailover adds the forceFailover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipModifyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetInfo ¶
func (o *SnapmirrorRelationshipModifyParams) SetInfo(info *models.SnapmirrorRelationship)
SetInfo adds the info to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetReturnTimeout ¶
func (o *SnapmirrorRelationshipModifyParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetTimeout ¶
func (o *SnapmirrorRelationshipModifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetUUID ¶
func (o *SnapmirrorRelationshipModifyParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetValidateOnly ¶
func (o *SnapmirrorRelationshipModifyParams) SetValidateOnly(validateOnly *bool)
SetValidateOnly adds the validateOnly to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithContext ¶
func (o *SnapmirrorRelationshipModifyParams) WithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams
WithContext adds the context to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithDefaults ¶
func (o *SnapmirrorRelationshipModifyParams) WithDefaults() *SnapmirrorRelationshipModifyParams
WithDefaults hydrates default values in the snapmirror relationship modify params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipModifyParams) WithFailback ¶
func (o *SnapmirrorRelationshipModifyParams) WithFailback(failback *bool) *SnapmirrorRelationshipModifyParams
WithFailback adds the failback to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithFailover ¶
func (o *SnapmirrorRelationshipModifyParams) WithFailover(failover *bool) *SnapmirrorRelationshipModifyParams
WithFailover adds the failover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithForce ¶
func (o *SnapmirrorRelationshipModifyParams) WithForce(force *bool) *SnapmirrorRelationshipModifyParams
WithForce adds the force to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithForceFailover ¶
func (o *SnapmirrorRelationshipModifyParams) WithForceFailover(forceFailover *bool) *SnapmirrorRelationshipModifyParams
WithForceFailover adds the forceFailover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithInfo ¶
func (o *SnapmirrorRelationshipModifyParams) WithInfo(info *models.SnapmirrorRelationship) *SnapmirrorRelationshipModifyParams
WithInfo adds the info to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithReturnTimeout ¶
func (o *SnapmirrorRelationshipModifyParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipModifyParams
WithReturnTimeout adds the returnTimeout to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithTimeout ¶
func (o *SnapmirrorRelationshipModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams
WithTimeout adds the timeout to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithUUID ¶
func (o *SnapmirrorRelationshipModifyParams) WithUUID(uuid string) *SnapmirrorRelationshipModifyParams
WithUUID adds the uuid to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithValidateOnly ¶
func (o *SnapmirrorRelationshipModifyParams) WithValidateOnly(validateOnly *bool) *SnapmirrorRelationshipModifyParams
WithValidateOnly adds the validateOnly to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipModifyReader ¶
type SnapmirrorRelationshipModifyReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipModifyReader is a Reader for the SnapmirrorRelationshipModify structure.
func (*SnapmirrorRelationshipModifyReader) ReadResponse ¶
func (o *SnapmirrorRelationshipModifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipTransferCreateCreated ¶
type SnapmirrorRelationshipTransferCreateCreated struct { /* Useful for tracking the resource location */ Location string }
SnapmirrorRelationshipTransferCreateCreated describes a response with status code 201, with default header values.
Created
func NewSnapmirrorRelationshipTransferCreateCreated ¶
func NewSnapmirrorRelationshipTransferCreateCreated() *SnapmirrorRelationshipTransferCreateCreated
NewSnapmirrorRelationshipTransferCreateCreated creates a SnapmirrorRelationshipTransferCreateCreated with default headers values
func (*SnapmirrorRelationshipTransferCreateCreated) Code ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) Code() int
Code gets the status code for the snapmirror relationship transfer create created response
func (*SnapmirrorRelationshipTransferCreateCreated) Error ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) Error() string
func (*SnapmirrorRelationshipTransferCreateCreated) IsClientError ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfer create created response has a 4xx status code
func (*SnapmirrorRelationshipTransferCreateCreated) IsCode ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfer create created response a status code equal to that given
func (*SnapmirrorRelationshipTransferCreateCreated) IsRedirect ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfer create created response has a 3xx status code
func (*SnapmirrorRelationshipTransferCreateCreated) IsServerError ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfer create created response has a 5xx status code
func (*SnapmirrorRelationshipTransferCreateCreated) IsSuccess ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfer create created response has a 2xx status code
func (*SnapmirrorRelationshipTransferCreateCreated) String ¶
func (o *SnapmirrorRelationshipTransferCreateCreated) String() string
type SnapmirrorRelationshipTransferCreateDefault ¶
type SnapmirrorRelationshipTransferCreateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipTransferCreateDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303845 | Restore operation failed | | 13303812 | Initialize operation failed | | 13303844 | Update operation failed | | 13303846 | Empty source path file list | | 13303847 | Invalid property | | 13304040 | Throttle not supported for update of Synchronous SnapMirror relationships | | 6620237 | SnapMirror relationship database write failed | | 6620238 | SnapMirror relationship database read failed | | 13304134 | The overwrite property specified does not match the value specified in the previous request. ||
func NewSnapmirrorRelationshipTransferCreateDefault ¶
func NewSnapmirrorRelationshipTransferCreateDefault(code int) *SnapmirrorRelationshipTransferCreateDefault
NewSnapmirrorRelationshipTransferCreateDefault creates a SnapmirrorRelationshipTransferCreateDefault with default headers values
func (*SnapmirrorRelationshipTransferCreateDefault) Code ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) Code() int
Code gets the status code for the snapmirror relationship transfer create default response
func (*SnapmirrorRelationshipTransferCreateDefault) Error ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) Error() string
func (*SnapmirrorRelationshipTransferCreateDefault) GetPayload ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipTransferCreateDefault) IsClientError ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfer create default response has a 4xx status code
func (*SnapmirrorRelationshipTransferCreateDefault) IsCode ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfer create default response a status code equal to that given
func (*SnapmirrorRelationshipTransferCreateDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfer create default response has a 3xx status code
func (*SnapmirrorRelationshipTransferCreateDefault) IsServerError ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfer create default response has a 5xx status code
func (*SnapmirrorRelationshipTransferCreateDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfer create default response has a 2xx status code
func (*SnapmirrorRelationshipTransferCreateDefault) String ¶
func (o *SnapmirrorRelationshipTransferCreateDefault) String() string
type SnapmirrorRelationshipTransferCreateParams ¶
type SnapmirrorRelationshipTransferCreateParams struct { /* Info. Information on the SnapMirror transfer */ Info *models.SnapmirrorTransfer /* RelationshipUUID. SnapMirror relationship UUID */ RelationshipUUID string /* ReturnRecords. The default is false. If set to true, the records are returned. */ ReturnRecords *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeout *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipTransferCreateParams contains all the parameters to send to the API endpoint
for the snapmirror relationship transfer create operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipTransferCreateParams ¶
func NewSnapmirrorRelationshipTransferCreateParams() *SnapmirrorRelationshipTransferCreateParams
NewSnapmirrorRelationshipTransferCreateParams creates a new SnapmirrorRelationshipTransferCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipTransferCreateParamsWithContext ¶
func NewSnapmirrorRelationshipTransferCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferCreateParams
NewSnapmirrorRelationshipTransferCreateParamsWithContext creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferCreateParams
NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout ¶
func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferCreateParams
NewSnapmirrorRelationshipTransferCreateParamsWithTimeout creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipTransferCreateParams) SetContext ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetDefaults ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship transfer create params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransferCreateParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetInfo ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetInfo(info *models.SnapmirrorTransfer)
SetInfo adds the info to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetRelationshipUUID(relationshipUUID string)
SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetReturnRecords ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnRecords(returnRecords *bool)
SetReturnRecords adds the returnRecords to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetReturnTimeout ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetTimeout ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithContext ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferCreateParams
WithContext adds the context to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithDefaults ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithDefaults() *SnapmirrorRelationshipTransferCreateParams
WithDefaults hydrates default values in the snapmirror relationship transfer create params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransferCreateParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferCreateParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithInfo ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithInfo(info *models.SnapmirrorTransfer) *SnapmirrorRelationshipTransferCreateParams
WithInfo adds the info to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransferCreateParams
WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithReturnRecords ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipTransferCreateParams
WithReturnRecords adds the returnRecords to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithReturnTimeout ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipTransferCreateParams
WithReturnTimeout adds the returnTimeout to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithTimeout ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferCreateParams
WithTimeout adds the timeout to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipTransferCreateReader ¶
type SnapmirrorRelationshipTransferCreateReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipTransferCreateReader is a Reader for the SnapmirrorRelationshipTransferCreate structure.
func (*SnapmirrorRelationshipTransferCreateReader) ReadResponse ¶
func (o *SnapmirrorRelationshipTransferCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipTransferGetDefault ¶
type SnapmirrorRelationshipTransferGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipTransferGetDefault describes a response with status code -1, with default header values.
Error
func NewSnapmirrorRelationshipTransferGetDefault ¶
func NewSnapmirrorRelationshipTransferGetDefault(code int) *SnapmirrorRelationshipTransferGetDefault
NewSnapmirrorRelationshipTransferGetDefault creates a SnapmirrorRelationshipTransferGetDefault with default headers values
func (*SnapmirrorRelationshipTransferGetDefault) Code ¶
func (o *SnapmirrorRelationshipTransferGetDefault) Code() int
Code gets the status code for the snapmirror relationship transfer get default response
func (*SnapmirrorRelationshipTransferGetDefault) Error ¶
func (o *SnapmirrorRelationshipTransferGetDefault) Error() string
func (*SnapmirrorRelationshipTransferGetDefault) GetPayload ¶
func (o *SnapmirrorRelationshipTransferGetDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipTransferGetDefault) IsClientError ¶
func (o *SnapmirrorRelationshipTransferGetDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfer get default response has a 4xx status code
func (*SnapmirrorRelationshipTransferGetDefault) IsCode ¶
func (o *SnapmirrorRelationshipTransferGetDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfer get default response a status code equal to that given
func (*SnapmirrorRelationshipTransferGetDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipTransferGetDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfer get default response has a 3xx status code
func (*SnapmirrorRelationshipTransferGetDefault) IsServerError ¶
func (o *SnapmirrorRelationshipTransferGetDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfer get default response has a 5xx status code
func (*SnapmirrorRelationshipTransferGetDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipTransferGetDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfer get default response has a 2xx status code
func (*SnapmirrorRelationshipTransferGetDefault) String ¶
func (o *SnapmirrorRelationshipTransferGetDefault) String() string
type SnapmirrorRelationshipTransferGetOK ¶
type SnapmirrorRelationshipTransferGetOK struct {
Payload *models.SnapmirrorTransfer
}
SnapmirrorRelationshipTransferGetOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipTransferGetOK ¶
func NewSnapmirrorRelationshipTransferGetOK() *SnapmirrorRelationshipTransferGetOK
NewSnapmirrorRelationshipTransferGetOK creates a SnapmirrorRelationshipTransferGetOK with default headers values
func (*SnapmirrorRelationshipTransferGetOK) Code ¶
func (o *SnapmirrorRelationshipTransferGetOK) Code() int
Code gets the status code for the snapmirror relationship transfer get o k response
func (*SnapmirrorRelationshipTransferGetOK) Error ¶
func (o *SnapmirrorRelationshipTransferGetOK) Error() string
func (*SnapmirrorRelationshipTransferGetOK) GetPayload ¶
func (o *SnapmirrorRelationshipTransferGetOK) GetPayload() *models.SnapmirrorTransfer
func (*SnapmirrorRelationshipTransferGetOK) IsClientError ¶
func (o *SnapmirrorRelationshipTransferGetOK) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfer get o k response has a 4xx status code
func (*SnapmirrorRelationshipTransferGetOK) IsCode ¶
func (o *SnapmirrorRelationshipTransferGetOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfer get o k response a status code equal to that given
func (*SnapmirrorRelationshipTransferGetOK) IsRedirect ¶
func (o *SnapmirrorRelationshipTransferGetOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfer get o k response has a 3xx status code
func (*SnapmirrorRelationshipTransferGetOK) IsServerError ¶
func (o *SnapmirrorRelationshipTransferGetOK) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfer get o k response has a 5xx status code
func (*SnapmirrorRelationshipTransferGetOK) IsSuccess ¶
func (o *SnapmirrorRelationshipTransferGetOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfer get o k response has a 2xx status code
func (*SnapmirrorRelationshipTransferGetOK) String ¶
func (o *SnapmirrorRelationshipTransferGetOK) String() string
type SnapmirrorRelationshipTransferGetParams ¶
type SnapmirrorRelationshipTransferGetParams struct { /* Fields. Specify the fields to return. */ Fields []string /* RelationshipUUID. SnapMirror relationship UUID */ RelationshipUUID string /* UUID. SnapMirror transfer UUID */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipTransferGetParams contains all the parameters to send to the API endpoint
for the snapmirror relationship transfer get operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipTransferGetParams ¶
func NewSnapmirrorRelationshipTransferGetParams() *SnapmirrorRelationshipTransferGetParams
NewSnapmirrorRelationshipTransferGetParams creates a new SnapmirrorRelationshipTransferGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipTransferGetParamsWithContext ¶
func NewSnapmirrorRelationshipTransferGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams
NewSnapmirrorRelationshipTransferGetParamsWithContext creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams
NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipTransferGetParamsWithTimeout ¶
func NewSnapmirrorRelationshipTransferGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams
NewSnapmirrorRelationshipTransferGetParamsWithTimeout creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipTransferGetParams) SetContext ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) SetDefaults ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship transfer get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransferGetParams) SetFields ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetFields(fields []string)
SetFields adds the fields to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) SetRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetRelationshipUUID(relationshipUUID string)
SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) SetTimeout ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) SetUUID ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WithContext ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams
WithContext adds the context to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WithDefaults ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithDefaults() *SnapmirrorRelationshipTransferGetParams
WithDefaults hydrates default values in the snapmirror relationship transfer get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransferGetParams) WithFields ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithFields(fields []string) *SnapmirrorRelationshipTransferGetParams
WithFields adds the fields to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WithRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransferGetParams
WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WithTimeout ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams
WithTimeout adds the timeout to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WithUUID ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithUUID(uuid string) *SnapmirrorRelationshipTransferGetParams
WithUUID adds the uuid to the snapmirror relationship transfer get params
func (*SnapmirrorRelationshipTransferGetParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipTransferGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipTransferGetReader ¶
type SnapmirrorRelationshipTransferGetReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipTransferGetReader is a Reader for the SnapmirrorRelationshipTransferGet structure.
func (*SnapmirrorRelationshipTransferGetReader) ReadResponse ¶
func (o *SnapmirrorRelationshipTransferGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipTransferModifyDefault ¶
type SnapmirrorRelationshipTransferModifyDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipTransferModifyDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303848 | Abort of sync SnapMirror is not allowed | | 13303849 | SnapMirror transfer state is invalid |
func NewSnapmirrorRelationshipTransferModifyDefault ¶
func NewSnapmirrorRelationshipTransferModifyDefault(code int) *SnapmirrorRelationshipTransferModifyDefault
NewSnapmirrorRelationshipTransferModifyDefault creates a SnapmirrorRelationshipTransferModifyDefault with default headers values
func (*SnapmirrorRelationshipTransferModifyDefault) Code ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) Code() int
Code gets the status code for the snapmirror relationship transfer modify default response
func (*SnapmirrorRelationshipTransferModifyDefault) Error ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) Error() string
func (*SnapmirrorRelationshipTransferModifyDefault) GetPayload ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipTransferModifyDefault) IsClientError ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfer modify default response has a 4xx status code
func (*SnapmirrorRelationshipTransferModifyDefault) IsCode ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfer modify default response a status code equal to that given
func (*SnapmirrorRelationshipTransferModifyDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfer modify default response has a 3xx status code
func (*SnapmirrorRelationshipTransferModifyDefault) IsServerError ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfer modify default response has a 5xx status code
func (*SnapmirrorRelationshipTransferModifyDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfer modify default response has a 2xx status code
func (*SnapmirrorRelationshipTransferModifyDefault) String ¶
func (o *SnapmirrorRelationshipTransferModifyDefault) String() string
type SnapmirrorRelationshipTransferModifyOK ¶
type SnapmirrorRelationshipTransferModifyOK struct { }
SnapmirrorRelationshipTransferModifyOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipTransferModifyOK ¶
func NewSnapmirrorRelationshipTransferModifyOK() *SnapmirrorRelationshipTransferModifyOK
NewSnapmirrorRelationshipTransferModifyOK creates a SnapmirrorRelationshipTransferModifyOK with default headers values
func (*SnapmirrorRelationshipTransferModifyOK) Code ¶
func (o *SnapmirrorRelationshipTransferModifyOK) Code() int
Code gets the status code for the snapmirror relationship transfer modify o k response
func (*SnapmirrorRelationshipTransferModifyOK) Error ¶
func (o *SnapmirrorRelationshipTransferModifyOK) Error() string
func (*SnapmirrorRelationshipTransferModifyOK) IsClientError ¶
func (o *SnapmirrorRelationshipTransferModifyOK) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfer modify o k response has a 4xx status code
func (*SnapmirrorRelationshipTransferModifyOK) IsCode ¶
func (o *SnapmirrorRelationshipTransferModifyOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfer modify o k response a status code equal to that given
func (*SnapmirrorRelationshipTransferModifyOK) IsRedirect ¶
func (o *SnapmirrorRelationshipTransferModifyOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfer modify o k response has a 3xx status code
func (*SnapmirrorRelationshipTransferModifyOK) IsServerError ¶
func (o *SnapmirrorRelationshipTransferModifyOK) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfer modify o k response has a 5xx status code
func (*SnapmirrorRelationshipTransferModifyOK) IsSuccess ¶
func (o *SnapmirrorRelationshipTransferModifyOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfer modify o k response has a 2xx status code
func (*SnapmirrorRelationshipTransferModifyOK) String ¶
func (o *SnapmirrorRelationshipTransferModifyOK) String() string
type SnapmirrorRelationshipTransferModifyParams ¶
type SnapmirrorRelationshipTransferModifyParams struct { /* Info. Information on the SnapMirror transfer */ Info *models.SnapmirrorTransfer /* RelationshipUUID. SnapMirror relationship UUID */ RelationshipUUID string /* UUID. SnapMirror transfer UUID */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipTransferModifyParams contains all the parameters to send to the API endpoint
for the snapmirror relationship transfer modify operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipTransferModifyParams ¶
func NewSnapmirrorRelationshipTransferModifyParams() *SnapmirrorRelationshipTransferModifyParams
NewSnapmirrorRelationshipTransferModifyParams creates a new SnapmirrorRelationshipTransferModifyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipTransferModifyParamsWithContext ¶
func NewSnapmirrorRelationshipTransferModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferModifyParams
NewSnapmirrorRelationshipTransferModifyParamsWithContext creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferModifyParams
NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout ¶
func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams
NewSnapmirrorRelationshipTransferModifyParamsWithTimeout creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipTransferModifyParams) SetContext ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) SetDefaults ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship transfer modify params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransferModifyParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) SetInfo ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetInfo(info *models.SnapmirrorTransfer)
SetInfo adds the info to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) SetRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetRelationshipUUID(relationshipUUID string)
SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) SetTimeout ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) SetUUID ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetUUID(uuid string)
SetUUID adds the uuid to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WithContext ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferModifyParams
WithContext adds the context to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WithDefaults ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithDefaults() *SnapmirrorRelationshipTransferModifyParams
WithDefaults hydrates default values in the snapmirror relationship transfer modify params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransferModifyParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferModifyParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WithInfo ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithInfo(info *models.SnapmirrorTransfer) *SnapmirrorRelationshipTransferModifyParams
WithInfo adds the info to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WithRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransferModifyParams
WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WithTimeout ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams
WithTimeout adds the timeout to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WithUUID ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithUUID(uuid string) *SnapmirrorRelationshipTransferModifyParams
WithUUID adds the uuid to the snapmirror relationship transfer modify params
func (*SnapmirrorRelationshipTransferModifyParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipTransferModifyReader ¶
type SnapmirrorRelationshipTransferModifyReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipTransferModifyReader is a Reader for the SnapmirrorRelationshipTransferModify structure.
func (*SnapmirrorRelationshipTransferModifyReader) ReadResponse ¶
func (o *SnapmirrorRelationshipTransferModifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipTransfersGetDefault ¶
type SnapmirrorRelationshipTransfersGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipTransfersGetDefault describes a response with status code -1, with default header values.
Error
func NewSnapmirrorRelationshipTransfersGetDefault ¶
func NewSnapmirrorRelationshipTransfersGetDefault(code int) *SnapmirrorRelationshipTransfersGetDefault
NewSnapmirrorRelationshipTransfersGetDefault creates a SnapmirrorRelationshipTransfersGetDefault with default headers values
func (*SnapmirrorRelationshipTransfersGetDefault) Code ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) Code() int
Code gets the status code for the snapmirror relationship transfers get default response
func (*SnapmirrorRelationshipTransfersGetDefault) Error ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) Error() string
func (*SnapmirrorRelationshipTransfersGetDefault) GetPayload ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipTransfersGetDefault) IsClientError ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfers get default response has a 4xx status code
func (*SnapmirrorRelationshipTransfersGetDefault) IsCode ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfers get default response a status code equal to that given
func (*SnapmirrorRelationshipTransfersGetDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfers get default response has a 3xx status code
func (*SnapmirrorRelationshipTransfersGetDefault) IsServerError ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfers get default response has a 5xx status code
func (*SnapmirrorRelationshipTransfersGetDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfers get default response has a 2xx status code
func (*SnapmirrorRelationshipTransfersGetDefault) String ¶
func (o *SnapmirrorRelationshipTransfersGetDefault) String() string
type SnapmirrorRelationshipTransfersGetOK ¶
type SnapmirrorRelationshipTransfersGetOK struct {
Payload *models.SnapmirrorTransferResponse
}
SnapmirrorRelationshipTransfersGetOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipTransfersGetOK ¶
func NewSnapmirrorRelationshipTransfersGetOK() *SnapmirrorRelationshipTransfersGetOK
NewSnapmirrorRelationshipTransfersGetOK creates a SnapmirrorRelationshipTransfersGetOK with default headers values
func (*SnapmirrorRelationshipTransfersGetOK) Code ¶
func (o *SnapmirrorRelationshipTransfersGetOK) Code() int
Code gets the status code for the snapmirror relationship transfers get o k response
func (*SnapmirrorRelationshipTransfersGetOK) Error ¶
func (o *SnapmirrorRelationshipTransfersGetOK) Error() string
func (*SnapmirrorRelationshipTransfersGetOK) GetPayload ¶
func (o *SnapmirrorRelationshipTransfersGetOK) GetPayload() *models.SnapmirrorTransferResponse
func (*SnapmirrorRelationshipTransfersGetOK) IsClientError ¶
func (o *SnapmirrorRelationshipTransfersGetOK) IsClientError() bool
IsClientError returns true when this snapmirror relationship transfers get o k response has a 4xx status code
func (*SnapmirrorRelationshipTransfersGetOK) IsCode ¶
func (o *SnapmirrorRelationshipTransfersGetOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationship transfers get o k response a status code equal to that given
func (*SnapmirrorRelationshipTransfersGetOK) IsRedirect ¶
func (o *SnapmirrorRelationshipTransfersGetOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationship transfers get o k response has a 3xx status code
func (*SnapmirrorRelationshipTransfersGetOK) IsServerError ¶
func (o *SnapmirrorRelationshipTransfersGetOK) IsServerError() bool
IsServerError returns true when this snapmirror relationship transfers get o k response has a 5xx status code
func (*SnapmirrorRelationshipTransfersGetOK) IsSuccess ¶
func (o *SnapmirrorRelationshipTransfersGetOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationship transfers get o k response has a 2xx status code
func (*SnapmirrorRelationshipTransfersGetOK) String ¶
func (o *SnapmirrorRelationshipTransfersGetOK) String() string
type SnapmirrorRelationshipTransfersGetParams ¶
type SnapmirrorRelationshipTransfersGetParams struct { /* BytesTransferred. Filter by bytes_transferred */ BytesTransferred *int64 /* CheckpointSize. Filter by checkpoint_size */ CheckpointSize *int64 /* EndTime. Filter by end_time */ EndTime *string /* ErrorInfoCode. Filter by error_info.code */ ErrorInfoCode *int64 /* ErrorInfoMessage. Filter by error_info.message */ ErrorInfoMessage *string /* Fields. Specify the fields to return. */ Fields []string /* LastUpdatedTime. Filter by last_updated_time */ LastUpdatedTime *string /* MaxRecords. Limit the number of records returned. */ MaxRecords *int64 /* NetworkCompressionRatio. Filter by network_compression_ratio */ NetworkCompressionRatio *string /* OnDemandAttrs. Filter by on_demand_attrs */ OnDemandAttrs *string /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderBy []string /* RelationshipDestinationClusterName. Filter by relationship.destination.cluster.name */ RelationshipDestinationClusterName *string /* RelationshipDestinationClusterUUID. Filter by relationship.destination.cluster.uuid */ RelationshipDestinationClusterUUID *string /* RelationshipDestinationConsistencyGroupVolumesName. Filter by relationship.destination.consistency_group_volumes.name */ RelationshipDestinationConsistencyGroupVolumesName *string /* RelationshipDestinationPath. Filter by relationship.destination.path */ RelationshipDestinationPath *string /* RelationshipDestinationSvmName. Filter by relationship.destination.svm.name */ RelationshipDestinationSvmName *string /* RelationshipDestinationSvmUUID. Filter by relationship.destination.svm.uuid */ RelationshipDestinationSvmUUID *string /* RelationshipRestore. Filter by relationship.restore */ RelationshipRestore *bool /* RelationshipUUID. SnapMirror relationship UUID */ RelationshipUUID string /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecords *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached. Default: 15 */ ReturnTimeout *int64 /* Snapshot. Filter by snapshot */ Snapshot *string /* State. Filter by state */ State *string /* Throttle. Filter by throttle */ Throttle *int64 /* TotalDuration. Filter by total_duration */ TotalDuration *string /* UUID. Filter by uuid */ UUID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipTransfersGetParams contains all the parameters to send to the API endpoint
for the snapmirror relationship transfers get operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipTransfersGetParams ¶
func NewSnapmirrorRelationshipTransfersGetParams() *SnapmirrorRelationshipTransfersGetParams
NewSnapmirrorRelationshipTransfersGetParams creates a new SnapmirrorRelationshipTransfersGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipTransfersGetParamsWithContext ¶
func NewSnapmirrorRelationshipTransfersGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams
NewSnapmirrorRelationshipTransfersGetParamsWithContext creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams
NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout ¶
func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams
NewSnapmirrorRelationshipTransfersGetParamsWithTimeout creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipTransfersGetParams) SetBytesTransferred ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetBytesTransferred(bytesTransferred *int64)
SetBytesTransferred adds the bytesTransferred to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetCheckpointSize ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetCheckpointSize(checkpointSize *int64)
SetCheckpointSize adds the checkpointSize to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetContext ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetDefaults ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationship transfers get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransfersGetParams) SetEndTime ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetEndTime(endTime *string)
SetEndTime adds the endTime to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCode ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCode(errorInfoCode *int64)
SetErrorInfoCode adds the errorInfoCode to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessage ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessage(errorInfoMessage *string)
SetErrorInfoMessage adds the errorInfoMessage to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetFields ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetFields(fields []string)
SetFields adds the fields to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetLastUpdatedTime ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetLastUpdatedTime(lastUpdatedTime *string)
SetLastUpdatedTime adds the lastUpdatedTime to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetMaxRecords ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetMaxRecords(maxRecords *int64)
SetMaxRecords adds the maxRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetNetworkCompressionRatio ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetNetworkCompressionRatio(networkCompressionRatio *string)
SetNetworkCompressionRatio adds the networkCompressionRatio to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetOnDemandAttrs ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetOnDemandAttrs(onDemandAttrs *string)
SetOnDemandAttrs adds the onDemandAttrs to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetOrderBy ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetOrderBy(orderBy []string)
SetOrderBy adds the orderBy to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterName ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterName(relationshipDestinationClusterName *string)
SetRelationshipDestinationClusterName adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterUUID(relationshipDestinationClusterUUID *string)
SetRelationshipDestinationClusterUUID adds the relationshipDestinationClusterUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationConsistencyGroupVolumesName ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationConsistencyGroupVolumesName(relationshipDestinationConsistencyGroupVolumesName *string)
SetRelationshipDestinationConsistencyGroupVolumesName adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationPath ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationPath(relationshipDestinationPath *string)
SetRelationshipDestinationPath adds the relationshipDestinationPath to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmName ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmName(relationshipDestinationSvmName *string)
SetRelationshipDestinationSvmName adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmUUID(relationshipDestinationSvmUUID *string)
SetRelationshipDestinationSvmUUID adds the relationshipDestinationSvmUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipRestore ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipRestore(relationshipRestore *bool)
SetRelationshipRestore adds the relationshipRestore to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipUUID(relationshipUUID string)
SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetReturnRecords ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnRecords(returnRecords *bool)
SetReturnRecords adds the returnRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetReturnTimeout ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetSnapshot ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetSnapshot(snapshot *string)
SetSnapshot adds the snapshot to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetState ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetState(state *string)
SetState adds the state to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetThrottle ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetThrottle(throttle *int64)
SetThrottle adds the throttle to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetTimeout ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetTotalDuration ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetTotalDuration(totalDuration *string)
SetTotalDuration adds the totalDuration to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetUUID(uuid *string)
SetUUID adds the uuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithBytesTransferred ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithBytesTransferred(bytesTransferred *int64) *SnapmirrorRelationshipTransfersGetParams
WithBytesTransferred adds the bytesTransferred to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithCheckpointSize ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithCheckpointSize(checkpointSize *int64) *SnapmirrorRelationshipTransfersGetParams
WithCheckpointSize adds the checkpointSize to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithContext ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams
WithContext adds the context to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithDefaults ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithDefaults() *SnapmirrorRelationshipTransfersGetParams
WithDefaults hydrates default values in the snapmirror relationship transfers get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipTransfersGetParams) WithEndTime ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithEndTime(endTime *string) *SnapmirrorRelationshipTransfersGetParams
WithEndTime adds the endTime to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCode ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCode(errorInfoCode *int64) *SnapmirrorRelationshipTransfersGetParams
WithErrorInfoCode adds the errorInfoCode to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessage ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessage(errorInfoMessage *string) *SnapmirrorRelationshipTransfersGetParams
WithErrorInfoMessage adds the errorInfoMessage to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithFields ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithFields(fields []string) *SnapmirrorRelationshipTransfersGetParams
WithFields adds the fields to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams
WithHTTPClient adds the HTTPClient to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithLastUpdatedTime ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithLastUpdatedTime(lastUpdatedTime *string) *SnapmirrorRelationshipTransfersGetParams
WithLastUpdatedTime adds the lastUpdatedTime to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithMaxRecords ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorRelationshipTransfersGetParams
WithMaxRecords adds the maxRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithNetworkCompressionRatio ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithNetworkCompressionRatio(networkCompressionRatio *string) *SnapmirrorRelationshipTransfersGetParams
WithNetworkCompressionRatio adds the networkCompressionRatio to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithOnDemandAttrs ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithOnDemandAttrs(onDemandAttrs *string) *SnapmirrorRelationshipTransfersGetParams
WithOnDemandAttrs adds the onDemandAttrs to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithOrderBy ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithOrderBy(orderBy []string) *SnapmirrorRelationshipTransfersGetParams
WithOrderBy adds the orderBy to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterName ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterName(relationshipDestinationClusterName *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipDestinationClusterName adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterUUID(relationshipDestinationClusterUUID *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipDestinationClusterUUID adds the relationshipDestinationClusterUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationConsistencyGroupVolumesName ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationConsistencyGroupVolumesName(relationshipDestinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipDestinationConsistencyGroupVolumesName adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationPath ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationPath(relationshipDestinationPath *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipDestinationPath adds the relationshipDestinationPath to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmName ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmName(relationshipDestinationSvmName *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipDestinationSvmName adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmUUID(relationshipDestinationSvmUUID *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipDestinationSvmUUID adds the relationshipDestinationSvmUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipRestore ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipRestore(relationshipRestore *bool) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipRestore adds the relationshipRestore to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipUUID(relationshipUUID string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithReturnRecords ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipTransfersGetParams
WithReturnRecords adds the returnRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithReturnTimeout ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipTransfersGetParams
WithReturnTimeout adds the returnTimeout to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithSnapshot ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithSnapshot(snapshot *string) *SnapmirrorRelationshipTransfersGetParams
WithSnapshot adds the snapshot to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithState ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithState(state *string) *SnapmirrorRelationshipTransfersGetParams
WithState adds the state to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithThrottle ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithThrottle(throttle *int64) *SnapmirrorRelationshipTransfersGetParams
WithThrottle adds the throttle to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithTimeout ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams
WithTimeout adds the timeout to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithTotalDuration ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithTotalDuration(totalDuration *string) *SnapmirrorRelationshipTransfersGetParams
WithTotalDuration adds the totalDuration to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithUUID ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithUUID(uuid *string) *SnapmirrorRelationshipTransfersGetParams
WithUUID adds the uuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipTransfersGetReader ¶
type SnapmirrorRelationshipTransfersGetReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipTransfersGetReader is a Reader for the SnapmirrorRelationshipTransfersGet structure.
func (*SnapmirrorRelationshipTransfersGetReader) ReadResponse ¶
func (o *SnapmirrorRelationshipTransfersGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SnapmirrorRelationshipsGetDefault ¶
type SnapmirrorRelationshipsGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
SnapmirrorRelationshipsGetDefault describes a response with status code -1, with default header values. ONTAP Error Response codes
| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the Snapmirror State |
func NewSnapmirrorRelationshipsGetDefault ¶
func NewSnapmirrorRelationshipsGetDefault(code int) *SnapmirrorRelationshipsGetDefault
NewSnapmirrorRelationshipsGetDefault creates a SnapmirrorRelationshipsGetDefault with default headers values
func (*SnapmirrorRelationshipsGetDefault) Code ¶
func (o *SnapmirrorRelationshipsGetDefault) Code() int
Code gets the status code for the snapmirror relationships get default response
func (*SnapmirrorRelationshipsGetDefault) Error ¶
func (o *SnapmirrorRelationshipsGetDefault) Error() string
func (*SnapmirrorRelationshipsGetDefault) GetPayload ¶
func (o *SnapmirrorRelationshipsGetDefault) GetPayload() *models.ErrorResponse
func (*SnapmirrorRelationshipsGetDefault) IsClientError ¶
func (o *SnapmirrorRelationshipsGetDefault) IsClientError() bool
IsClientError returns true when this snapmirror relationships get default response has a 4xx status code
func (*SnapmirrorRelationshipsGetDefault) IsCode ¶
func (o *SnapmirrorRelationshipsGetDefault) IsCode(code int) bool
IsCode returns true when this snapmirror relationships get default response a status code equal to that given
func (*SnapmirrorRelationshipsGetDefault) IsRedirect ¶
func (o *SnapmirrorRelationshipsGetDefault) IsRedirect() bool
IsRedirect returns true when this snapmirror relationships get default response has a 3xx status code
func (*SnapmirrorRelationshipsGetDefault) IsServerError ¶
func (o *SnapmirrorRelationshipsGetDefault) IsServerError() bool
IsServerError returns true when this snapmirror relationships get default response has a 5xx status code
func (*SnapmirrorRelationshipsGetDefault) IsSuccess ¶
func (o *SnapmirrorRelationshipsGetDefault) IsSuccess() bool
IsSuccess returns true when this snapmirror relationships get default response has a 2xx status code
func (*SnapmirrorRelationshipsGetDefault) String ¶
func (o *SnapmirrorRelationshipsGetDefault) String() string
type SnapmirrorRelationshipsGetOK ¶
type SnapmirrorRelationshipsGetOK struct {
Payload *models.SnapmirrorRelationshipResponse
}
SnapmirrorRelationshipsGetOK describes a response with status code 200, with default header values.
OK
func NewSnapmirrorRelationshipsGetOK ¶
func NewSnapmirrorRelationshipsGetOK() *SnapmirrorRelationshipsGetOK
NewSnapmirrorRelationshipsGetOK creates a SnapmirrorRelationshipsGetOK with default headers values
func (*SnapmirrorRelationshipsGetOK) Code ¶
func (o *SnapmirrorRelationshipsGetOK) Code() int
Code gets the status code for the snapmirror relationships get o k response
func (*SnapmirrorRelationshipsGetOK) Error ¶
func (o *SnapmirrorRelationshipsGetOK) Error() string
func (*SnapmirrorRelationshipsGetOK) GetPayload ¶
func (o *SnapmirrorRelationshipsGetOK) GetPayload() *models.SnapmirrorRelationshipResponse
func (*SnapmirrorRelationshipsGetOK) IsClientError ¶
func (o *SnapmirrorRelationshipsGetOK) IsClientError() bool
IsClientError returns true when this snapmirror relationships get o k response has a 4xx status code
func (*SnapmirrorRelationshipsGetOK) IsCode ¶
func (o *SnapmirrorRelationshipsGetOK) IsCode(code int) bool
IsCode returns true when this snapmirror relationships get o k response a status code equal to that given
func (*SnapmirrorRelationshipsGetOK) IsRedirect ¶
func (o *SnapmirrorRelationshipsGetOK) IsRedirect() bool
IsRedirect returns true when this snapmirror relationships get o k response has a 3xx status code
func (*SnapmirrorRelationshipsGetOK) IsServerError ¶
func (o *SnapmirrorRelationshipsGetOK) IsServerError() bool
IsServerError returns true when this snapmirror relationships get o k response has a 5xx status code
func (*SnapmirrorRelationshipsGetOK) IsSuccess ¶
func (o *SnapmirrorRelationshipsGetOK) IsSuccess() bool
IsSuccess returns true when this snapmirror relationships get o k response has a 2xx status code
func (*SnapmirrorRelationshipsGetOK) String ¶
func (o *SnapmirrorRelationshipsGetOK) String() string
type SnapmirrorRelationshipsGetParams ¶
type SnapmirrorRelationshipsGetParams struct { /* BackoffLevel. Filter by backoff_level */ BackoffLevel *string /* ConsistencyGroupFailoverErrorArgumentsCode. Filter by consistency_group_failover.error.arguments.code */ ConsistencyGroupFailoverErrorArgumentsCode *string /* ConsistencyGroupFailoverErrorArgumentsMessage. Filter by consistency_group_failover.error.arguments.message */ ConsistencyGroupFailoverErrorArgumentsMessage *string /* ConsistencyGroupFailoverErrorCode. Filter by consistency_group_failover.error.code */ ConsistencyGroupFailoverErrorCode *string /* ConsistencyGroupFailoverErrorMessage. Filter by consistency_group_failover.error.message */ ConsistencyGroupFailoverErrorMessage *string /* ConsistencyGroupFailoverState. Filter by consistency_group_failover.state */ ConsistencyGroupFailoverState *string /* ConsistencyGroupFailoverStatusCode. Filter by consistency_group_failover.status.code */ ConsistencyGroupFailoverStatusCode *string /* ConsistencyGroupFailoverStatusMessage. Filter by consistency_group_failover.status.message */ ConsistencyGroupFailoverStatusMessage *string /* ConsistencyGroupFailoverType. Filter by consistency_group_failover.type */ ConsistencyGroupFailoverType *string /* DestinationClusterName. Filter by destination.cluster.name */ DestinationClusterName *string /* DestinationClusterUUID. Filter by destination.cluster.uuid */ DestinationClusterUUID *string /* DestinationConsistencyGroupVolumesName. Filter by destination.consistency_group_volumes.name */ DestinationConsistencyGroupVolumesName *string /* DestinationPath. Filter by destination.path */ DestinationPath *string /* DestinationSvmName. Filter by destination.svm.name */ DestinationSvmName *string /* DestinationSvmUUID. Filter by destination.svm.uuid */ DestinationSvmUUID *string /* ExportedSnapshot. Filter by exported_snapshot */ ExportedSnapshot *string /* Fields. Specify the fields to return. */ Fields []string /* GroupType. Filter by group_type */ GroupType *string /* Healthy. Filter by healthy */ Healthy *bool /* IdentityPreservation. Filter by identity_preservation */ IdentityPreservation *string /* IoServingCopy. Filter by io_serving_copy */ IoServingCopy *string /* LagTime. Filter by lag_time */ LagTime *string /* LastTransferNetworkCompressionRatio. Filter by last_transfer_network_compression_ratio */ LastTransferNetworkCompressionRatio *string /* LastTransferType. Filter by last_transfer_type */ LastTransferType *string /* ListDestinationsOnly. Set to true to show relationships from the source only. */ ListDestinationsOnly *bool /* MasterBiasActivatedSite. Filter by master_bias_activated_site */ MasterBiasActivatedSite *string /* MaxRecords. Limit the number of records returned. */ MaxRecords *int64 /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderBy []string /* PolicyName. Filter by policy.name */ PolicyName *string /* PolicyType. Filter by policy.type */ PolicyType *string /* PolicyUUID. Filter by policy.uuid */ PolicyUUID *string /* PreferredSite. Filter by preferred_site */ PreferredSite *string /* Restore. Filter by restore */ Restore *bool /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecords *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached. Default: 15 */ ReturnTimeout *int64 /* SourceClusterName. Filter by source.cluster.name */ SourceClusterName *string /* SourceClusterUUID. Filter by source.cluster.uuid */ SourceClusterUUID *string /* SourceConsistencyGroupVolumesName. Filter by source.consistency_group_volumes.name */ SourceConsistencyGroupVolumesName *string /* SourcePath. Filter by source.path */ SourcePath *string /* SourceSvmName. Filter by source.svm.name */ SourceSvmName *string /* SourceSvmUUID. Filter by source.svm.uuid */ SourceSvmUUID *string /* State. Filter by state */ State *string /* SvmdrVolumesName. Filter by svmdr_volumes.name */ SvmdrVolumesName *string /* Throttle. Filter by throttle */ Throttle *int64 /* TotalTransferBytes. Filter by total_transfer_bytes */ TotalTransferBytes *int64 /* TotalTransferDuration. Filter by total_transfer_duration */ TotalTransferDuration *string /* TransferBytesTransferred. Filter by transfer.bytes_transferred */ TransferBytesTransferred *int64 /* TransferEndTime. Filter by transfer.end_time */ TransferEndTime *string /* TransferLastUpdatedTime. Filter by transfer.last_updated_time */ TransferLastUpdatedTime *string /* TransferState. Filter by transfer.state */ TransferState *string /* TransferTotalDuration. Filter by transfer.total_duration */ TransferTotalDuration *string /* TransferType. Filter by transfer.type */ TransferType *string /* TransferUUID. Filter by transfer.uuid */ TransferUUID *string /* TransferScheduleName. Filter by transfer_schedule.name */ TransferScheduleName *string /* TransferScheduleUUID. Filter by transfer_schedule.uuid */ TransferScheduleUUID *string /* UnhealthyReasonArguments. Filter by unhealthy_reason.arguments */ UnhealthyReasonArguments *string /* UnhealthyReasonCode. Filter by unhealthy_reason.code */ UnhealthyReasonCode *string /* UnhealthyReasonMessage. Filter by unhealthy_reason.message */ UnhealthyReasonMessage *string /* UUID. Filter by uuid */ UUID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SnapmirrorRelationshipsGetParams contains all the parameters to send to the API endpoint
for the snapmirror relationships get operation. Typically these are written to a http.Request.
func NewSnapmirrorRelationshipsGetParams ¶
func NewSnapmirrorRelationshipsGetParams() *SnapmirrorRelationshipsGetParams
NewSnapmirrorRelationshipsGetParams creates a new SnapmirrorRelationshipsGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSnapmirrorRelationshipsGetParamsWithContext ¶
func NewSnapmirrorRelationshipsGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams
NewSnapmirrorRelationshipsGetParamsWithContext creates a new SnapmirrorRelationshipsGetParams object with the ability to set a context for a request.
func NewSnapmirrorRelationshipsGetParamsWithHTTPClient ¶
func NewSnapmirrorRelationshipsGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams
NewSnapmirrorRelationshipsGetParamsWithHTTPClient creates a new SnapmirrorRelationshipsGetParams object with the ability to set a custom HTTPClient for a request.
func NewSnapmirrorRelationshipsGetParamsWithTimeout ¶
func NewSnapmirrorRelationshipsGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams
NewSnapmirrorRelationshipsGetParamsWithTimeout creates a new SnapmirrorRelationshipsGetParams object with the ability to set a timeout on a request.
func (*SnapmirrorRelationshipsGetParams) SetBackoffLevel ¶
func (o *SnapmirrorRelationshipsGetParams) SetBackoffLevel(backoffLevel *string)
SetBackoffLevel adds the backoffLevel to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCode ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCode(consistencyGroupFailoverErrorArgumentsCode *string)
SetConsistencyGroupFailoverErrorArgumentsCode adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessage ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessage(consistencyGroupFailoverErrorArgumentsMessage *string)
SetConsistencyGroupFailoverErrorArgumentsMessage adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCode ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCode(consistencyGroupFailoverErrorCode *string)
SetConsistencyGroupFailoverErrorCode adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessage ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessage(consistencyGroupFailoverErrorMessage *string)
SetConsistencyGroupFailoverErrorMessage adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverState ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverState(consistencyGroupFailoverState *string)
SetConsistencyGroupFailoverState adds the consistencyGroupFailoverState to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCode ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCode(consistencyGroupFailoverStatusCode *string)
SetConsistencyGroupFailoverStatusCode adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessage ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessage(consistencyGroupFailoverStatusMessage *string)
SetConsistencyGroupFailoverStatusMessage adds the consistencyGroupFailoverStatusMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverType ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverType(consistencyGroupFailoverType *string)
SetConsistencyGroupFailoverType adds the consistencyGroupFailoverType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetContext ¶
func (o *SnapmirrorRelationshipsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDefaults ¶
func (o *SnapmirrorRelationshipsGetParams) SetDefaults()
SetDefaults hydrates default values in the snapmirror relationships get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterName ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterName(destinationClusterName *string)
SetDestinationClusterName adds the destinationClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterUUID(destinationClusterUUID *string)
SetDestinationClusterUUID adds the destinationClusterUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesName ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesName(destinationConsistencyGroupVolumesName *string)
SetDestinationConsistencyGroupVolumesName adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationPath ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationPath(destinationPath *string)
SetDestinationPath adds the destinationPath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationSvmName ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationSvmName(destinationSvmName *string)
SetDestinationSvmName adds the destinationSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationSvmUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationSvmUUID(destinationSvmUUID *string)
SetDestinationSvmUUID adds the destinationSvmUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetExportedSnapshot ¶
func (o *SnapmirrorRelationshipsGetParams) SetExportedSnapshot(exportedSnapshot *string)
SetExportedSnapshot adds the exportedSnapshot to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFields ¶
func (o *SnapmirrorRelationshipsGetParams) SetFields(fields []string)
SetFields adds the fields to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetGroupType ¶
func (o *SnapmirrorRelationshipsGetParams) SetGroupType(groupType *string)
SetGroupType adds the groupType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetHTTPClient ¶
func (o *SnapmirrorRelationshipsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetHealthy ¶
func (o *SnapmirrorRelationshipsGetParams) SetHealthy(healthy *bool)
SetHealthy adds the healthy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetIdentityPreservation ¶
func (o *SnapmirrorRelationshipsGetParams) SetIdentityPreservation(identityPreservation *string)
SetIdentityPreservation adds the identityPreservation to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetIoServingCopy ¶
func (o *SnapmirrorRelationshipsGetParams) SetIoServingCopy(ioServingCopy *string)
SetIoServingCopy adds the ioServingCopy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetLagTime ¶
func (o *SnapmirrorRelationshipsGetParams) SetLagTime(lagTime *string)
SetLagTime adds the lagTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetLastTransferNetworkCompressionRatio ¶
func (o *SnapmirrorRelationshipsGetParams) SetLastTransferNetworkCompressionRatio(lastTransferNetworkCompressionRatio *string)
SetLastTransferNetworkCompressionRatio adds the lastTransferNetworkCompressionRatio to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetLastTransferType ¶
func (o *SnapmirrorRelationshipsGetParams) SetLastTransferType(lastTransferType *string)
SetLastTransferType adds the lastTransferType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetListDestinationsOnly ¶
func (o *SnapmirrorRelationshipsGetParams) SetListDestinationsOnly(listDestinationsOnly *bool)
SetListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetMasterBiasActivatedSite ¶
func (o *SnapmirrorRelationshipsGetParams) SetMasterBiasActivatedSite(masterBiasActivatedSite *string)
SetMasterBiasActivatedSite adds the masterBiasActivatedSite to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetMaxRecords ¶
func (o *SnapmirrorRelationshipsGetParams) SetMaxRecords(maxRecords *int64)
SetMaxRecords adds the maxRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetOrderBy ¶
func (o *SnapmirrorRelationshipsGetParams) SetOrderBy(orderBy []string)
SetOrderBy adds the orderBy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyName ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyName(policyName *string)
SetPolicyName adds the policyName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyType ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyType(policyType *string)
SetPolicyType adds the policyType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyUUID(policyUUID *string)
SetPolicyUUID adds the policyUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPreferredSite ¶
func (o *SnapmirrorRelationshipsGetParams) SetPreferredSite(preferredSite *string)
SetPreferredSite adds the preferredSite to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetRestore ¶
func (o *SnapmirrorRelationshipsGetParams) SetRestore(restore *bool)
SetRestore adds the restore to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetReturnRecords ¶
func (o *SnapmirrorRelationshipsGetParams) SetReturnRecords(returnRecords *bool)
SetReturnRecords adds the returnRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetReturnTimeout ¶
func (o *SnapmirrorRelationshipsGetParams) SetReturnTimeout(returnTimeout *int64)
SetReturnTimeout adds the returnTimeout to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceClusterName ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterName(sourceClusterName *string)
SetSourceClusterName adds the sourceClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceClusterUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterUUID(sourceClusterUUID *string)
SetSourceClusterUUID adds the sourceClusterUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesName ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesName(sourceConsistencyGroupVolumesName *string)
SetSourceConsistencyGroupVolumesName adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourcePath ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourcePath(sourcePath *string)
SetSourcePath adds the sourcePath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceSvmName ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceSvmName(sourceSvmName *string)
SetSourceSvmName adds the sourceSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceSvmUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceSvmUUID(sourceSvmUUID *string)
SetSourceSvmUUID adds the sourceSvmUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetState ¶
func (o *SnapmirrorRelationshipsGetParams) SetState(state *string)
SetState adds the state to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSvmdrVolumesName ¶
func (o *SnapmirrorRelationshipsGetParams) SetSvmdrVolumesName(svmdrVolumesName *string)
SetSvmdrVolumesName adds the svmdrVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetThrottle ¶
func (o *SnapmirrorRelationshipsGetParams) SetThrottle(throttle *int64)
SetThrottle adds the throttle to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTimeout ¶
func (o *SnapmirrorRelationshipsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTotalTransferBytes ¶
func (o *SnapmirrorRelationshipsGetParams) SetTotalTransferBytes(totalTransferBytes *int64)
SetTotalTransferBytes adds the totalTransferBytes to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTotalTransferDuration ¶
func (o *SnapmirrorRelationshipsGetParams) SetTotalTransferDuration(totalTransferDuration *string)
SetTotalTransferDuration adds the totalTransferDuration to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferBytesTransferred ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferBytesTransferred(transferBytesTransferred *int64)
SetTransferBytesTransferred adds the transferBytesTransferred to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferEndTime ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferEndTime(transferEndTime *string)
SetTransferEndTime adds the transferEndTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferLastUpdatedTime ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferLastUpdatedTime(transferLastUpdatedTime *string)
SetTransferLastUpdatedTime adds the transferLastUpdatedTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleName ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleName(transferScheduleName *string)
SetTransferScheduleName adds the transferScheduleName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleUUID(transferScheduleUUID *string)
SetTransferScheduleUUID adds the transferScheduleUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferState ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferState(transferState *string)
SetTransferState adds the transferState to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferTotalDuration ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferTotalDuration(transferTotalDuration *string)
SetTransferTotalDuration adds the transferTotalDuration to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferType ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferType(transferType *string)
SetTransferType adds the transferType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferUUID(transferUUID *string)
SetTransferUUID adds the transferUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUUID ¶
func (o *SnapmirrorRelationshipsGetParams) SetUUID(uuid *string)
SetUUID adds the uuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonArguments ¶
func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonArguments(unhealthyReasonArguments *string)
SetUnhealthyReasonArguments adds the unhealthyReasonArguments to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCode ¶
func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCode(unhealthyReasonCode *string)
SetUnhealthyReasonCode adds the unhealthyReasonCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessage ¶
func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessage(unhealthyReasonMessage *string)
SetUnhealthyReasonMessage adds the unhealthyReasonMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithBackoffLevel ¶
func (o *SnapmirrorRelationshipsGetParams) WithBackoffLevel(backoffLevel *string) *SnapmirrorRelationshipsGetParams
WithBackoffLevel adds the backoffLevel to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCode ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCode(consistencyGroupFailoverErrorArgumentsCode *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorArgumentsCode adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessage ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessage(consistencyGroupFailoverErrorArgumentsMessage *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorArgumentsMessage adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCode ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCode(consistencyGroupFailoverErrorCode *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorCode adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessage ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessage(consistencyGroupFailoverErrorMessage *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorMessage adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverState ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverState(consistencyGroupFailoverState *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverState adds the consistencyGroupFailoverState to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCode ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCode(consistencyGroupFailoverStatusCode *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverStatusCode adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessage ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessage(consistencyGroupFailoverStatusMessage *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverStatusMessage adds the consistencyGroupFailoverStatusMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverType ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverType(consistencyGroupFailoverType *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverType adds the consistencyGroupFailoverType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithContext ¶
func (o *SnapmirrorRelationshipsGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams
WithContext adds the context to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDefaults ¶
func (o *SnapmirrorRelationshipsGetParams) WithDefaults() *SnapmirrorRelationshipsGetParams
WithDefaults hydrates default values in the snapmirror relationships get params (not the query body).
All values with no default are reset to their zero value.
func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterName ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterName(destinationClusterName *string) *SnapmirrorRelationshipsGetParams
WithDestinationClusterName adds the destinationClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterUUID(destinationClusterUUID *string) *SnapmirrorRelationshipsGetParams
WithDestinationClusterUUID adds the destinationClusterUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesName ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesName(destinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
WithDestinationConsistencyGroupVolumesName adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationPath ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationPath(destinationPath *string) *SnapmirrorRelationshipsGetParams
WithDestinationPath adds the destinationPath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationSvmName ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationSvmName(destinationSvmName *string) *SnapmirrorRelationshipsGetParams
WithDestinationSvmName adds the destinationSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationSvmUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationSvmUUID(destinationSvmUUID *string) *SnapmirrorRelationshipsGetParams
WithDestinationSvmUUID adds the destinationSvmUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithExportedSnapshot ¶
func (o *SnapmirrorRelationshipsGetParams) WithExportedSnapshot(exportedSnapshot *string) *SnapmirrorRelationshipsGetParams
WithExportedSnapshot adds the exportedSnapshot to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFields ¶
func (o *SnapmirrorRelationshipsGetParams) WithFields(fields []string) *SnapmirrorRelationshipsGetParams
WithFields adds the fields to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithGroupType ¶
func (o *SnapmirrorRelationshipsGetParams) WithGroupType(groupType *string) *SnapmirrorRelationshipsGetParams
WithGroupType adds the groupType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithHTTPClient ¶
func (o *SnapmirrorRelationshipsGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams
WithHTTPClient adds the HTTPClient to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithHealthy ¶
func (o *SnapmirrorRelationshipsGetParams) WithHealthy(healthy *bool) *SnapmirrorRelationshipsGetParams
WithHealthy adds the healthy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithIdentityPreservation ¶
func (o *SnapmirrorRelationshipsGetParams) WithIdentityPreservation(identityPreservation *string) *SnapmirrorRelationshipsGetParams
WithIdentityPreservation adds the identityPreservation to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithIoServingCopy ¶
func (o *SnapmirrorRelationshipsGetParams) WithIoServingCopy(ioServingCopy *string) *SnapmirrorRelationshipsGetParams
WithIoServingCopy adds the ioServingCopy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithLagTime ¶
func (o *SnapmirrorRelationshipsGetParams) WithLagTime(lagTime *string) *SnapmirrorRelationshipsGetParams
WithLagTime adds the lagTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithLastTransferNetworkCompressionRatio ¶
func (o *SnapmirrorRelationshipsGetParams) WithLastTransferNetworkCompressionRatio(lastTransferNetworkCompressionRatio *string) *SnapmirrorRelationshipsGetParams
WithLastTransferNetworkCompressionRatio adds the lastTransferNetworkCompressionRatio to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithLastTransferType ¶
func (o *SnapmirrorRelationshipsGetParams) WithLastTransferType(lastTransferType *string) *SnapmirrorRelationshipsGetParams
WithLastTransferType adds the lastTransferType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithListDestinationsOnly ¶
func (o *SnapmirrorRelationshipsGetParams) WithListDestinationsOnly(listDestinationsOnly *bool) *SnapmirrorRelationshipsGetParams
WithListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithMasterBiasActivatedSite ¶
func (o *SnapmirrorRelationshipsGetParams) WithMasterBiasActivatedSite(masterBiasActivatedSite *string) *SnapmirrorRelationshipsGetParams
WithMasterBiasActivatedSite adds the masterBiasActivatedSite to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithMaxRecords ¶
func (o *SnapmirrorRelationshipsGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorRelationshipsGetParams
WithMaxRecords adds the maxRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithOrderBy ¶
func (o *SnapmirrorRelationshipsGetParams) WithOrderBy(orderBy []string) *SnapmirrorRelationshipsGetParams
WithOrderBy adds the orderBy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyName ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyName(policyName *string) *SnapmirrorRelationshipsGetParams
WithPolicyName adds the policyName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyType ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyType(policyType *string) *SnapmirrorRelationshipsGetParams
WithPolicyType adds the policyType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyUUID(policyUUID *string) *SnapmirrorRelationshipsGetParams
WithPolicyUUID adds the policyUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPreferredSite ¶
func (o *SnapmirrorRelationshipsGetParams) WithPreferredSite(preferredSite *string) *SnapmirrorRelationshipsGetParams
WithPreferredSite adds the preferredSite to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithRestore ¶
func (o *SnapmirrorRelationshipsGetParams) WithRestore(restore *bool) *SnapmirrorRelationshipsGetParams
WithRestore adds the restore to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithReturnRecords ¶
func (o *SnapmirrorRelationshipsGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipsGetParams
WithReturnRecords adds the returnRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithReturnTimeout ¶
func (o *SnapmirrorRelationshipsGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipsGetParams
WithReturnTimeout adds the returnTimeout to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceClusterName ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterName(sourceClusterName *string) *SnapmirrorRelationshipsGetParams
WithSourceClusterName adds the sourceClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceClusterUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterUUID(sourceClusterUUID *string) *SnapmirrorRelationshipsGetParams
WithSourceClusterUUID adds the sourceClusterUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesName ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesName(sourceConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
WithSourceConsistencyGroupVolumesName adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourcePath ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourcePath(sourcePath *string) *SnapmirrorRelationshipsGetParams
WithSourcePath adds the sourcePath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceSvmName ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceSvmName(sourceSvmName *string) *SnapmirrorRelationshipsGetParams
WithSourceSvmName adds the sourceSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceSvmUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceSvmUUID(sourceSvmUUID *string) *SnapmirrorRelationshipsGetParams
WithSourceSvmUUID adds the sourceSvmUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithState ¶
func (o *SnapmirrorRelationshipsGetParams) WithState(state *string) *SnapmirrorRelationshipsGetParams
WithState adds the state to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSvmdrVolumesName ¶
func (o *SnapmirrorRelationshipsGetParams) WithSvmdrVolumesName(svmdrVolumesName *string) *SnapmirrorRelationshipsGetParams
WithSvmdrVolumesName adds the svmdrVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithThrottle ¶
func (o *SnapmirrorRelationshipsGetParams) WithThrottle(throttle *int64) *SnapmirrorRelationshipsGetParams
WithThrottle adds the throttle to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTimeout ¶
func (o *SnapmirrorRelationshipsGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams
WithTimeout adds the timeout to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTotalTransferBytes ¶
func (o *SnapmirrorRelationshipsGetParams) WithTotalTransferBytes(totalTransferBytes *int64) *SnapmirrorRelationshipsGetParams
WithTotalTransferBytes adds the totalTransferBytes to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTotalTransferDuration ¶
func (o *SnapmirrorRelationshipsGetParams) WithTotalTransferDuration(totalTransferDuration *string) *SnapmirrorRelationshipsGetParams
WithTotalTransferDuration adds the totalTransferDuration to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferBytesTransferred ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferBytesTransferred(transferBytesTransferred *int64) *SnapmirrorRelationshipsGetParams
WithTransferBytesTransferred adds the transferBytesTransferred to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferEndTime ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferEndTime(transferEndTime *string) *SnapmirrorRelationshipsGetParams
WithTransferEndTime adds the transferEndTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferLastUpdatedTime ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferLastUpdatedTime(transferLastUpdatedTime *string) *SnapmirrorRelationshipsGetParams
WithTransferLastUpdatedTime adds the transferLastUpdatedTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleName ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleName(transferScheduleName *string) *SnapmirrorRelationshipsGetParams
WithTransferScheduleName adds the transferScheduleName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleUUID(transferScheduleUUID *string) *SnapmirrorRelationshipsGetParams
WithTransferScheduleUUID adds the transferScheduleUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferState ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferState(transferState *string) *SnapmirrorRelationshipsGetParams
WithTransferState adds the transferState to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferTotalDuration ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferTotalDuration(transferTotalDuration *string) *SnapmirrorRelationshipsGetParams
WithTransferTotalDuration adds the transferTotalDuration to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferType ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferType(transferType *string) *SnapmirrorRelationshipsGetParams
WithTransferType adds the transferType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferUUID(transferUUID *string) *SnapmirrorRelationshipsGetParams
WithTransferUUID adds the transferUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUUID ¶
func (o *SnapmirrorRelationshipsGetParams) WithUUID(uuid *string) *SnapmirrorRelationshipsGetParams
WithUUID adds the uuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonArguments ¶
func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonArguments(unhealthyReasonArguments *string) *SnapmirrorRelationshipsGetParams
WithUnhealthyReasonArguments adds the unhealthyReasonArguments to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCode ¶
func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCode(unhealthyReasonCode *string) *SnapmirrorRelationshipsGetParams
WithUnhealthyReasonCode adds the unhealthyReasonCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessage ¶
func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessage(unhealthyReasonMessage *string) *SnapmirrorRelationshipsGetParams
WithUnhealthyReasonMessage adds the unhealthyReasonMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WriteToRequest ¶
func (o *SnapmirrorRelationshipsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SnapmirrorRelationshipsGetReader ¶
type SnapmirrorRelationshipsGetReader struct {
// contains filtered or unexported fields
}
SnapmirrorRelationshipsGetReader is a Reader for the SnapmirrorRelationshipsGet structure.
func (*SnapmirrorRelationshipsGetReader) ReadResponse ¶
func (o *SnapmirrorRelationshipsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- snap_mirror_client.go
- snapmirror_policies_get_parameters.go
- snapmirror_policies_get_responses.go
- snapmirror_policy_create_parameters.go
- snapmirror_policy_create_responses.go
- snapmirror_policy_delete_parameters.go
- snapmirror_policy_delete_responses.go
- snapmirror_policy_get_parameters.go
- snapmirror_policy_get_responses.go
- snapmirror_policy_modify_parameters.go
- snapmirror_policy_modify_responses.go
- snapmirror_relationship_create_parameters.go
- snapmirror_relationship_create_responses.go
- snapmirror_relationship_delete_parameters.go
- snapmirror_relationship_delete_responses.go
- snapmirror_relationship_get_parameters.go
- snapmirror_relationship_get_responses.go
- snapmirror_relationship_modify_parameters.go
- snapmirror_relationship_modify_responses.go
- snapmirror_relationship_transfer_create_parameters.go
- snapmirror_relationship_transfer_create_responses.go
- snapmirror_relationship_transfer_get_parameters.go
- snapmirror_relationship_transfer_get_responses.go
- snapmirror_relationship_transfer_modify_parameters.go
- snapmirror_relationship_transfer_modify_responses.go
- snapmirror_relationship_transfers_get_parameters.go
- snapmirror_relationship_transfers_get_responses.go
- snapmirror_relationships_get_parameters.go
- snapmirror_relationships_get_responses.go