Documentation ¶
Index ¶
- 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, ...) (*SnapmirrorPolicyCreateAccepted, error)
- func (a *Client) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyDeleteAccepted, error)
- func (a *Client) SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyGetOK, error)
- func (a *Client) SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorPolicyModifyAccepted, error)
- func (a *Client) SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, ...) (*SnapmirrorRelationshipCreateAccepted, error)
- func (a *Client) SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, ...) (*SnapmirrorRelationshipDeleteAccepted, error)
- func (a *Client) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnapmirrorRelationshipGetOK, error)
- func (a *Client) SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, ...) (*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) 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) SetArchiveAfterDaysQueryParameter(archiveAfterDays *int64)
- func (o *SnapmirrorPoliciesGetParams) SetArchiveEnabledQueryParameter(archiveEnabled *bool)
- func (o *SnapmirrorPoliciesGetParams) SetCommentQueryParameter(comment *string)
- func (o *SnapmirrorPoliciesGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshotsQueryParameter(copyAllSourceSnapshots *bool)
- func (o *SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshotQueryParameter(copyLatestSourceSnapshot *bool)
- func (o *SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSourceQueryParameter(createSnapshotOnSource *bool)
- func (o *SnapmirrorPoliciesGetParams) SetDefaults()
- func (o *SnapmirrorPoliciesGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnapmirrorPoliciesGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPoliciesGetParams) SetIdentityPreservationQueryParameter(identityPreservation *string)
- func (o *SnapmirrorPoliciesGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnapmirrorPoliciesGetParams) SetNameQueryParameter(name *string)
- func (o *SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabledQueryParameter(networkCompressionEnabled *bool)
- func (o *SnapmirrorPoliciesGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionCountQueryParameter(retentionCount *int64)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleNameQueryParameter(retentionCreationScheduleName *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUIDQueryParameter(retentionCreationScheduleUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionLabelQueryParameter(retentionLabel *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionPeriodQueryParameter(retentionPeriod *string)
- func (o *SnapmirrorPoliciesGetParams) SetRetentionPrefixQueryParameter(retentionPrefix *string)
- func (o *SnapmirrorPoliciesGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnapmirrorPoliciesGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorPoliciesGetParams) SetRpoQueryParameter(rpo *int64)
- func (o *SnapmirrorPoliciesGetParams) SetSVMNameQueryParameter(svmName *string)
- func (o *SnapmirrorPoliciesGetParams) SetSVMUUIDQueryParameter(svmUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetScopeQueryParameter(scope *string)
- func (o *SnapmirrorPoliciesGetParams) SetSnapshotLockModeQueryParameter(snapshotLockMode *string)
- func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleNameQueryParameter(syncCommonSnapshotScheduleName *string)
- func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUIDQueryParameter(syncCommonSnapshotScheduleUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetSyncTypeQueryParameter(syncType *string)
- func (o *SnapmirrorPoliciesGetParams) SetThrottleQueryParameter(throttle *int64)
- func (o *SnapmirrorPoliciesGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleNameQueryParameter(transferScheduleName *string)
- func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleUUIDQueryParameter(transferScheduleUUID *string)
- func (o *SnapmirrorPoliciesGetParams) SetTypeQueryParameter(typeVar *string)
- func (o *SnapmirrorPoliciesGetParams) SetUUIDQueryParameter(uuid *string)
- func (o *SnapmirrorPoliciesGetParams) WithArchiveAfterDaysQueryParameter(archiveAfterDays *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithArchiveEnabledQueryParameter(archiveEnabled *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCommentQueryParameter(comment *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithContext(ctx context.Context) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshotsQueryParameter(copyAllSourceSnapshots *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshotQueryParameter(copyLatestSourceSnapshot *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSourceQueryParameter(createSnapshotOnSource *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithDefaults() *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithIdentityPreservationQueryParameter(identityPreservation *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithNameQueryParameter(name *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabledQueryParameter(networkCompressionEnabled *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionCountQueryParameter(retentionCount *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleNameQueryParameter(retentionCreationScheduleName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUIDQueryParameter(retentionCreationScheduleUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionLabelQueryParameter(retentionLabel *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionPeriodQueryParameter(retentionPeriod *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRetentionPrefixQueryParameter(retentionPrefix *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithRpoQueryParameter(rpo *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSVMNameQueryParameter(svmName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithScopeQueryParameter(scope *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSnapshotLockModeQueryParameter(snapshotLockMode *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleNameQueryParameter(syncCommonSnapshotScheduleName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUIDQueryParameter(syncCommonSnapshotScheduleUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithSyncTypeQueryParameter(syncType *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleNameQueryParameter(transferScheduleName *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleUUIDQueryParameter(transferScheduleUUID *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithTypeQueryParameter(typeVar *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WithUUIDQueryParameter(uuid *string) *SnapmirrorPoliciesGetParams
- func (o *SnapmirrorPoliciesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPoliciesGetReader
- type SnapmirrorPolicyCreateAccepted
- 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 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) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnapmirrorPolicyCreateParams) SetReturnTimeoutQueryParameter(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) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorPolicyCreateParams
- func (o *SnapmirrorPolicyCreateParams) WithReturnTimeoutQueryParameter(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) 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 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) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorPolicyDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyDeleteParams) SetUUIDPathParameter(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) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams
- func (o *SnapmirrorPolicyDeleteParams) WithUUIDPathParameter(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) 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) SetFieldsQueryParameter(fields []string)
- func (o *SnapmirrorPolicyGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorPolicyGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyGetParams) SetUUIDPathParameter(uuid string)
- func (o *SnapmirrorPolicyGetParams) WithContext(ctx context.Context) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithDefaults() *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyGetParams
- func (o *SnapmirrorPolicyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPolicyGetReader
- type SnapmirrorPolicyModifyAccepted
- 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 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) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorPolicyModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorPolicyModifyParams) SetUUIDPathParameter(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) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyModifyParams
- func (o *SnapmirrorPolicyModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorPolicyModifyReader
- type SnapmirrorRelationshipCreateAccepted
- 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 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) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnapmirrorRelationshipCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorRelationshipCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipCreateParams) SetValidateOnlyQueryParameter(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) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WithValidateOnlyQueryParameter(validateOnly *bool) *SnapmirrorRelationshipCreateParams
- func (o *SnapmirrorRelationshipCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipCreateReader
- type SnapmirrorRelationshipDeleteAccepted
- 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 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) SetDestinationOnlyQueryParameter(destinationOnly *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorRelationshipDeleteParams) SetSourceInfoOnlyQueryParameter(sourceInfoOnly *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetSourceOnlyQueryParameter(sourceOnly *bool)
- func (o *SnapmirrorRelationshipDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipDeleteParams) SetUUIDPathParameter(uuid string)
- func (o *SnapmirrorRelationshipDeleteParams) WithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithDefaults() *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithDestinationOnlyQueryParameter(destinationOnly *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithSourceInfoOnlyQueryParameter(sourceInfoOnly *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithSourceOnlyQueryParameter(sourceOnly *bool) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams
- func (o *SnapmirrorRelationshipDeleteParams) WithUUIDPathParameter(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) 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) SetFieldsQueryParameter(fields []string)
- func (o *SnapmirrorRelationshipGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipGetParams) SetListDestinationsOnlyQueryParameter(listDestinationsOnly *bool)
- func (o *SnapmirrorRelationshipGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipGetParams) SetUUIDPathParameter(uuid string)
- func (o *SnapmirrorRelationshipGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithDefaults() *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithListDestinationsOnlyQueryParameter(listDestinationsOnly *bool) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipGetParams
- func (o *SnapmirrorRelationshipGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipGetReader
- type SnapmirrorRelationshipModifyAccepted
- 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 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) SetFailbackQueryParameter(failback *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetFailoverQueryParameter(failover *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetForceFailoverQueryParameter(forceFailover *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetForceQueryParameter(force *bool)
- func (o *SnapmirrorRelationshipModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipModifyParams) SetInfo(info *models.SnapmirrorRelationship)
- func (o *SnapmirrorRelationshipModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorRelationshipModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipModifyParams) SetUUIDPathParameter(uuid string)
- func (o *SnapmirrorRelationshipModifyParams) SetValidateOnlyQueryParameter(validateOnly *bool)
- func (o *SnapmirrorRelationshipModifyParams) WithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithDefaults() *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithFailbackQueryParameter(failback *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithFailoverQueryParameter(failover *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithForceFailoverQueryParameter(forceFailover *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithForceQueryParameter(force *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithInfo(info *models.SnapmirrorRelationship) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WithValidateOnlyQueryParameter(validateOnly *bool) *SnapmirrorRelationshipModifyParams
- func (o *SnapmirrorRelationshipModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnapmirrorRelationshipModifyReader
- type SnapmirrorRelationshipTransferCreateCreated
- 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) SetRelationshIPUUIDPathParameter(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnTimeoutQueryParameter(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) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipTransferCreateParams
- func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnTimeoutQueryParameter(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) 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) SetFieldsQueryParameter(fields []string)
- func (o *SnapmirrorRelationshipTransferGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipTransferGetParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransferGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransferGetParams) SetUUIDPathParameter(uuid string)
- func (o *SnapmirrorRelationshipTransferGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithDefaults() *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams
- func (o *SnapmirrorRelationshipTransferGetParams) WithUUIDPathParameter(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) 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) SetRelationshIPUUIDPathParameter(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransferModifyParams) SetUUIDPathParameter(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) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams
- func (o *SnapmirrorRelationshipTransferModifyParams) WithUUIDPathParameter(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) 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) SetArchiveRetrievalPriorityQueryParameter(archiveRetrievalPriority *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetBytesTransferredQueryParameter(bytesTransferred *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetCheckpointSizeQueryParameter(checkpointSize *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetDefaults()
- func (o *SnapmirrorRelationshipTransfersGetParams) SetEndTimeQueryParameter(endTime *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCodeQueryParameter(errorInfoCode *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessageQueryParameter(errorInfoMessage *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterNameQueryParameter(relationshipDestinationClusterName *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterUUIDQueryParameter(relationshipDestinationClusterUUID *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter(relationshipDestinationConsistencyGroupVolumesName *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationPathQueryParameter(relationshipDestinationPath *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMNameQueryParameter(relationshipDestinationSvmName *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMUUIDQueryParameter(relationshipDestinationSvmUUID *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationUUIDQueryParameter(relationshipDestinationUUID *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPRestoreQueryParameter(relationshipRestore *bool)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetSnapshotQueryParameter(snapshot *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetStateQueryParameter(state *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetThrottleQueryParameter(throttle *int64)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetTotalDurationQueryParameter(totalDuration *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) SetUUIDQueryParameter(uuid *string)
- func (o *SnapmirrorRelationshipTransfersGetParams) WithArchiveRetrievalPriorityQueryParameter(archiveRetrievalPriority *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithBytesTransferredQueryParameter(bytesTransferred *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithCheckpointSizeQueryParameter(checkpointSize *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithDefaults() *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithEndTimeQueryParameter(endTime *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCodeQueryParameter(errorInfoCode *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessageQueryParameter(errorInfoMessage *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterNameQueryParameter(relationshipDestinationClusterName *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterUUIDQueryParameter(relationshipDestinationClusterUUID *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter(relationshipDestinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationPathQueryParameter(relationshipDestinationPath *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMNameQueryParameter(relationshipDestinationSvmName *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMUUIDQueryParameter(relationshipDestinationSvmUUID *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationUUIDQueryParameter(relationshipDestinationUUID *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPRestoreQueryParameter(relationshipRestore *bool) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithSnapshotQueryParameter(snapshot *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithStateQueryParameter(state *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithTotalDurationQueryParameter(totalDuration *string) *SnapmirrorRelationshipTransfersGetParams
- func (o *SnapmirrorRelationshipTransfersGetParams) WithUUIDQueryParameter(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) 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) SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter(consistencyGroupFailoverErrorArgumentsCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter(consistencyGroupFailoverErrorArgumentsMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCodeQueryParameter(consistencyGroupFailoverErrorCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessageQueryParameter(consistencyGroupFailoverErrorMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorTargetQueryParameter(consistencyGroupFailoverErrorTarget *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCodeQueryParameter(consistencyGroupFailoverStatusCode *string)
- func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessageQueryParameter(consistencyGroupFailoverStatusMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetContext(ctx context.Context)
- func (o *SnapmirrorRelationshipsGetParams) SetDefaults()
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterNameQueryParameter(destinationClusterName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterUUIDQueryParameter(destinationClusterUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesNameQueryParameter(destinationConsistencyGroupVolumesName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationPathQueryParameter(destinationPath *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationSVMNameQueryParameter(destinationSvmName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationSVMUUIDQueryParameter(destinationSvmUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetDestinationUUIDQueryParameter(destinationUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetExportedSnapshotQueryParameter(exportedSnapshot *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationBucketQueryParameter(fabriclinkDestinationBucket *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationRoleQueryParameter(fabriclinkDestinationRole *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPendingWorkTaskCountQueryParameter(fabriclinkPendingWorkTaskCount *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPullByteCountQueryParameter(fabriclinkPullByteCount *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPushByteCountQueryParameter(fabriclinkPushByteCount *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkSourceBucketQueryParameter(fabriclinkSourceBucket *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkSourceRoleQueryParameter(fabriclinkSourceRole *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkStatusQueryParameter(fabriclinkStatus *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkTopologyUUIDQueryParameter(fabriclinkTopologyUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnapmirrorRelationshipsGetParams) SetGroupTypeQueryParameter(groupType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetHTTPClient(client *http.Client)
- func (o *SnapmirrorRelationshipsGetParams) SetHealthyQueryParameter(healthy *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetIdentityPreservationQueryParameter(identityPreservation *string)
- func (o *SnapmirrorRelationshipsGetParams) SetLagTimeQueryParameter(lagTime *string)
- func (o *SnapmirrorRelationshipsGetParams) SetLastTransferTypeQueryParameter(lastTransferType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetListDestinationsOnlyQueryParameter(listDestinationsOnly *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyNameQueryParameter(policyName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyTransferScheduleNameQueryParameter(policyTransferScheduleName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyTypeQueryParameter(policyType *string)
- func (o *SnapmirrorRelationshipsGetParams) SetPolicyUUIDQueryParameter(policyUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetRestoreQueryParameter(restore *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnapmirrorRelationshipsGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterNameQueryParameter(sourceClusterName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterUUIDQueryParameter(sourceClusterUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesNameQueryParameter(sourceConsistencyGroupVolumesName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourcePathQueryParameter(sourcePath *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceSVMNameQueryParameter(sourceSvmName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceSVMUUIDQueryParameter(sourceSvmUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetSourceUUIDQueryParameter(sourceUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetStateQueryParameter(state *string)
- func (o *SnapmirrorRelationshipsGetParams) SetThrottleQueryParameter(throttle *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetTimeout(timeout time.Duration)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferBytesTransferredQueryParameter(transferBytesTransferred *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferEndTimeQueryParameter(transferEndTime *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleNameQueryParameter(transferScheduleName *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleUUIDQueryParameter(transferScheduleUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferStateQueryParameter(transferState *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferTotalDurationQueryParameter(transferTotalDuration *string)
- func (o *SnapmirrorRelationshipsGetParams) SetTransferUUIDQueryParameter(transferUUID *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUUIDQueryParameter(uuid *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCodeQueryParameter(unhealthyReasonCode *int64)
- func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessageQueryParameter(unhealthyReasonMessage *string)
- func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonParametersQueryParameter(unhealthyReasonParameters *string)
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter(consistencyGroupFailoverErrorArgumentsCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter(consistencyGroupFailoverErrorArgumentsMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCodeQueryParameter(consistencyGroupFailoverErrorCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessageQueryParameter(consistencyGroupFailoverErrorMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorTargetQueryParameter(consistencyGroupFailoverErrorTarget *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCodeQueryParameter(consistencyGroupFailoverStatusCode *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessageQueryParameter(consistencyGroupFailoverStatusMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDefaults() *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterNameQueryParameter(destinationClusterName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterUUIDQueryParameter(destinationClusterUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesNameQueryParameter(destinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationPathQueryParameter(destinationPath *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationSVMNameQueryParameter(destinationSvmName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationSVMUUIDQueryParameter(destinationSvmUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithDestinationUUIDQueryParameter(destinationUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithExportedSnapshotQueryParameter(exportedSnapshot *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationBucketQueryParameter(fabriclinkDestinationBucket *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationRoleQueryParameter(fabriclinkDestinationRole *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPendingWorkTaskCountQueryParameter(fabriclinkPendingWorkTaskCount *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPullByteCountQueryParameter(fabriclinkPullByteCount *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPushByteCountQueryParameter(fabriclinkPushByteCount *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkSourceBucketQueryParameter(fabriclinkSourceBucket *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkSourceRoleQueryParameter(fabriclinkSourceRole *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkStatusQueryParameter(fabriclinkStatus *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkTopologyUUIDQueryParameter(fabriclinkTopologyUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithGroupTypeQueryParameter(groupType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithHealthyQueryParameter(healthy *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithIdentityPreservationQueryParameter(identityPreservation *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithLagTimeQueryParameter(lagTime *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithLastTransferTypeQueryParameter(lastTransferType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithListDestinationsOnlyQueryParameter(listDestinationsOnly *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyNameQueryParameter(policyName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyTransferScheduleNameQueryParameter(policyTransferScheduleName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyTypeQueryParameter(policyType *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithPolicyUUIDQueryParameter(policyUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithRestoreQueryParameter(restore *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterNameQueryParameter(sourceClusterName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterUUIDQueryParameter(sourceClusterUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesNameQueryParameter(sourceConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourcePathQueryParameter(sourcePath *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceSVMNameQueryParameter(sourceSvmName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceSVMUUIDQueryParameter(sourceSvmUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithSourceUUIDQueryParameter(sourceUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithStateQueryParameter(state *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferBytesTransferredQueryParameter(transferBytesTransferred *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferEndTimeQueryParameter(transferEndTime *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleNameQueryParameter(transferScheduleName *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleUUIDQueryParameter(transferScheduleUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferStateQueryParameter(transferState *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferTotalDurationQueryParameter(transferTotalDuration *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithTransferUUIDQueryParameter(transferUUID *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUUIDQueryParameter(uuid *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCodeQueryParameter(unhealthyReasonCode *int64) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessageQueryParameter(unhealthyReasonMessage *string) *SnapmirrorRelationshipsGetParams
- func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonParametersQueryParameter(unhealthyReasonParameters *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 ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for snapmirror 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) (*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".
### 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/>
### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorPolicyDelete ¶
func (a *Client) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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) (*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/>
### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)
func (*Client) SnapmirrorRelationshipCreate ¶
func (a *Client) SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 Consistency Group endpoints. For SVM endpoint, provisioning of the destination SVM endpoint is not supported from the source cluster.<br>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 the source SVM has SVM peering permission 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. * `destination.consistency_group_volumes` - List of FlexVol volumes of type "RW" that are constituents of a Consistency Group. * `destination.consistency_group_volumes` - List of FlexVol volumes of type "DP" that are constituents of a 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_` * `source.ipspace` - `_Default_` * `destination.ipspace` - `_Default_` * `throttle` - _0_ ### 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. ### Examples The following examples show how to create FlexVol, FlexGroup, SVM and Consistency Group SnapMirror relationships. Note that the source SVM name should 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 a SnapMirror relationship with Consistency Group endpoint. <br/> ``` POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": "src_vol_1, src_vol_2"}, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": "dst_vol_1, dst_vol_2"}, "policy": "AutomatedFailOver" }' ``` Provision the destination Consistency Group endpoint on a Fabricpool with a tiering policy, create a SnapMirror 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": "src_vol_1, src_vol_2"}, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": "dst_vol_1, dst_vol_2"}, "create_destination": { "enabled": "true", "tiering": { "supported": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }' ``` Provision the destination Consistency Group endpoint with storage service, create a SnapMirror 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": "src_vol_1, src_vol_2"}, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": "dst_vol_1, dst_vol_2"}, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }' ``` <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/>
### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
func (*Client) SnapmirrorRelationshipDelete ¶
func (a *Client) SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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. ### 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/>
### 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) (*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.
<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.
### 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.
### 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}'
### 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` ### 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/>
### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error) SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyCreateAccepted, error) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyDeleteAccepted, error) SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyGetOK, error) SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyModifyAccepted, error) SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipCreateAccepted, error) SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipDeleteAccepted, error) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error) SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 snapmirror API client.
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) 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 { /* ArchiveAfterDays. Filter by archive.after_days */ ArchiveAfterDaysQueryParameter *int64 /* ArchiveEnabled. Filter by archive.enabled */ ArchiveEnabledQueryParameter *bool /* Comment. Filter by comment */ CommentQueryParameter *string /* CopyAllSourceSnapshots. Filter by copy_all_source_snapshots */ CopyAllSourceSnapshotsQueryParameter *bool /* CopyLatestSourceSnapshot. Filter by copy_latest_source_snapshot */ CopyLatestSourceSnapshotQueryParameter *bool /* CreateSnapshotOnSource. Filter by create_snapshot_on_source */ CreateSnapshotOnSourceQueryParameter *bool /* Fields. Specify the fields to return. */ FieldsQueryParameter []string /* IdentityPreservation. Filter by identity_preservation */ IdentityPreservationQueryParameter *string /* MaxRecords. Limit the number of records returned. */ MaxRecordsQueryParameter *int64 /* Name. Filter by name */ NameQueryParameter *string /* NetworkCompressionEnabled. Filter by network_compression_enabled */ NetworkCompressionEnabledQueryParameter *bool /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderByQueryParameter []string /* RetentionCount. Filter by retention.count */ RetentionCountQueryParameter *int64 /* RetentionCreationScheduleName. Filter by retention.creation_schedule.name */ RetentionCreationScheduleNameQueryParameter *string /* RetentionCreationScheduleUUID. Filter by retention.creation_schedule.uuid */ RetentionCreationScheduleUUIDQueryParameter *string /* RetentionLabel. Filter by retention.label */ RetentionLabelQueryParameter *string /* RetentionPeriod. Filter by retention.period */ RetentionPeriodQueryParameter *string /* RetentionPrefix. Filter by retention.prefix */ RetentionPrefixQueryParameter *string /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecordsQueryParameter *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 */ ReturnTimeoutQueryParameter *int64 /* Rpo. Filter by rpo */ RpoQueryParameter *int64 /* Scope. Filter by scope */ ScopeQueryParameter *string /* SnapshotLockMode. Filter by snapshot_lock_mode */ SnapshotLockModeQueryParameter *string /* SvmName. Filter by svm.name */ SVMNameQueryParameter *string /* SvmUUID. Filter by svm.uuid */ SVMUUIDQueryParameter *string /* SyncCommonSnapshotScheduleName. Filter by sync_common_snapshot_schedule.name */ SyncCommonSnapshotScheduleNameQueryParameter *string /* SyncCommonSnapshotScheduleUUID. Filter by sync_common_snapshot_schedule.uuid */ SyncCommonSnapshotScheduleUUIDQueryParameter *string /* SyncType. Filter by sync_type */ SyncTypeQueryParameter *string /* Throttle. Filter by throttle */ ThrottleQueryParameter *int64 /* TransferScheduleName. Filter by transfer_schedule.name */ TransferScheduleNameQueryParameter *string /* TransferScheduleUUID. Filter by transfer_schedule.uuid */ TransferScheduleUUIDQueryParameter *string /* Type. Filter by type */ TypeQueryParameter *string /* UUID. Filter by uuid */ UUIDQueryParameter *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) SetArchiveAfterDaysQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetArchiveAfterDaysQueryParameter(archiveAfterDays *int64)
SetArchiveAfterDaysQueryParameter adds the archiveAfterDays to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetArchiveEnabledQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetArchiveEnabledQueryParameter(archiveEnabled *bool)
SetArchiveEnabledQueryParameter adds the archiveEnabled to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetCommentQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetCommentQueryParameter(comment *string)
SetCommentQueryParameter 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) SetCopyAllSourceSnapshotsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshotsQueryParameter(copyAllSourceSnapshots *bool)
SetCopyAllSourceSnapshotsQueryParameter adds the copyAllSourceSnapshots to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshotQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshotQueryParameter(copyLatestSourceSnapshot *bool)
SetCopyLatestSourceSnapshotQueryParameter adds the copyLatestSourceSnapshot to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSourceQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSourceQueryParameter(createSnapshotOnSource *bool)
SetCreateSnapshotOnSourceQueryParameter 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) SetFieldsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter 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) SetIdentityPreservationQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetIdentityPreservationQueryParameter(identityPreservation *string)
SetIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetMaxRecordsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
SetMaxRecordsQueryParameter adds the maxRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetNameQueryParameter(name *string)
SetNameQueryParameter adds the name to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabledQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabledQueryParameter(networkCompressionEnabled *bool)
SetNetworkCompressionEnabledQueryParameter adds the networkCompressionEnabled to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetOrderByQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetOrderByQueryParameter(orderBy []string)
SetOrderByQueryParameter adds the orderBy to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionCountQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionCountQueryParameter(retentionCount *int64)
SetRetentionCountQueryParameter adds the retentionCount to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleNameQueryParameter(retentionCreationScheduleName *string)
SetRetentionCreationScheduleNameQueryParameter adds the retentionCreationScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUIDQueryParameter(retentionCreationScheduleUUID *string)
SetRetentionCreationScheduleUUIDQueryParameter adds the retentionCreationScheduleUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionLabelQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionLabelQueryParameter(retentionLabel *string)
SetRetentionLabelQueryParameter adds the retentionLabel to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionPeriodQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionPeriodQueryParameter(retentionPeriod *string)
SetRetentionPeriodQueryParameter adds the retentionPeriod to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRetentionPrefixQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRetentionPrefixQueryParameter(retentionPrefix *string)
SetRetentionPrefixQueryParameter adds the retentionPrefix to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetReturnRecordsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetRpoQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetRpoQueryParameter(rpo *int64)
SetRpoQueryParameter adds the rpo to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSVMNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetSVMNameQueryParameter(svmName *string)
SetSVMNameQueryParameter adds the svmName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSVMUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetSVMUUIDQueryParameter(svmUUID *string)
SetSVMUUIDQueryParameter adds the svmUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetScopeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetScopeQueryParameter(scope *string)
SetScopeQueryParameter adds the scope to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSnapshotLockModeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetSnapshotLockModeQueryParameter(snapshotLockMode *string)
SetSnapshotLockModeQueryParameter adds the snapshotLockMode to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleNameQueryParameter(syncCommonSnapshotScheduleName *string)
SetSyncCommonSnapshotScheduleNameQueryParameter adds the syncCommonSnapshotScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUIDQueryParameter(syncCommonSnapshotScheduleUUID *string)
SetSyncCommonSnapshotScheduleUUIDQueryParameter adds the syncCommonSnapshotScheduleUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetSyncTypeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetSyncTypeQueryParameter(syncType *string)
SetSyncTypeQueryParameter adds the syncType to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetThrottleQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetThrottleQueryParameter(throttle *int64)
SetThrottleQueryParameter 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) SetTransferScheduleNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleNameQueryParameter(transferScheduleName *string)
SetTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetTransferScheduleUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleUUIDQueryParameter(transferScheduleUUID *string)
SetTransferScheduleUUIDQueryParameter adds the transferScheduleUuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetTypeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetTypeQueryParameter(typeVar *string)
SetTypeQueryParameter adds the type to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) SetUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) SetUUIDQueryParameter(uuid *string)
SetUUIDQueryParameter adds the uuid to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithArchiveAfterDaysQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithArchiveAfterDaysQueryParameter(archiveAfterDays *int64) *SnapmirrorPoliciesGetParams
WithArchiveAfterDaysQueryParameter adds the archiveAfterDays to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithArchiveEnabledQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithArchiveEnabledQueryParameter(archiveEnabled *bool) *SnapmirrorPoliciesGetParams
WithArchiveEnabledQueryParameter adds the archiveEnabled to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithCommentQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithCommentQueryParameter(comment *string) *SnapmirrorPoliciesGetParams
WithCommentQueryParameter 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) WithCopyAllSourceSnapshotsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshotsQueryParameter(copyAllSourceSnapshots *bool) *SnapmirrorPoliciesGetParams
WithCopyAllSourceSnapshotsQueryParameter adds the copyAllSourceSnapshots to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshotQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshotQueryParameter(copyLatestSourceSnapshot *bool) *SnapmirrorPoliciesGetParams
WithCopyLatestSourceSnapshotQueryParameter adds the copyLatestSourceSnapshot to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSourceQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSourceQueryParameter(createSnapshotOnSource *bool) *SnapmirrorPoliciesGetParams
WithCreateSnapshotOnSourceQueryParameter 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) WithFieldsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorPoliciesGetParams
WithFieldsQueryParameter 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) WithIdentityPreservationQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithIdentityPreservationQueryParameter(identityPreservation *string) *SnapmirrorPoliciesGetParams
WithIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithMaxRecordsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorPoliciesGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithNameQueryParameter(name *string) *SnapmirrorPoliciesGetParams
WithNameQueryParameter adds the name to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabledQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabledQueryParameter(networkCompressionEnabled *bool) *SnapmirrorPoliciesGetParams
WithNetworkCompressionEnabledQueryParameter adds the networkCompressionEnabled to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithOrderByQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorPoliciesGetParams
WithOrderByQueryParameter adds the orderBy to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionCountQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionCountQueryParameter(retentionCount *int64) *SnapmirrorPoliciesGetParams
WithRetentionCountQueryParameter adds the retentionCount to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleNameQueryParameter(retentionCreationScheduleName *string) *SnapmirrorPoliciesGetParams
WithRetentionCreationScheduleNameQueryParameter adds the retentionCreationScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUIDQueryParameter(retentionCreationScheduleUUID *string) *SnapmirrorPoliciesGetParams
WithRetentionCreationScheduleUUIDQueryParameter adds the retentionCreationScheduleUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionLabelQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionLabelQueryParameter(retentionLabel *string) *SnapmirrorPoliciesGetParams
WithRetentionLabelQueryParameter adds the retentionLabel to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionPeriodQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionPeriodQueryParameter(retentionPeriod *string) *SnapmirrorPoliciesGetParams
WithRetentionPeriodQueryParameter adds the retentionPeriod to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRetentionPrefixQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRetentionPrefixQueryParameter(retentionPrefix *string) *SnapmirrorPoliciesGetParams
WithRetentionPrefixQueryParameter adds the retentionPrefix to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithReturnRecordsQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorPoliciesGetParams
WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPoliciesGetParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithRpoQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithRpoQueryParameter(rpo *int64) *SnapmirrorPoliciesGetParams
WithRpoQueryParameter adds the rpo to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSVMNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithSVMNameQueryParameter(svmName *string) *SnapmirrorPoliciesGetParams
WithSVMNameQueryParameter adds the svmName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSVMUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *SnapmirrorPoliciesGetParams
WithSVMUUIDQueryParameter adds the svmUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithScopeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithScopeQueryParameter(scope *string) *SnapmirrorPoliciesGetParams
WithScopeQueryParameter adds the scope to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSnapshotLockModeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithSnapshotLockModeQueryParameter(snapshotLockMode *string) *SnapmirrorPoliciesGetParams
WithSnapshotLockModeQueryParameter adds the snapshotLockMode to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleNameQueryParameter(syncCommonSnapshotScheduleName *string) *SnapmirrorPoliciesGetParams
WithSyncCommonSnapshotScheduleNameQueryParameter adds the syncCommonSnapshotScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUIDQueryParameter(syncCommonSnapshotScheduleUUID *string) *SnapmirrorPoliciesGetParams
WithSyncCommonSnapshotScheduleUUIDQueryParameter adds the syncCommonSnapshotScheduleUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithSyncTypeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithSyncTypeQueryParameter(syncType *string) *SnapmirrorPoliciesGetParams
WithSyncTypeQueryParameter adds the syncType to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithThrottleQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorPoliciesGetParams
WithThrottleQueryParameter 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) WithTransferScheduleNameQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleNameQueryParameter(transferScheduleName *string) *SnapmirrorPoliciesGetParams
WithTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithTransferScheduleUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleUUIDQueryParameter(transferScheduleUUID *string) *SnapmirrorPoliciesGetParams
WithTransferScheduleUUIDQueryParameter adds the transferScheduleUUID to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithTypeQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithTypeQueryParameter(typeVar *string) *SnapmirrorPoliciesGetParams
WithTypeQueryParameter adds the typeVar to the snapmirror policies get params
func (*SnapmirrorPoliciesGetParams) WithUUIDQueryParameter ¶
func (o *SnapmirrorPoliciesGetParams) WithUUIDQueryParameter(uuid *string) *SnapmirrorPoliciesGetParams
WithUUIDQueryParameter 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 {
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) 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 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. | | 13303850 | Invalid input parameter| | 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. |
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. */ ReturnRecordsQueryParameter *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. */ ReturnTimeoutQueryParameter *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) SetReturnRecordsQueryParameter ¶
func (o *SnapmirrorPolicyCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPolicyCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter 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) WithReturnRecordsQueryParameter ¶
func (o *SnapmirrorPolicyCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorPolicyCreateParams
WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror policy create params
func (*SnapmirrorPolicyCreateParams) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPolicyCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyCreateParams
WithReturnTimeoutQueryParameter 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) 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 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. */ ReturnTimeoutQueryParameter *int64 /* UUID. Policy UUID */ UUIDPathParameter 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) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPolicyDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorPolicyDeleteParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPolicyDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyDeleteParams
WithReturnTimeoutQueryParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorPolicyDeleteParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyDeleteParams
WithUUIDPathParameter 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) 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. */ FieldsQueryParameter []string /* UUID. Policy UUID */ UUIDPathParameter 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) SetFieldsQueryParameter ¶
func (o *SnapmirrorPolicyGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorPolicyGetParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithFieldsQueryParameter ¶
func (o *SnapmirrorPolicyGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorPolicyGetParams
WithFieldsQueryParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorPolicyGetParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyGetParams
WithUUIDPathParameter 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) 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. |
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 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. */ ReturnTimeoutQueryParameter *int64 /* UUID. Policy UUID */ UUIDPathParameter 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) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPolicyModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorPolicyModifyParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorPolicyModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyModifyParams
WithReturnTimeoutQueryParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorPolicyModifyParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyModifyParams
WithUUIDPathParameter 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 {
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) 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 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 | | ---------- | ----------- | | 1115545 | Access token has an invalid signature. | | 1115546 | Access token expired at a time. | | 1115547 | Access token not valid until a time. | | 1115548 | Access token is malformed. | | 1115549 | Internal error. Failed to validate access token. | | 6619637 | Relationship with specified destination volume already exists. | | 6620374 | Internal error. Failed to get SVM information. | | 6620478 | Internal error. Failed to check SnapMirror capability. | | 6621834 | Object store configuration does not exist for specified vserver. | | 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. | | 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. | | 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. | | 13303897 | Specifying transfer_schedule is only supported for an asynchronous SnapMirror relationship with a remote destination cluster that has an effective cluster version of 9.6 or earlier. | | 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". | | 13303945 | Schedule specified cannot be associated with the relationship because the policy used for the relationship has a schedule. | | 13303953 | SnapMirror relationships between FlexGroup volumes and object store endpoints are not supported. | | 13303957 | Restore to the specified destination endpoint is not supported. | | 13303958 | The \\\"source.uuid\\\" property must be specified. | | 13303959 | The \\\"source.uuid\\\" property can only be specified when using the \\\"restore\\\" property to create a SnapMirror relationship from an object store endpoint. | | 13303960 | The \\\"destination.uuid\\\" property cannot be specified for these endpoints. | | 13303961 | Creating a destination endpoint is not supported with the \\\"source.uuid\\\" property. | | 13303962 | Creating a destination endpoint is not supported with the \\\"destination.uuid\\\" property. | | 13303964 | Specified property is not supported for object store relationships. | | 13303965 | Specified endpoint not found. | | 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. | | 13304026 | API license token is required for this operation. | | 13304027 | Invalid API license token specified. | | 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". | | 13304034 | SnapMirror Cloud license must be installed to use this feature. | | 13304035 | SnapMirror Cloud license capacity limit has been exceeded. | | 13304036 | SnapmMirror Cloud license term has expired. | | 13304038 | SnapMirror Cloud License capacity limit would be exceeded with this SnapMirror operation. | | 13304042 | The specified destination or source cluster for relationships with an object store destination must be local. | | 13304043 | The property must be specified for a restore from an object store endpoint. | | 13304044 | File restore from object store endpoints is not supported for relationship restore. | | 13304045 | Incremental restore from an object store endpoint is not supported. | | 13304077 | Specified property is only supported for creating a destination endpoint for FabricLink SnapMirror relationships.</private> | | 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.<private> |
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. */ ReturnRecordsQueryParameter *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. */ ReturnTimeoutQueryParameter *int64 /* ValidateOnly. Validate the operation and its parameters, without actually performing the operation. */ ValidateOnlyQueryParameter *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) SetReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter 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) SetValidateOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipCreateParams) SetValidateOnlyQueryParameter(validateOnly *bool)
SetValidateOnlyQueryParameter 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) WithReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipCreateParams
WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship create params
func (*SnapmirrorRelationshipCreateParams) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipCreateParams
WithReturnTimeoutQueryParameter 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) WithValidateOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipCreateParams) WithValidateOnlyQueryParameter(validateOnly *bool) *SnapmirrorRelationshipCreateParams
WithValidateOnlyQueryParameter 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) 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 SnapmirrorRelationshipDeleteParams ¶
type SnapmirrorRelationshipDeleteParams struct { /* 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. */ DestinationOnlyQueryParameter *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. */ ReturnTimeoutQueryParameter *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. */ SourceInfoOnlyQueryParameter *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. */ SourceOnlyQueryParameter *bool /* UUID. Relationship UUID */ UUIDPathParameter 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) SetDestinationOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) SetDestinationOnlyQueryParameter(destinationOnly *bool)
SetDestinationOnlyQueryParameter 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) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetSourceInfoOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) SetSourceInfoOnlyQueryParameter(sourceInfoOnly *bool)
SetSourceInfoOnlyQueryParameter adds the sourceInfoOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) SetSourceOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) SetSourceOnlyQueryParameter(sourceOnly *bool)
SetSourceOnlyQueryParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithDestinationOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) WithDestinationOnlyQueryParameter(destinationOnly *bool) *SnapmirrorRelationshipDeleteParams
WithDestinationOnlyQueryParameter 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) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipDeleteParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithSourceInfoOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) WithSourceInfoOnlyQueryParameter(sourceInfoOnly *bool) *SnapmirrorRelationshipDeleteParams
WithSourceInfoOnlyQueryParameter adds the sourceInfoOnly to the snapmirror relationship delete params
func (*SnapmirrorRelationshipDeleteParams) WithSourceOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) WithSourceOnlyQueryParameter(sourceOnly *bool) *SnapmirrorRelationshipDeleteParams
WithSourceOnlyQueryParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorRelationshipDeleteParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipDeleteParams
WithUUIDPathParameter 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) 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. */ FieldsQueryParameter []string /* ListDestinationsOnly. Set to true to show relationships from the source only. */ ListDestinationsOnlyQueryParameter *bool /* UUID. Relationship UUID */ UUIDPathParameter 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) SetFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter 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) SetListDestinationsOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipGetParams) SetListDestinationsOnlyQueryParameter(listDestinationsOnly *bool)
SetListDestinationsOnlyQueryParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorRelationshipGetParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipGetParams
WithFieldsQueryParameter 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) WithListDestinationsOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipGetParams) WithListDestinationsOnlyQueryParameter(listDestinationsOnly *bool) *SnapmirrorRelationshipGetParams
WithListDestinationsOnlyQueryParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorRelationshipGetParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipGetParams
WithUUIDPathParameter 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) 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. |
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 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. */ FailbackQueryParameter *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. */ FailoverQueryParameter *bool /* Force. If this parameter is set while specifying the state as "broken_off", indicates a forced failover overriding the validation errors. */ ForceQueryParameter *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. */ ForceFailoverQueryParameter *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. */ ReturnTimeoutQueryParameter *int64 /* UUID. Relationship UUID */ UUIDPathParameter string /* ValidateOnly. Validate the operation and its parameters, without actually performing the operation. */ ValidateOnlyQueryParameter *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) SetFailbackQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetFailbackQueryParameter(failback *bool)
SetFailbackQueryParameter adds the failback to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetFailoverQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetFailoverQueryParameter(failover *bool)
SetFailoverQueryParameter adds the failover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetForceFailoverQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetForceFailoverQueryParameter(forceFailover *bool)
SetForceFailoverQueryParameter adds the forceFailover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetForceQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetForceQueryParameter(force *bool)
SetForceQueryParameter adds the force 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) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter adds the uuid to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) SetValidateOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) SetValidateOnlyQueryParameter(validateOnly *bool)
SetValidateOnlyQueryParameter 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) WithFailbackQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithFailbackQueryParameter(failback *bool) *SnapmirrorRelationshipModifyParams
WithFailbackQueryParameter adds the failback to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithFailoverQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithFailoverQueryParameter(failover *bool) *SnapmirrorRelationshipModifyParams
WithFailoverQueryParameter adds the failover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithForceFailoverQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithForceFailoverQueryParameter(forceFailover *bool) *SnapmirrorRelationshipModifyParams
WithForceFailoverQueryParameter adds the forceFailover to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithForceQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithForceQueryParameter(force *bool) *SnapmirrorRelationshipModifyParams
WithForceQueryParameter adds the force 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) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipModifyParams
WithReturnTimeoutQueryParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipModifyParams
WithUUIDPathParameter adds the uuid to the snapmirror relationship modify params
func (*SnapmirrorRelationshipModifyParams) WithValidateOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipModifyParams) WithValidateOnlyQueryParameter(validateOnly *bool) *SnapmirrorRelationshipModifyParams
WithValidateOnlyQueryParameter 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 { }
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) 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 arguments | | 13304040 | Throttle not supported for update of Synchronous SnapMirror relationships | | 6620237 | SnapMirror relationship database write failed | | 6620238 | SnapMirror relationship database read failed |
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. Relationship UUID */ RelationshIPUUIDPathParameter string /* ReturnRecords. The default is false. If set to true, the records are returned. */ ReturnRecordsQueryParameter *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. */ ReturnTimeoutQueryParameter *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) SetRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)
SetRelationshIPUUIDPathParameter adds the relationshipUuid to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter 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) WithRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferCreateParams
WithRelationshIPUUIDPathParameter adds the relationshipUUID to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipTransferCreateParams
WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfer create params
func (*SnapmirrorRelationshipTransferCreateParams) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipTransferCreateParams
WithReturnTimeoutQueryParameter 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) 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. */ FieldsQueryParameter []string /* RelationshipUUID. Relationship UUID */ RelationshIPUUIDPathParameter string /* UUID. Transfer UUID */ UUIDPathParameter 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) SetFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter 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) SetRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)
SetRelationshIPUUIDPathParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferGetParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipTransferGetParams
WithFieldsQueryParameter 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) WithRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferGetParams
WithRelationshIPUUIDPathParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferGetParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipTransferGetParams
WithUUIDPathParameter 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) 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. Relationship UUID */ RelationshIPUUIDPathParameter string /* UUID. Transfer UUID */ UUIDPathParameter 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) SetRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)
SetRelationshIPUUIDPathParameter 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) SetUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferModifyParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter 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) WithRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferModifyParams
WithRelationshIPUUIDPathParameter 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) WithUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransferModifyParams) WithUUIDPathParameter(uuid string) *SnapmirrorRelationshipTransferModifyParams
WithUUIDPathParameter 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) 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 { /* ArchiveRetrievalPriority. Filter by archive_retrieval_priority */ ArchiveRetrievalPriorityQueryParameter *string /* BytesTransferred. Filter by bytes_transferred */ BytesTransferredQueryParameter *int64 /* CheckpointSize. Filter by checkpoint_size */ CheckpointSizeQueryParameter *int64 /* EndTime. Filter by end_time */ EndTimeQueryParameter *string /* ErrorInfoCode. Filter by error_info.code */ ErrorInfoCodeQueryParameter *int64 /* ErrorInfoMessage. Filter by error_info.message */ ErrorInfoMessageQueryParameter *string /* Fields. Specify the fields to return. */ FieldsQueryParameter []string /* MaxRecords. Limit the number of records returned. */ MaxRecordsQueryParameter *int64 /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderByQueryParameter []string /* RelationshipDestinationClusterName. Filter by relationship.destination.cluster.name */ RelationshIPDestinationClusterNameQueryParameter *string /* RelationshipDestinationClusterUUID. Filter by relationship.destination.cluster.uuid */ RelationshIPDestinationClusterUUIDQueryParameter *string /* RelationshipDestinationConsistencyGroupVolumesName. Filter by relationship.destination.consistency_group_volumes.name */ RelationshIPDestinationConsistencyGroupVolumesNameQueryParameter *string /* RelationshipDestinationPath. Filter by relationship.destination.path */ RelationshIPDestinationPathQueryParameter *string /* RelationshipDestinationSvmName. Filter by relationship.destination.svm.name */ RelationshIPDestinationSVMNameQueryParameter *string /* RelationshipDestinationSvmUUID. Filter by relationship.destination.svm.uuid */ RelationshIPDestinationSVMUUIDQueryParameter *string /* RelationshipDestinationUUID. Filter by relationship.destination.uuid */ RelationshIPDestinationUUIDQueryParameter *string /* RelationshipRestore. Filter by relationship.restore */ RelationshIPRestoreQueryParameter *bool /* RelationshipUUID. Relationship UUID */ RelationshIPUUIDPathParameter string /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecordsQueryParameter *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 */ ReturnTimeoutQueryParameter *int64 /* Snapshot. Filter by snapshot */ SnapshotQueryParameter *string /* State. Filter by state */ StateQueryParameter *string /* Throttle. Filter by throttle */ ThrottleQueryParameter *int64 /* TotalDuration. Filter by total_duration */ TotalDurationQueryParameter *string /* UUID. Filter by uuid */ UUIDQueryParameter *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) SetArchiveRetrievalPriorityQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetArchiveRetrievalPriorityQueryParameter(archiveRetrievalPriority *string)
SetArchiveRetrievalPriorityQueryParameter adds the archiveRetrievalPriority to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetBytesTransferredQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetBytesTransferredQueryParameter(bytesTransferred *int64)
SetBytesTransferredQueryParameter adds the bytesTransferred to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetCheckpointSizeQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetCheckpointSizeQueryParameter(checkpointSize *int64)
SetCheckpointSizeQueryParameter 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) SetEndTimeQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetEndTimeQueryParameter(endTime *string)
SetEndTimeQueryParameter adds the endTime to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCodeQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCodeQueryParameter(errorInfoCode *int64)
SetErrorInfoCodeQueryParameter adds the errorInfoCode to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessageQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessageQueryParameter(errorInfoMessage *string)
SetErrorInfoMessageQueryParameter adds the errorInfoMessage to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter 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) SetMaxRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
SetMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetOrderByQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetOrderByQueryParameter(orderBy []string)
SetOrderByQueryParameter adds the orderBy to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterNameQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterNameQueryParameter(relationshipDestinationClusterName *string)
SetRelationshIPDestinationClusterNameQueryParameter adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterUUIDQueryParameter(relationshipDestinationClusterUUID *string)
SetRelationshIPDestinationClusterUUIDQueryParameter adds the relationshipDestinationClusterUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter(relationshipDestinationConsistencyGroupVolumesName *string)
SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationPathQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationPathQueryParameter(relationshipDestinationPath *string)
SetRelationshIPDestinationPathQueryParameter adds the relationshipDestinationPath to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMNameQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMNameQueryParameter(relationshipDestinationSvmName *string)
SetRelationshIPDestinationSVMNameQueryParameter adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMUUIDQueryParameter(relationshipDestinationSvmUUID *string)
SetRelationshIPDestinationSVMUUIDQueryParameter adds the relationshipDestinationSvmUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationUUIDQueryParameter(relationshipDestinationUUID *string)
SetRelationshIPDestinationUUIDQueryParameter adds the relationshipDestinationUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPRestoreQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPRestoreQueryParameter(relationshipRestore *bool)
SetRelationshIPRestoreQueryParameter adds the relationshipRestore to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)
SetRelationshIPUUIDPathParameter adds the relationshipUuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetSnapshotQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetSnapshotQueryParameter(snapshot *string)
SetSnapshotQueryParameter adds the snapshot to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetStateQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetStateQueryParameter(state *string)
SetStateQueryParameter adds the state to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetThrottleQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetThrottleQueryParameter(throttle *int64)
SetThrottleQueryParameter 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) SetTotalDurationQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetTotalDurationQueryParameter(totalDuration *string)
SetTotalDurationQueryParameter adds the totalDuration to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) SetUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) SetUUIDQueryParameter(uuid *string)
SetUUIDQueryParameter adds the uuid to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithArchiveRetrievalPriorityQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithArchiveRetrievalPriorityQueryParameter(archiveRetrievalPriority *string) *SnapmirrorRelationshipTransfersGetParams
WithArchiveRetrievalPriorityQueryParameter adds the archiveRetrievalPriority to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithBytesTransferredQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithBytesTransferredQueryParameter(bytesTransferred *int64) *SnapmirrorRelationshipTransfersGetParams
WithBytesTransferredQueryParameter adds the bytesTransferred to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithCheckpointSizeQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithCheckpointSizeQueryParameter(checkpointSize *int64) *SnapmirrorRelationshipTransfersGetParams
WithCheckpointSizeQueryParameter 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) WithEndTimeQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithEndTimeQueryParameter(endTime *string) *SnapmirrorRelationshipTransfersGetParams
WithEndTimeQueryParameter adds the endTime to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCodeQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCodeQueryParameter(errorInfoCode *int64) *SnapmirrorRelationshipTransfersGetParams
WithErrorInfoCodeQueryParameter adds the errorInfoCode to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessageQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessageQueryParameter(errorInfoMessage *string) *SnapmirrorRelationshipTransfersGetParams
WithErrorInfoMessageQueryParameter adds the errorInfoMessage to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipTransfersGetParams
WithFieldsQueryParameter 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) WithMaxRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorRelationshipTransfersGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithOrderByQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorRelationshipTransfersGetParams
WithOrderByQueryParameter adds the orderBy to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterNameQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterNameQueryParameter(relationshipDestinationClusterName *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationClusterNameQueryParameter adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterUUIDQueryParameter(relationshipDestinationClusterUUID *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationClusterUUIDQueryParameter adds the relationshipDestinationClusterUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter(relationshipDestinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationPathQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationPathQueryParameter(relationshipDestinationPath *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationPathQueryParameter adds the relationshipDestinationPath to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMNameQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMNameQueryParameter(relationshipDestinationSvmName *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationSVMNameQueryParameter adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMUUIDQueryParameter(relationshipDestinationSvmUUID *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationSVMUUIDQueryParameter adds the relationshipDestinationSvmUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationUUIDQueryParameter(relationshipDestinationUUID *string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPDestinationUUIDQueryParameter adds the relationshipDestinationUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPRestoreQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPRestoreQueryParameter(relationshipRestore *bool) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPRestoreQueryParameter adds the relationshipRestore to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPUUIDPathParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransfersGetParams
WithRelationshIPUUIDPathParameter adds the relationshipUUID to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipTransfersGetParams
WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipTransfersGetParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithSnapshotQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithSnapshotQueryParameter(snapshot *string) *SnapmirrorRelationshipTransfersGetParams
WithSnapshotQueryParameter adds the snapshot to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithStateQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithStateQueryParameter(state *string) *SnapmirrorRelationshipTransfersGetParams
WithStateQueryParameter adds the state to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithThrottleQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorRelationshipTransfersGetParams
WithThrottleQueryParameter 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) WithTotalDurationQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithTotalDurationQueryParameter(totalDuration *string) *SnapmirrorRelationshipTransfersGetParams
WithTotalDurationQueryParameter adds the totalDuration to the snapmirror relationship transfers get params
func (*SnapmirrorRelationshipTransfersGetParams) WithUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipTransfersGetParams) WithUUIDQueryParameter(uuid *string) *SnapmirrorRelationshipTransfersGetParams
WithUUIDQueryParameter 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) 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 { /* ConsistencyGroupFailoverErrorArgumentsCode. Filter by consistency_group_failover.error.arguments.code */ ConsistencyGroupFailoverErrorArgumentsCodeQueryParameter *string /* ConsistencyGroupFailoverErrorArgumentsMessage. Filter by consistency_group_failover.error.arguments.message */ ConsistencyGroupFailoverErrorArgumentsMessageQueryParameter *string /* ConsistencyGroupFailoverErrorCode. Filter by consistency_group_failover.error.code */ ConsistencyGroupFailoverErrorCodeQueryParameter *string /* ConsistencyGroupFailoverErrorMessage. Filter by consistency_group_failover.error.message */ ConsistencyGroupFailoverErrorMessageQueryParameter *string /* ConsistencyGroupFailoverErrorTarget. Filter by consistency_group_failover.error.target */ ConsistencyGroupFailoverErrorTargetQueryParameter *string /* ConsistencyGroupFailoverStatusCode. Filter by consistency_group_failover.status.code */ ConsistencyGroupFailoverStatusCodeQueryParameter *string /* ConsistencyGroupFailoverStatusMessage. Filter by consistency_group_failover.status.message */ ConsistencyGroupFailoverStatusMessageQueryParameter *string /* DestinationClusterName. Filter by destination.cluster.name */ DestinationClusterNameQueryParameter *string /* DestinationClusterUUID. Filter by destination.cluster.uuid */ DestinationClusterUUIDQueryParameter *string /* DestinationConsistencyGroupVolumesName. Filter by destination.consistency_group_volumes.name */ DestinationConsistencyGroupVolumesNameQueryParameter *string /* DestinationPath. Filter by destination.path */ DestinationPathQueryParameter *string /* DestinationSvmName. Filter by destination.svm.name */ DestinationSVMNameQueryParameter *string /* DestinationSvmUUID. Filter by destination.svm.uuid */ DestinationSVMUUIDQueryParameter *string /* DestinationUUID. Filter by destination.uuid */ DestinationUUIDQueryParameter *string /* ExportedSnapshot. Filter by exported_snapshot */ ExportedSnapshotQueryParameter *string /* FabriclinkDestinationBucket. Filter by fabriclink.destination_bucket */ FabriclinkDestinationBucketQueryParameter *string /* FabriclinkDestinationRole. Filter by fabriclink.destination_role */ FabriclinkDestinationRoleQueryParameter *string /* FabriclinkPendingWorkTaskCount. Filter by fabriclink.pending_work_task_count */ FabriclinkPendingWorkTaskCountQueryParameter *int64 /* FabriclinkPullByteCount. Filter by fabriclink.pull_byte_count */ FabriclinkPullByteCountQueryParameter *int64 /* FabriclinkPushByteCount. Filter by fabriclink.push_byte_count */ FabriclinkPushByteCountQueryParameter *int64 /* FabriclinkSourceBucket. Filter by fabriclink.source_bucket */ FabriclinkSourceBucketQueryParameter *string /* FabriclinkSourceRole. Filter by fabriclink.source_role */ FabriclinkSourceRoleQueryParameter *string /* FabriclinkStatus. Filter by fabriclink.status */ FabriclinkStatusQueryParameter *string /* FabriclinkTopologyUUID. Filter by fabriclink.topology_uuid */ FabriclinkTopologyUUIDQueryParameter *string /* Fields. Specify the fields to return. */ FieldsQueryParameter []string /* GroupType. Filter by group_type */ GroupTypeQueryParameter *string /* Healthy. Filter by healthy */ HealthyQueryParameter *bool /* IdentityPreservation. Filter by identity_preservation */ IdentityPreservationQueryParameter *string /* LagTime. Filter by lag_time */ LagTimeQueryParameter *string /* LastTransferType. Filter by last_transfer_type */ LastTransferTypeQueryParameter *string /* ListDestinationsOnly. Set to true to show relationships from the source only. */ ListDestinationsOnlyQueryParameter *bool /* MaxRecords. Limit the number of records returned. */ MaxRecordsQueryParameter *int64 /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderByQueryParameter []string /* PolicyName. Filter by policy.name */ PolicyNameQueryParameter *string /* PolicyTransferScheduleName. Filter by policy.transfer_schedule.name */ PolicyTransferScheduleNameQueryParameter *string /* PolicyType. Filter by policy.type */ PolicyTypeQueryParameter *string /* PolicyUUID. Filter by policy.uuid */ PolicyUUIDQueryParameter *string /* Restore. Filter by restore */ RestoreQueryParameter *bool /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecordsQueryParameter *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 */ ReturnTimeoutQueryParameter *int64 /* SourceClusterName. Filter by source.cluster.name */ SourceClusterNameQueryParameter *string /* SourceClusterUUID. Filter by source.cluster.uuid */ SourceClusterUUIDQueryParameter *string /* SourceConsistencyGroupVolumesName. Filter by source.consistency_group_volumes.name */ SourceConsistencyGroupVolumesNameQueryParameter *string /* SourcePath. Filter by source.path */ SourcePathQueryParameter *string /* SourceSvmName. Filter by source.svm.name */ SourceSVMNameQueryParameter *string /* SourceSvmUUID. Filter by source.svm.uuid */ SourceSVMUUIDQueryParameter *string /* SourceUUID. Filter by source.uuid */ SourceUUIDQueryParameter *string /* State. Filter by state */ StateQueryParameter *string /* Throttle. Filter by throttle */ ThrottleQueryParameter *int64 /* TransferBytesTransferred. Filter by transfer.bytes_transferred */ TransferBytesTransferredQueryParameter *int64 /* TransferEndTime. Filter by transfer.end_time */ TransferEndTimeQueryParameter *string /* TransferState. Filter by transfer.state */ TransferStateQueryParameter *string /* TransferTotalDuration. Filter by transfer.total_duration */ TransferTotalDurationQueryParameter *string /* TransferUUID. Filter by transfer.uuid */ TransferUUIDQueryParameter *string /* TransferScheduleName. Filter by transfer_schedule.name */ TransferScheduleNameQueryParameter *string /* TransferScheduleUUID. Filter by transfer_schedule.uuid */ TransferScheduleUUIDQueryParameter *string /* UnhealthyReasonCode. Filter by unhealthy_reason.code */ UnhealthyReasonCodeQueryParameter *int64 /* UnhealthyReasonMessage. Filter by unhealthy_reason.message */ UnhealthyReasonMessageQueryParameter *string /* UnhealthyReasonParameters. Filter by unhealthy_reason.parameters */ UnhealthyReasonParametersQueryParameter *string /* UUID. Filter by uuid */ UUIDQueryParameter *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) SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter(consistencyGroupFailoverErrorArgumentsCode *string)
SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter(consistencyGroupFailoverErrorArgumentsMessage *string)
SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCodeQueryParameter(consistencyGroupFailoverErrorCode *string)
SetConsistencyGroupFailoverErrorCodeQueryParameter adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessageQueryParameter(consistencyGroupFailoverErrorMessage *string)
SetConsistencyGroupFailoverErrorMessageQueryParameter adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorTargetQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorTargetQueryParameter(consistencyGroupFailoverErrorTarget *string)
SetConsistencyGroupFailoverErrorTargetQueryParameter adds the consistencyGroupFailoverErrorTarget to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCodeQueryParameter(consistencyGroupFailoverStatusCode *string)
SetConsistencyGroupFailoverStatusCodeQueryParameter adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessageQueryParameter(consistencyGroupFailoverStatusMessage *string)
SetConsistencyGroupFailoverStatusMessageQueryParameter adds the consistencyGroupFailoverStatusMessage 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) SetDestinationClusterNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterNameQueryParameter(destinationClusterName *string)
SetDestinationClusterNameQueryParameter adds the destinationClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterUUIDQueryParameter(destinationClusterUUID *string)
SetDestinationClusterUUIDQueryParameter adds the destinationClusterUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesNameQueryParameter(destinationConsistencyGroupVolumesName *string)
SetDestinationConsistencyGroupVolumesNameQueryParameter adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationPathQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationPathQueryParameter(destinationPath *string)
SetDestinationPathQueryParameter adds the destinationPath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationSVMNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationSVMNameQueryParameter(destinationSvmName *string)
SetDestinationSVMNameQueryParameter adds the destinationSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationSVMUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationSVMUUIDQueryParameter(destinationSvmUUID *string)
SetDestinationSVMUUIDQueryParameter adds the destinationSvmUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetDestinationUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetDestinationUUIDQueryParameter(destinationUUID *string)
SetDestinationUUIDQueryParameter adds the destinationUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetExportedSnapshotQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetExportedSnapshotQueryParameter(exportedSnapshot *string)
SetExportedSnapshotQueryParameter adds the exportedSnapshot to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationBucketQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationBucketQueryParameter(fabriclinkDestinationBucket *string)
SetFabriclinkDestinationBucketQueryParameter adds the fabriclinkDestinationBucket to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationRoleQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationRoleQueryParameter(fabriclinkDestinationRole *string)
SetFabriclinkDestinationRoleQueryParameter adds the fabriclinkDestinationRole to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkPendingWorkTaskCountQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPendingWorkTaskCountQueryParameter(fabriclinkPendingWorkTaskCount *int64)
SetFabriclinkPendingWorkTaskCountQueryParameter adds the fabriclinkPendingWorkTaskCount to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkPullByteCountQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPullByteCountQueryParameter(fabriclinkPullByteCount *int64)
SetFabriclinkPullByteCountQueryParameter adds the fabriclinkPullByteCount to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkPushByteCountQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPushByteCountQueryParameter(fabriclinkPushByteCount *int64)
SetFabriclinkPushByteCountQueryParameter adds the fabriclinkPushByteCount to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkSourceBucketQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkSourceBucketQueryParameter(fabriclinkSourceBucket *string)
SetFabriclinkSourceBucketQueryParameter adds the fabriclinkSourceBucket to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkSourceRoleQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkSourceRoleQueryParameter(fabriclinkSourceRole *string)
SetFabriclinkSourceRoleQueryParameter adds the fabriclinkSourceRole to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkStatusQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkStatusQueryParameter(fabriclinkStatus *string)
SetFabriclinkStatusQueryParameter adds the fabriclinkStatus to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFabriclinkTopologyUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkTopologyUUIDQueryParameter(fabriclinkTopologyUUID *string)
SetFabriclinkTopologyUUIDQueryParameter adds the fabriclinkTopologyUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter adds the fields to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetGroupTypeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetGroupTypeQueryParameter(groupType *string)
SetGroupTypeQueryParameter 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) SetHealthyQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetHealthyQueryParameter(healthy *bool)
SetHealthyQueryParameter adds the healthy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetIdentityPreservationQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetIdentityPreservationQueryParameter(identityPreservation *string)
SetIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetLagTimeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetLagTimeQueryParameter(lagTime *string)
SetLagTimeQueryParameter adds the lagTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetLastTransferTypeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetLastTransferTypeQueryParameter(lastTransferType *string)
SetLastTransferTypeQueryParameter adds the lastTransferType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetListDestinationsOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetListDestinationsOnlyQueryParameter(listDestinationsOnly *bool)
SetListDestinationsOnlyQueryParameter adds the listDestinationsOnly to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetMaxRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
SetMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetOrderByQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetOrderByQueryParameter(orderBy []string)
SetOrderByQueryParameter adds the orderBy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyNameQueryParameter(policyName *string)
SetPolicyNameQueryParameter adds the policyName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyTransferScheduleNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyTransferScheduleNameQueryParameter(policyTransferScheduleName *string)
SetPolicyTransferScheduleNameQueryParameter adds the policyTransferScheduleName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyTypeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyTypeQueryParameter(policyType *string)
SetPolicyTypeQueryParameter adds the policyType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetPolicyUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetPolicyUUIDQueryParameter(policyUUID *string)
SetPolicyUUIDQueryParameter adds the policyUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetRestoreQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetRestoreQueryParameter(restore *bool)
SetRestoreQueryParameter adds the restore to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceClusterNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterNameQueryParameter(sourceClusterName *string)
SetSourceClusterNameQueryParameter adds the sourceClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceClusterUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterUUIDQueryParameter(sourceClusterUUID *string)
SetSourceClusterUUIDQueryParameter adds the sourceClusterUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesNameQueryParameter(sourceConsistencyGroupVolumesName *string)
SetSourceConsistencyGroupVolumesNameQueryParameter adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourcePathQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourcePathQueryParameter(sourcePath *string)
SetSourcePathQueryParameter adds the sourcePath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceSVMNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceSVMNameQueryParameter(sourceSvmName *string)
SetSourceSVMNameQueryParameter adds the sourceSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceSVMUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceSVMUUIDQueryParameter(sourceSvmUUID *string)
SetSourceSVMUUIDQueryParameter adds the sourceSvmUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetSourceUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetSourceUUIDQueryParameter(sourceUUID *string)
SetSourceUUIDQueryParameter adds the sourceUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetStateQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetStateQueryParameter(state *string)
SetStateQueryParameter adds the state to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetThrottleQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetThrottleQueryParameter(throttle *int64)
SetThrottleQueryParameter 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) SetTransferBytesTransferredQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferBytesTransferredQueryParameter(transferBytesTransferred *int64)
SetTransferBytesTransferredQueryParameter adds the transferBytesTransferred to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferEndTimeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferEndTimeQueryParameter(transferEndTime *string)
SetTransferEndTimeQueryParameter adds the transferEndTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleNameQueryParameter(transferScheduleName *string)
SetTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleUUIDQueryParameter(transferScheduleUUID *string)
SetTransferScheduleUUIDQueryParameter adds the transferScheduleUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferStateQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferStateQueryParameter(transferState *string)
SetTransferStateQueryParameter adds the transferState to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferTotalDurationQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferTotalDurationQueryParameter(transferTotalDuration *string)
SetTransferTotalDurationQueryParameter adds the transferTotalDuration to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetTransferUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetTransferUUIDQueryParameter(transferUUID *string)
SetTransferUUIDQueryParameter adds the transferUuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetUUIDQueryParameter(uuid *string)
SetUUIDQueryParameter adds the uuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCodeQueryParameter(unhealthyReasonCode *int64)
SetUnhealthyReasonCodeQueryParameter adds the unhealthyReasonCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessageQueryParameter(unhealthyReasonMessage *string)
SetUnhealthyReasonMessageQueryParameter adds the unhealthyReasonMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonParametersQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonParametersQueryParameter(unhealthyReasonParameters *string)
SetUnhealthyReasonParametersQueryParameter adds the unhealthyReasonParameters to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter(consistencyGroupFailoverErrorArgumentsCode *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter(consistencyGroupFailoverErrorArgumentsMessage *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCodeQueryParameter(consistencyGroupFailoverErrorCode *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorCodeQueryParameter adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessageQueryParameter(consistencyGroupFailoverErrorMessage *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorMessageQueryParameter adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorTargetQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorTargetQueryParameter(consistencyGroupFailoverErrorTarget *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverErrorTargetQueryParameter adds the consistencyGroupFailoverErrorTarget to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCodeQueryParameter(consistencyGroupFailoverStatusCode *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverStatusCodeQueryParameter adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessageQueryParameter(consistencyGroupFailoverStatusMessage *string) *SnapmirrorRelationshipsGetParams
WithConsistencyGroupFailoverStatusMessageQueryParameter adds the consistencyGroupFailoverStatusMessage 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) WithDestinationClusterNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterNameQueryParameter(destinationClusterName *string) *SnapmirrorRelationshipsGetParams
WithDestinationClusterNameQueryParameter adds the destinationClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterUUIDQueryParameter(destinationClusterUUID *string) *SnapmirrorRelationshipsGetParams
WithDestinationClusterUUIDQueryParameter adds the destinationClusterUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesNameQueryParameter(destinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
WithDestinationConsistencyGroupVolumesNameQueryParameter adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationPathQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationPathQueryParameter(destinationPath *string) *SnapmirrorRelationshipsGetParams
WithDestinationPathQueryParameter adds the destinationPath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationSVMNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationSVMNameQueryParameter(destinationSvmName *string) *SnapmirrorRelationshipsGetParams
WithDestinationSVMNameQueryParameter adds the destinationSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationSVMUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationSVMUUIDQueryParameter(destinationSvmUUID *string) *SnapmirrorRelationshipsGetParams
WithDestinationSVMUUIDQueryParameter adds the destinationSvmUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithDestinationUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithDestinationUUIDQueryParameter(destinationUUID *string) *SnapmirrorRelationshipsGetParams
WithDestinationUUIDQueryParameter adds the destinationUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithExportedSnapshotQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithExportedSnapshotQueryParameter(exportedSnapshot *string) *SnapmirrorRelationshipsGetParams
WithExportedSnapshotQueryParameter adds the exportedSnapshot to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationBucketQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationBucketQueryParameter(fabriclinkDestinationBucket *string) *SnapmirrorRelationshipsGetParams
WithFabriclinkDestinationBucketQueryParameter adds the fabriclinkDestinationBucket to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationRoleQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationRoleQueryParameter(fabriclinkDestinationRole *string) *SnapmirrorRelationshipsGetParams
WithFabriclinkDestinationRoleQueryParameter adds the fabriclinkDestinationRole to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkPendingWorkTaskCountQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPendingWorkTaskCountQueryParameter(fabriclinkPendingWorkTaskCount *int64) *SnapmirrorRelationshipsGetParams
WithFabriclinkPendingWorkTaskCountQueryParameter adds the fabriclinkPendingWorkTaskCount to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkPullByteCountQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPullByteCountQueryParameter(fabriclinkPullByteCount *int64) *SnapmirrorRelationshipsGetParams
WithFabriclinkPullByteCountQueryParameter adds the fabriclinkPullByteCount to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkPushByteCountQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPushByteCountQueryParameter(fabriclinkPushByteCount *int64) *SnapmirrorRelationshipsGetParams
WithFabriclinkPushByteCountQueryParameter adds the fabriclinkPushByteCount to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkSourceBucketQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkSourceBucketQueryParameter(fabriclinkSourceBucket *string) *SnapmirrorRelationshipsGetParams
WithFabriclinkSourceBucketQueryParameter adds the fabriclinkSourceBucket to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkSourceRoleQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkSourceRoleQueryParameter(fabriclinkSourceRole *string) *SnapmirrorRelationshipsGetParams
WithFabriclinkSourceRoleQueryParameter adds the fabriclinkSourceRole to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkStatusQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkStatusQueryParameter(fabriclinkStatus *string) *SnapmirrorRelationshipsGetParams
WithFabriclinkStatusQueryParameter adds the fabriclinkStatus to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFabriclinkTopologyUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkTopologyUUIDQueryParameter(fabriclinkTopologyUUID *string) *SnapmirrorRelationshipsGetParams
WithFabriclinkTopologyUUIDQueryParameter adds the fabriclinkTopologyUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithFieldsQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipsGetParams
WithFieldsQueryParameter adds the fields to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithGroupTypeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithGroupTypeQueryParameter(groupType *string) *SnapmirrorRelationshipsGetParams
WithGroupTypeQueryParameter 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) WithHealthyQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithHealthyQueryParameter(healthy *bool) *SnapmirrorRelationshipsGetParams
WithHealthyQueryParameter adds the healthy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithIdentityPreservationQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithIdentityPreservationQueryParameter(identityPreservation *string) *SnapmirrorRelationshipsGetParams
WithIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithLagTimeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithLagTimeQueryParameter(lagTime *string) *SnapmirrorRelationshipsGetParams
WithLagTimeQueryParameter adds the lagTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithLastTransferTypeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithLastTransferTypeQueryParameter(lastTransferType *string) *SnapmirrorRelationshipsGetParams
WithLastTransferTypeQueryParameter adds the lastTransferType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithListDestinationsOnlyQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithListDestinationsOnlyQueryParameter(listDestinationsOnly *bool) *SnapmirrorRelationshipsGetParams
WithListDestinationsOnlyQueryParameter adds the listDestinationsOnly to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithMaxRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorRelationshipsGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithOrderByQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorRelationshipsGetParams
WithOrderByQueryParameter adds the orderBy to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyNameQueryParameter(policyName *string) *SnapmirrorRelationshipsGetParams
WithPolicyNameQueryParameter adds the policyName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyTransferScheduleNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyTransferScheduleNameQueryParameter(policyTransferScheduleName *string) *SnapmirrorRelationshipsGetParams
WithPolicyTransferScheduleNameQueryParameter adds the policyTransferScheduleName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyTypeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyTypeQueryParameter(policyType *string) *SnapmirrorRelationshipsGetParams
WithPolicyTypeQueryParameter adds the policyType to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithPolicyUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithPolicyUUIDQueryParameter(policyUUID *string) *SnapmirrorRelationshipsGetParams
WithPolicyUUIDQueryParameter adds the policyUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithRestoreQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithRestoreQueryParameter(restore *bool) *SnapmirrorRelationshipsGetParams
WithRestoreQueryParameter adds the restore to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithReturnRecordsQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipsGetParams
WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithReturnTimeoutQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipsGetParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceClusterNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterNameQueryParameter(sourceClusterName *string) *SnapmirrorRelationshipsGetParams
WithSourceClusterNameQueryParameter adds the sourceClusterName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceClusterUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterUUIDQueryParameter(sourceClusterUUID *string) *SnapmirrorRelationshipsGetParams
WithSourceClusterUUIDQueryParameter adds the sourceClusterUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesNameQueryParameter(sourceConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams
WithSourceConsistencyGroupVolumesNameQueryParameter adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourcePathQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourcePathQueryParameter(sourcePath *string) *SnapmirrorRelationshipsGetParams
WithSourcePathQueryParameter adds the sourcePath to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceSVMNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceSVMNameQueryParameter(sourceSvmName *string) *SnapmirrorRelationshipsGetParams
WithSourceSVMNameQueryParameter adds the sourceSvmName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceSVMUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceSVMUUIDQueryParameter(sourceSvmUUID *string) *SnapmirrorRelationshipsGetParams
WithSourceSVMUUIDQueryParameter adds the sourceSvmUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithSourceUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithSourceUUIDQueryParameter(sourceUUID *string) *SnapmirrorRelationshipsGetParams
WithSourceUUIDQueryParameter adds the sourceUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithStateQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithStateQueryParameter(state *string) *SnapmirrorRelationshipsGetParams
WithStateQueryParameter adds the state to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithThrottleQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorRelationshipsGetParams
WithThrottleQueryParameter 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) WithTransferBytesTransferredQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferBytesTransferredQueryParameter(transferBytesTransferred *int64) *SnapmirrorRelationshipsGetParams
WithTransferBytesTransferredQueryParameter adds the transferBytesTransferred to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferEndTimeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferEndTimeQueryParameter(transferEndTime *string) *SnapmirrorRelationshipsGetParams
WithTransferEndTimeQueryParameter adds the transferEndTime to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleNameQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleNameQueryParameter(transferScheduleName *string) *SnapmirrorRelationshipsGetParams
WithTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleUUIDQueryParameter(transferScheduleUUID *string) *SnapmirrorRelationshipsGetParams
WithTransferScheduleUUIDQueryParameter adds the transferScheduleUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferStateQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferStateQueryParameter(transferState *string) *SnapmirrorRelationshipsGetParams
WithTransferStateQueryParameter adds the transferState to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferTotalDurationQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferTotalDurationQueryParameter(transferTotalDuration *string) *SnapmirrorRelationshipsGetParams
WithTransferTotalDurationQueryParameter adds the transferTotalDuration to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithTransferUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithTransferUUIDQueryParameter(transferUUID *string) *SnapmirrorRelationshipsGetParams
WithTransferUUIDQueryParameter adds the transferUUID to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUUIDQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithUUIDQueryParameter(uuid *string) *SnapmirrorRelationshipsGetParams
WithUUIDQueryParameter adds the uuid to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCodeQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCodeQueryParameter(unhealthyReasonCode *int64) *SnapmirrorRelationshipsGetParams
WithUnhealthyReasonCodeQueryParameter adds the unhealthyReasonCode to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessageQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessageQueryParameter(unhealthyReasonMessage *string) *SnapmirrorRelationshipsGetParams
WithUnhealthyReasonMessageQueryParameter adds the unhealthyReasonMessage to the snapmirror relationships get params
func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonParametersQueryParameter ¶
func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonParametersQueryParameter(unhealthyReasonParameters *string) *SnapmirrorRelationshipsGetParams
WithUnhealthyReasonParametersQueryParameter adds the unhealthyReasonParameters 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 ¶
- snapmirror_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