snap_mirror

package
v0.0.0-...-daf5385 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationHalJSON

func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)

WithAcceptApplicationHalJSON sets the Accept header to "application/hal+json".

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithContentTypeApplicationHalJSON

func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)

WithContentTypeApplicationHalJSON sets the Content-Type header to "application/hal+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for snap mirror API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SnapmirrorPoliciesGet

func (a *Client) SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error)
SnapmirrorPoliciesGet Retrieves SnapMirror policies of type "async" and "sync".

### Related ONTAP commands * `snapmirror policy show` ### Example The following example shows how to retrieve a collection of SnapMirror policies. <br/> ``` GET "/api/snapmirror/policies" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorPolicyCreate

SnapmirrorPolicyCreate Creates a SnapMirror policy. The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM.</br>

It takes the following values: - `full` - indicates that the source SVM configuration is replicated to the destination SVM endpoint. - `exclude_network_config` - indicates that the source SVM configuration other than network configuration is replicated to the destination SVM endpoint. - `exclude_network_and_protocol_config` - indicates that the source SVM configuration is not replicated to the destination SVM endpoint.<br/> ### Important notes - The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM. - The properties "identity_preservation" and "transfer_schedule" are not applicable for "sync" type policies. - The properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" are mutually exclusive. - The properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" are not applicable for "sync" type policies. - No "retention" properties can be specified if "copy_all_source_snapshots" or 'copy_latest_source_snapshot' is specified. - The properties "retention.creation_schedule" and "retention.prefix" are not applicable for "sync" type policies. - The property "retention.creation_schedule" is not applicable for "async" policies with "create_snapshot_on_source" set to "false". - The property "sync_common_snapshot_schedule" is not applicable for an "async" type policy. - The property "retention.count" specifies the maximum number of Snapshot copies that are retained on the SnapMirror destination volume. - When the property "retention.label" is specified, the Snapshot copies that have a SnapMirror label matching this property is transferred to the SnapMirror destination. - When the property "retention.creation_schedule" is specified, Snapshot copies are directly created on the SnapMirror destination. The Snapshot copies created have the same content as the latest Snapshot copy already present on the SnapMirror destination. - The property "transfer_schedule" cannot be set to null (no-quotes) during SnapMirror policy POST. - The properties "retention.label" and "retention.count" must be specified for "async" policies with "create_snapshot_on_source" set to "false". - The property "rentention.warn" is not supported for a policy when the "retention.preserve" property is false. - The property "retention.warn" value must be less than the property "retention.count" value for a rule in a policy.

### Required properties * `name` - Name of the new SnapMirror policy. ### Recommended optional properties * `svm.name` or `svm.uuid` - Name or UUID of the SVM that owns the SnapMirror policy. ### Default property values If not specified in POST, the following default property values are assigned: * `type` - _async_ * `sync_type` - _sync_ (when `type` is _sync_) * `network_compression_enabled` - _false_ * `throttle` - _0_ * `identity_preservation` - `_exclude_network_and_protocol_config_`

### Related ONTAP commands * `snapmirror policy create` ### Examples

Creating a SnapMirror policy of type "sync"
 <br/>
 ```
 POST "/api/snapmirror/policies/" '{"name": "policy1", "svm.name": "VS0", "type": "sync", "sync_type": "sync"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" with two sets of retention values, one with a creation_schedule
 <br/>
 ```
 POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "2", "creation_schedule": {"name": "weekly"}}, {"label":"daily", "count":"7"}]}'
 ```
 <br/>
Creating a SnapMirror policy of type "async"
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" which replicates all Snapshot copies
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async", "copy_all_source_snapshots": "true"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" which replicates latest Snapshot copy
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy2", "svm":{"name" : "vs1"}, "type": "async", "copy_latest_source_snapshot": "true"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" which does not create Snapshot copies on source
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async", "create_snapshot_on_source": "false", "retention": [{"label": "daily", "count": 7}]}'
 ```
 <br/>
Creating a SnapMirror policy of type "sync" with sync_type as "automated_failover"
 <br/>
 ```
 POST "/api/snapmirror/policies/" '{"name": "policy1", "svm.name": "VS0", "type": "sync", "sync_type": "automated_failover" }'
 ```
 <br/>
Creating a SnapMirror policy of type "sync" with sync_type as "automated_failover_duplex"
 <br/>
 ```
 POST "/api/snapmirror/policies/" '{"name": "policy_afd", "svm.name": "VS0", "type": "sync", "sync_type": "automated_failover_duplex" }'
 ```
 <br/>

Creating a SnapMirror policy of type "async" with two sets of retention values and retention periods
 ```
 POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "2", "period": "P7D"}, {"label":"daily", "count":"7", "period": "PT3H"}]}'
 ```
 <br/>
 Creating a SnapMirror policy of type "async" with retention value as "infinite"
 ```
 POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "5", "period": "infinite"}]}'
 ```
 <br/>
 Creating a SnapMirror policy of type "async" with properties retention preserve as true and retention warn as 3.
 ```
 POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "5", "preserve": true, "warn": 3}]}'
 ```
 <br/>

### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorPolicyDelete

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

SnapmirrorPolicyModify Updates the SnapMirror policy.

### Important notes * The properties "retention.label" and "retention.count" are mandatory if "retention" is provided in the input. The provided "retention.label" is the final list and it replaces the existing values. * The value of the "identity_preservation" property cannot be changed if the SnapMirror relationships associated with the policy have different identity_preservation configurations. * If the SnapMirror policy "identity_preservation" value matches the "identity_preservation" value of the associated SnapMirror relationships, then the "identity_preservation" value can be changed from a higher "identity_preservation" threshold value to a lower "identity_preservation" threshold value but not vice-versa. For example, the threshold value of the "identity_preservation" property can be changed from "full" to "exclude_network_config", but cannot be increased from "exclude_network_and_protocol_config" to "exclude_network_config" to "full". The threshold value of the "identity_preservation" cannot be changed to "exclude_network_and_protocol_config" for IDP SVMDR.<br/> * The policy properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" cannot be modified. * No "retention" properties can be modified if the "copy_all_source_snapshots" or "copy_latest_source_snapshot" property is present in the policy. * Replacing or deleting all retention rules of a policy that has the "create_snapshot_on_source" property set to false in a single API call is not supported. * Modifying the property "retention.label" for all retention rules of a policy that has the "create_snapshot_on_source" property set to false in a single API call is not supported. * To remove a transfer_schedule on a SnapMirror policy set the "transfer_schedule" to null (no-quotes) during SnapMirror policy PATCH.

### Related ONTAP commands * `snapmirror policy modify` ### Example

Updating the "retention" property to add rules to a policy without any rules.
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "newlabel", "count": 2}, {"label": "weekly", "count": 2, "creation_schedule": {"name": "weekly"}}, {"label": "daily", "count": 14}]}'
 ```
 <br/>
Updating the "retention" property to add rules to a policy with existing rules {"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 5}]
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 5}, {"label": "newlabel", "count": 3}, {"label": "weekly", "count": 1}]}'
 ```
 <br/>
Updating the "retention" property to remove a rule (oldLabel1) and add new rule to a policy with existing rules {"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 3}]
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel2", "count": 3}, {"label": "newlabel", "count": 2}]}'
 ```
 <br/>
Updating "transfer_schedule", "throttle", and "identity_preservation" properties
 <br/>
 ```
 PATCH "/api/snapmirror/policies/8aef950b-3bef-11e9-80ac-0050568ea591" '{"transfer_schedule.name" : "weekly", "throttle" : "100", "identity_preservation":"exclude_network_and_protocol_config"}'
 ```
 <br/>
 Removing the SnapMirror transfer_schedule for a SnapMirror policy. Transfer_schedule can be specified as UUID or name or both with the value set to null (no-quotes).
 <br/>
 ```
 PATCH "/api/snapmirror/policies/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":null, "name":null}}'
 ```
 <br/>

Updating the "retention" property to have rentention.preserve and retention.warn for existing rule.
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel1", "count": 3, "preserve": true, "warn": 2}]}'
 ```
 <br/>

### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorRelationshipCreate

SnapmirrorRelationshipCreate Creates a SnapMirror relationship. This API can optionally provision the destination endpoint when it does not exist. This API must be executed on the cluster containing the destination endpoint unless the destination endpoint is being provisioned. When the destination endpoint is being provisioned, this API can also be executed from the cluster containing the source endpoint. Provisioning of the destination endpoint from the source cluster is supported for the FlexVol volume, FlexGroup volume and Application Consistency Group endpoints.<br/>

For SVM endpoints, provisioning the destination SVM endpoint is not supported from the source cluster. When the destination endpoint exists, the source SVM and the destination SVM must be in an SVM peer relationship. When provisioning the destination endpoint, the SVM peer relationship between the source SVM and the destination SVM is established as part of the destination provision, provided that the source SVM has SVM peering permissions for the destination cluster.

### Required properties * `source.path` - Path to the source endpoint of the SnapMirror relationship. * `destination.path` - Path to the destination endpoint of the SnapMirror relationship. * `source.consistency_group_volumes` - List of FlexVol volumes of type "RW" that are constituents of an Application Consistency Group. * `destination.consistency_group_volumes` - List of FlexVol volumes of type "DP" that are constituents of an Application Consistency Group. ### Recommended optional properties * `policy.name` or `policy.uuid` - Policy governing the SnapMirror relationship. * `state` - Set the state to "snapmirrored" to automatically initialize the relationship. * `create_destination.enabled` - Enable this property to provision the destination endpoint.

### Default property values If not specified in POST, the following default property values are assigned: * `policy.name` - _Asynchronous_ * `restore` - _false_ * `create_destination.tiering.policy` - `_snapshot_only_` (when `create_destination.tiering.supported` is _true_ for FlexVol volume) * `create_destination.tiering.policy` - `_none_` (when `create_destination.tiering.supported` is _true_ for FlexGroup volume) * `create_destination.storage_service.enforce_performance` - `_false_`

* `destination.ipspace` - `_Default_` * `throttle` - _0_ * `backoff_level` - `_high_` ### Related ONTAP commands * `snapmirror create` * `snapmirror protect` ### Important notes * The property "transfer_schedule" if set on a SnapMirror relationship overrides the "transfer_schedule" set on the policy being used with the SnapMirror relationship. * The property "throttle" if set on a SnapMirror relationship overrides the "throttle" set on the policy being used with the SnapMirror relationship. * The properties "transfer_schedule" and "throttle" are not supported when "restore" is set to "true". * The property "transfer_schedule" cannot be set to null (no-quotes) during SnapMirror relationship POST. * The property "throttle" is not supported when "create_destination.enabled" is set to "true". * The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM. * The property "backoff_level" is not supported when "create_destination.enabled" is set to "true". * The property "backoff_level" is only applicable for FlexVol SnapMirror relationships. ### Examples The following examples show how to create FlexVol volumes, FlexGroup volumes, SVM and Application Consistency Group SnapMirror relationships. Note that the source SVM name must be the local name of the peer SVM.</br>

Creating a FlexVol SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}}'
```
<br/>
Creating a FlexGroup SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:source_flexgrp"}, "destination": { "path": "dst_svm:dest_flexgrp"}}'
```
<br/>
Creating a SVM SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:"}, "destination": { "path": "dst_svm:"}}'
```
<br/>
Creating a SnapMirror relationship in order to restore from a destination.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "restore": "true"}'
```
<br/>
Provision the destination FlexVol volume endpoint and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true" }}'
```
Provision the destination FlexVol volume endpoint on a Fabricpool with a tiering policy and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true", "tiering": { "supported": "true", "policy": "auto" } } }'
```
Provision the destination FlexVol volume endpoint using storage service and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } } }'
```
Provision the destination SVM endpoint and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:", "cluster": { "name": "cluster_src" }}, "destination": { "path": "dst_svm:"}, "create_destination": { "enabled: "true" }}'
```
Create an asynchronous SnapMirror relationship with Application Consistency Group endpoint.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "policy": "Asynchronous" }'
```
Provision the destination Application Consistency Group endpoint on a Fabricpool with a tiering policy, create an asynchronous SnapMirror relationship with a SnapMirror policy of type "async", and initialize the SnapMirror relationship with state as "snapmirrored".
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "tiering": { "supported": "true" } }, "policy": "Asynchronous", "state": "snapmirrored" }'
```
Create a SnapMirror active sync relationship with the Application Consistency Group endpoint.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "policy": "AutomatedFailOver" }'
```
Provision the destination Application Consistency Group endpoint on a Fabricpool with a tiering policy, create a SnapMirror active sync relationship with a SnapMirror policy of type "sync" and sync_type of "automated_failover", and initialize the SnapMirror relationship with state as "in_sync".
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "tiering": { "supported": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }'
```
Provision the destination Application Consistency Group endpoint with storage service, create a SnapMirror active sync relationship with a SnapMirror policy of type "sync" and sync_type of "automated_failover", and initialize the SnapMirror relationship with state as "in_sync".
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }'
```
<br/>

Provision the destination Application Consistency Group endpoint with storage service, create an asynchronous application consistency group relationship with a SnapMirror policy of type "async" and an async_type of "XDPDefault", and initialize the SnapMirror relationship with state as "SnapMirrored".

<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": [{ "name": "src_vol_1" }, { "name": "src_vol_2" }] }, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": [{ "name": "dst_vol_1" }, { "name": "dst_vol_2" }] }, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } }, "policy": "XDPDefault", "state": "snapmirrored" }'
```
<br/>
Creating a FlexVol volume SnapMirror relationship of type XDP with transfer_schedule and throttle.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}, "throttle":100}'
```
<br/>

Creating an asynchronous SnapMirror relationship with backoff_level set to medium.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "backoff_level": "medium"}'
```
<br/>

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipDelete

SnapmirrorRelationshipDelete Deletes a SnapMirror relationship.

### Important notes * The "destination_only", "source_only", and "source_info_only" flags are mutually exclusive. If no flag is specified, the relationship is deleted from both the source and destination and all common Snapshot copies between the source and destination are also deleted. * For a restore relationship, the call must be executed on the cluster containing the destination endpoint without specifying the destination_only, source_only, or source_info_only parameters. * Additionally, ensure that there are no ongoing transfers on a restore relationship before calling this API. * The "failover", "force-failover" and "failback" query parameters are only applicable for SVM-DR SnapMirror relationships. * When a SnapMirror relationship associated with a pair of source and destination Consistency Groups is deleted, the corresponding Consistency Groups on the source and destination clusters are not automatically deleted and remain in place. * The "delete_lun_maps_in_destination" query parameter is applicable only for SnapMirror active sync relationships. ### Related ONTAP commands * `snapmirror delete` * `snapmirror release` ### Examples The following examples show how to delete the relationship from both the source and destination, the destination only, and the source only. <br/>

Deleting the relationship from both the source and destination. This API must be run on the cluster containing the destination endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/4512b2d2-fd60-11e8-8929-005056bbfe52"
```
<br/>
Deleting the relationship on the destination only. This API must be run on the cluster containing the destination endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/fd1e0697-02ba-11e9-acc7-005056a7697f/?destination_only=true"
```
<br/>
Deleting the relationship on the source only. This API must be run on the cluster containing the source endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/93e828ba-02bc-11e9-acc7-005056a7697f/?source_only=true"
```
<br/>
Deleting the source information only. This API must be run on the cluster containing the source endpoint. This does not delete the common Snapshot copies between the source and destination.
<br/>
```
DELETE "/api/snapmirror/relationships/caf545a2-fc60-11e8-aa13-005056a707ff/?source_info_only=true"
```
<br/>
Deleting the relationship from source and destination cluster along with deleting the LUN maps for the volumes of the CG in destination cluster. This API must be run on the cluster containing the destination endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/feda8f5e-e29e-11ed-94aa-005056a78ce2/?delete_lun_maps_in_destination=true"
```
<br/>

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipGet

func (a *Client) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error)
SnapmirrorRelationshipGet Retrieves a SnapMirror relationship.

### Related ONTAP commands * `snapmirror show` * `snapmirror list-destinations` ### Expensive properties

* `source.consistency_group_volumes.name` * `destination.consistency_group_volumes.name` ### Example <br/> ``` GET "/api/snapmirror/relationships/caf545a2-fc60-11e8-aa13-005056a707ff/" ``` <br/> ### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipModify

SnapmirrorRelationshipModify Updates a SnapMirror relationship. This API is used to initiate SnapMirror operations such as "initialize", "resync", "break", "quiesce", and "resume" by specifying the appropriate value for the "state" field. It is also used to modify the SnapMirror policy associated with the specified relationship. Additionally, a SnapMirror relationship can be failed over to the destination endpoint or a failed over SnapMirror relationship can be failed back to the original state or a SnapMirror relationship direction can be reversed using this API. This API can also be used to expand the SnapMirror active sync relationship with the specified source and destination volumes.

<br>To initialize the relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To break the relationship or to failover to the destination endpoint and start serving data from the destination endpoint, PATCH the state to "broken_off" for relationships with a policy of type "async" or "sync". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" cannot be "broken_off". <br>To resync the broken relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To failback the failed over relationship and start serving data from the source endpoint, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync" and set the query flag "failback" as "true". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" can be in "broken_off" state due to a failed attempt of automated SnapMirror failover operation. <br>To pause the relationship, suspending further transfers, PATCH the state to "paused" for relationships with a policy of type "async" or "sync". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" cannot be "paused". <br>To resume transfers for a paused relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To reverse the direction of the relationship, PATCH the "source.path" with the destination endpoint and the "destination.path" with the source endpoint and the relationship state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". For relationships with a policy of type "async" and relationship state as "snapmirrored", stop IO on the source endpoint and perform a SnapMirror transfer POST operation before reversing the direction of the relationship to prevent any loss of data. <br>The values "in_sync", "out_of_sync", and "synchronizing" are only applicable to relationships with a policy of type "sync". <br>When "transfer_schedule" is specified along with "state" during PATCH, first the schedule is modified on the relationship and then the respective SnapMirror operation is initiated. The "transfer_schedule" specified is used to update asynchronous relationships. <br>When "throttle" is specified along with "state" during PATCH, first the throttle is modified on the relationship, which will be used by any upcoming transfers and then the respective SnapMirror operation is initiated. If the SnapMirror operation initiated a transfer then it will also use the new throttle. If "throttle" needs to be applied for a specific transfer use SnapMirror Transfer REST API. <br>For SnapMirror active sync relationships, when "consistency_group_volumes" is specified during PATCH, first the existing FlexVol volume relationship is deleted and released and then the volumes are added to the SnapMirror active sync relationship.

### Examples ### Related ONTAP commands * `snapmirror modify` * `snapmirror initialize` * `snapmirror resync` * `snapmirror break` * `snapmirror quiesce` * `snapmirror resume` ### Important notes * The property "transfer_schedule" if set on a SnapMirror relationship overrides the "transfer_schedule" set on the policy being used with the SnapMirror relationship. * The property "throttle" if set on a SnapMirror relationship overrides the "throttle" set on the policy being used with the SnapMirror relationship. * The properties "transfer_schedule" and "throttle" are not supported when "failback" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when "failover" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when "force_failover" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when the direction of the relationship is being reversed. * To remove a transfer_schedule on a SnapMirror relationship set the "transfer_schedule" to null (no-quotes) during SnapMirror relationship PATCH. * The property "identity_preservation" value can be changed from a higher "identity_preservation" threshold value to a lower "identity_preservation" threshold value but not vice-versa. For example, the threshold value of the "identity_preservation" property can be changed from "full" to "exclude_network_config", but cannot be increased from "exclude_network_and_protocol_config" to "exclude_network_config" to "full". The threshold value of the "identity_preservation" cannot be changed to "exclude_network_and_protocol_config" for IDP SVMDR.

* The property "backoff_level" is only applicable for FlexVol SnapMirror relationships. ### Examples The following examples show how to perform the SnapMirror "resync", "initialize", "resume", "quiesce", and "break" operations. In addition, a relationship can be failed over to the destination endpoint and start serving data from the destination endpoint. A failed over relationship can be failed back to the source endpoint and serve data from the source endpoint. Also a relationship can be reversed by making the source endpoint as the new destination endpoint and the destination endpoint as the new source endpoint. <br/>

To update an associated SnapMirror policy.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"policy": { "name" : "MirrorAndVaultDiscardNetwork"}}'
```
<br/>
To perform SnapMirror "resync" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}'
```
<br/>
To perform SnapMirror "initialize" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}'
```
<br/>
To perform SnapMirror "resume" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}'
```
<br/>
To perform SnapMirror "quiesce" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff" '{"state":"paused"}'
```
<br/>
To perform SnapMirror "break" for an asynchronous SnapMirror relationship. This operation does a failover to the destination endpoint. After a the failover, data can then be served from the destination endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff" '{"state":"broken_off"}'
```
<br/>
To forcefully failover to the destination endpoint and start serving data from the destination endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?force=true" '{"state":"broken_off"}'
```
<br/>
To failback to the source endpoint and start serving data from the source endpoint for an asynchronous relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?failback=true" '{"state":"snapmirrored"}'
```
<br/>
To failback to the source endpoint and start serving data from the source endpoint for a synchronous relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?failback=true" '{"state":"in_sync"}'
```
<br/>
To reverse the direction of an asynchronous relationship, that is, make the source endpoint as the new destination endpoint and make the destination endpoint as the new source endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"source": {"path": "dst_svm:dst_vol"}, "destination": {"path": "src_svm:src_vol"}, "state": "snapmirrored"}'
```
<br/>
To reverse the direction of a synchronous relationship, that is, make the source endpoint as the new destination endpoint and make the destination endpoint as the new source endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"source": {"path": "dst_svm:dst_vol"}, "destination": {"path": "src_svm:src_vol"}, "state": "in_sync"}'
```
<br/>
Updating SnapMirror transfer_schedule and throttle for an asynchronous SnapMirror relationship. Transfer_schedule can be specified as UUID or name or both.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}, "throttle":100}'
```
<br/>
Removing the SnapMirror transfer_schedule for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":null, "name":null}}'
```
<br/>
Removing the SnapMirror throttle for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"throttle":0}'
```
<br/>
To perform SnapMirror "resync" and update the SnapMirror transfer_schedule for an asynchronous SnapMirror relationship. First the transfer_schedule is modified and then the resync transfer is initiated.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}}'
```
<br/>
To perform SnapMirror "initialize" and update the SnapMirror throttle for an asynchronous SnapMirror relationship. First the throttle is modified and then the initialize transfer is initiated. The initialize transfer will use this new throttle.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "throttle":100}'
```
<br/>
To perform SnapMirror "resync" and update the SnapMirror throttle for an asynchronous SnapMirror relationship. First the throttle is modified and then the resync transfer is initiated. The resync transfer will use this new throttle.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "throttle":100}'
```
<br/>
To perform a SnapMirror active sync or Asynchronous Consistency Group expansion.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{ "source" : {"consistency_group_volumes":[{"name":"vol"}]}, "destination" : {"consistency_group_volumes":[{"name":"voldp"}]} }'
```
<br/>
Updating SnapMirror backoff_level for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"backoff_level": "none"}'
```
<br/>
To perform SnapMirror "initialize" and update the SnapMirror backoff_level for an asynchronous SnapMirror relationship. First the backoff_level is modified and then the initialize transfer is initiated. The initialize transfer will use this new backoff_level.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "backoff_level": "medium"}'
```
<br/>
To perform SnapMirror "resync" and update the SnapMirror backoff_level for an asynchronous SnapMirror relationship. First the backoff_level is modified and then the resync transfer is initiated. The resync transfer will use this new backoff_level.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "backoff_level": "medium"}'

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipTransferCreate

SnapmirrorRelationshipTransferCreate Starts a SnapMirror transfer operation. This API initiates a restore operation if the SnapMirror relationship is of type "restore". Otherwise, it intiates a SnapMirror "initialize" operation or "update" operation based on the current SnapMirror state.

### Default property values * `storage_efficiency_enabled` - _true_ ### Related ONTAP commands * `snapmirror update` * `snapmirror initialize` * `snapmirror restore`

### Examples The following examples show how to perform SnapMirror "initialize", "update", and "restore" operations. <br/>

Perform SnapMirror initialize or update
<br/>
```
POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{}'
```
<br/>
Perform SnapMirror initialize, update or restore with throttle value set
<br/>
```
POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{"throttle":"100"}'
```
<br/>
Perform SnapMirror restore transfer of a file
<br/>
```
POST "/api/snapmirror/relationships/c8c62a90-0fef-11e9-b09e-0050568e7067/transfers" '{"source_snapshot": "src", "files":[{"source_path": "/a1.txt.0", "destination_path": "/a1-renamed.txt.0"}]}'
```
<br/>
Performing a SnapMirror initialize or update using a particular Snapshot copy.
<br/>
```
POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{"source_snapshot":"snap1"}'
```
<br/>

### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)

func (*Client) SnapmirrorRelationshipTransferGet

func (a *Client) SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferGetOK, error)
SnapmirrorRelationshipTransferGet Retrieves the attributes of a specific ongoing SnapMirror transfer.

### Related ONTAP commands * `snapmirror show` ### Example <br/> ``` GET "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers/293baa53-e63d-11e8-bff1-005056a793dd" ``` <br/> ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)

func (*Client) SnapmirrorRelationshipTransferModify

func (a *Client) SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferModifyOK, error)
SnapmirrorRelationshipTransferModify Aborts an ongoing SnapMirror transfer. This operation is applicable on asynchronous SnapMirror relationships.

### Related ONTAP commands * `snapmirror abort` ### Example <br/> ``` PATCH "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers/293baa53-e63d-11e8-bff1-005056a793dd" '{"state":"aborted"}' ``` <br/> ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)

func (*Client) SnapmirrorRelationshipTransfersGet

func (a *Client) SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransfersGetOK, error)
SnapmirrorRelationshipTransfersGet Retrieves the list of ongoing SnapMirror transfers for the specified relationship.

### Related ONTAP commands * `snapmirror show` ### Example <br/> ``` GET "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers" ``` ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers) <br/>

func (*Client) SnapmirrorRelationshipsGet

func (a *Client) SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipsGetOK, error)
SnapmirrorRelationshipsGet Retrieves information for SnapMirror relationships whose destination endpoints are in the current SVM or the current cluster, depending on the cluster context.

### Related ONTAP commands * `snapmirror show` * `snapmirror list-destinations` ### Expensive properties

* `source.consistency_group_volumes.name` * `destination.consistency_group_volumes.name` * `svmdr_volumes.name` ### Examples The following examples show how to retrieve the list of SnapMirror relationships and the list of SnapMirror destinations.

  1. Retrieving the list of SnapMirror relationships. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/" ``` <br/>

  2. 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/>

  3. 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/>

  4. 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/>

  5. Retrieving the list of constituent volumes for SVM DR Snapmirror relationships. <br/> ``` GET "/api/snapmirror/relationships/?fields=svmdr_volumes.name" ``` <br/> </private>

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error)

	SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyCreateCreated, *SnapmirrorPolicyCreateAccepted, error)

	SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyDeleteOK, *SnapmirrorPolicyDeleteAccepted, error)

	SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyGetOK, error)

	SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyModifyOK, *SnapmirrorPolicyModifyAccepted, error)

	SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipCreateCreated, *SnapmirrorRelationshipCreateAccepted, error)

	SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipDeleteOK, *SnapmirrorRelationshipDeleteAccepted, error)

	SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error)

	SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipModifyOK, *SnapmirrorRelationshipModifyAccepted, error)

	SnapmirrorRelationshipTransferCreate(params *SnapmirrorRelationshipTransferCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferCreateCreated, error)

	SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferGetOK, error)

	SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferModifyOK, error)

	SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransfersGetOK, error)

	SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipsGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new snap mirror API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new snap mirror API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new snap mirror API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type SnapmirrorPoliciesGetDefault

type SnapmirrorPoliciesGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPoliciesGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303842 | SnapMirror policy is not supported.|

func NewSnapmirrorPoliciesGetDefault

func NewSnapmirrorPoliciesGetDefault(code int) *SnapmirrorPoliciesGetDefault

NewSnapmirrorPoliciesGetDefault creates a SnapmirrorPoliciesGetDefault with default headers values

func (*SnapmirrorPoliciesGetDefault) Code

Code gets the status code for the snapmirror policies get default response

func (*SnapmirrorPoliciesGetDefault) Error

func (*SnapmirrorPoliciesGetDefault) GetPayload

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

type SnapmirrorPoliciesGetOK

type SnapmirrorPoliciesGetOK struct {
	Payload *models.SnapmirrorPolicyResponse
}

SnapmirrorPoliciesGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorPoliciesGetOK

func NewSnapmirrorPoliciesGetOK() *SnapmirrorPoliciesGetOK

NewSnapmirrorPoliciesGetOK creates a SnapmirrorPoliciesGetOK with default headers values

func (*SnapmirrorPoliciesGetOK) Code

func (o *SnapmirrorPoliciesGetOK) Code() int

Code gets the status code for the snapmirror policies get o k response

func (*SnapmirrorPoliciesGetOK) Error

func (o *SnapmirrorPoliciesGetOK) Error() string

func (*SnapmirrorPoliciesGetOK) GetPayload

func (*SnapmirrorPoliciesGetOK) IsClientError

func (o *SnapmirrorPoliciesGetOK) IsClientError() bool

IsClientError returns true when this snapmirror policies get o k response has a 4xx status code

func (*SnapmirrorPoliciesGetOK) IsCode

func (o *SnapmirrorPoliciesGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror policies get o k response a status code equal to that given

func (*SnapmirrorPoliciesGetOK) IsRedirect

func (o *SnapmirrorPoliciesGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror policies get o k response has a 3xx status code

func (*SnapmirrorPoliciesGetOK) IsServerError

func (o *SnapmirrorPoliciesGetOK) IsServerError() bool

IsServerError returns true when this snapmirror policies get o k response has a 5xx status code

func (*SnapmirrorPoliciesGetOK) IsSuccess

func (o *SnapmirrorPoliciesGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror policies get o k response has a 2xx status code

func (*SnapmirrorPoliciesGetOK) String

func (o *SnapmirrorPoliciesGetOK) String() string

type SnapmirrorPoliciesGetParams

type SnapmirrorPoliciesGetParams struct {

	/* Comment.

	   Filter by comment
	*/
	Comment *string

	/* CopyAllSourceSnapshots.

	   Filter by copy_all_source_snapshots
	*/
	CopyAllSourceSnapshots *bool

	/* CopyLatestSourceSnapshot.

	   Filter by copy_latest_source_snapshot
	*/
	CopyLatestSourceSnapshot *bool

	/* CreateSnapshotOnSource.

	   Filter by create_snapshot_on_source
	*/
	CreateSnapshotOnSource *bool

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* IdentityPreservation.

	   Filter by identity_preservation
	*/
	IdentityPreservation *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Name.

	   Filter by name
	*/
	Name *string

	/* NetworkCompressionEnabled.

	   Filter by network_compression_enabled
	*/
	NetworkCompressionEnabled *bool

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* RetentionCount.

	   Filter by retention.count
	*/
	RetentionCount *int64

	/* RetentionCreationScheduleName.

	   Filter by retention.creation_schedule.name
	*/
	RetentionCreationScheduleName *string

	/* RetentionCreationScheduleUUID.

	   Filter by retention.creation_schedule.uuid
	*/
	RetentionCreationScheduleUUID *string

	/* RetentionLabel.

	   Filter by retention.label
	*/
	RetentionLabel *string

	/* RetentionPeriod.

	   Filter by retention.period
	*/
	RetentionPeriod *string

	/* RetentionPrefix.

	   Filter by retention.prefix
	*/
	RetentionPrefix *string

	/* RetentionPreserve.

	   Filter by retention.preserve
	*/
	RetentionPreserve *bool

	/* RetentionWarn.

	   Filter by retention.warn
	*/
	RetentionWarn *int64

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Rpo.

	   Filter by rpo
	*/
	Rpo *int64

	/* Scope.

	   Filter by scope
	*/
	Scope *string

	/* SvmName.

	   Filter by svm.name
	*/
	SvmName *string

	/* SvmUUID.

	   Filter by svm.uuid
	*/
	SvmUUID *string

	/* SyncCommonSnapshotScheduleName.

	   Filter by sync_common_snapshot_schedule.name
	*/
	SyncCommonSnapshotScheduleName *string

	/* SyncCommonSnapshotScheduleUUID.

	   Filter by sync_common_snapshot_schedule.uuid
	*/
	SyncCommonSnapshotScheduleUUID *string

	/* SyncType.

	   Filter by sync_type
	*/
	SyncType *string

	/* Throttle.

	   Filter by throttle
	*/
	Throttle *int64

	/* TransferScheduleName.

	   Filter by transfer_schedule.name
	*/
	TransferScheduleName *string

	/* TransferScheduleUUID.

	   Filter by transfer_schedule.uuid
	*/
	TransferScheduleUUID *string

	/* Type.

	   Filter by type
	*/
	Type *string

	/* UUID.

	   Filter by uuid
	*/
	UUID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorPoliciesGetParams contains all the parameters to send to the API endpoint

for the snapmirror policies get operation.

Typically these are written to a http.Request.

func NewSnapmirrorPoliciesGetParams

func NewSnapmirrorPoliciesGetParams() *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParams creates a new SnapmirrorPoliciesGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPoliciesGetParamsWithContext

func NewSnapmirrorPoliciesGetParamsWithContext(ctx context.Context) *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParamsWithContext creates a new SnapmirrorPoliciesGetParams object with the ability to set a context for a request.

func NewSnapmirrorPoliciesGetParamsWithHTTPClient

func NewSnapmirrorPoliciesGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParamsWithHTTPClient creates a new SnapmirrorPoliciesGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPoliciesGetParamsWithTimeout

func NewSnapmirrorPoliciesGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParamsWithTimeout creates a new SnapmirrorPoliciesGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorPoliciesGetParams) SetComment

func (o *SnapmirrorPoliciesGetParams) SetComment(comment *string)

SetComment adds the comment to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetContext

func (o *SnapmirrorPoliciesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshots

func (o *SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshots(copyAllSourceSnapshots *bool)

SetCopyAllSourceSnapshots adds the copyAllSourceSnapshots to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshot

func (o *SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshot(copyLatestSourceSnapshot *bool)

SetCopyLatestSourceSnapshot adds the copyLatestSourceSnapshot to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSource

func (o *SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSource(createSnapshotOnSource *bool)

SetCreateSnapshotOnSource adds the createSnapshotOnSource to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetDefaults

func (o *SnapmirrorPoliciesGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policies get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPoliciesGetParams) SetFields

func (o *SnapmirrorPoliciesGetParams) SetFields(fields []string)

SetFields adds the fields to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetHTTPClient

func (o *SnapmirrorPoliciesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetIdentityPreservation

func (o *SnapmirrorPoliciesGetParams) SetIdentityPreservation(identityPreservation *string)

SetIdentityPreservation adds the identityPreservation to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetMaxRecords

func (o *SnapmirrorPoliciesGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetName

func (o *SnapmirrorPoliciesGetParams) SetName(name *string)

SetName adds the name to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabled

func (o *SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabled(networkCompressionEnabled *bool)

SetNetworkCompressionEnabled adds the networkCompressionEnabled to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetOrderBy

func (o *SnapmirrorPoliciesGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionCount

func (o *SnapmirrorPoliciesGetParams) SetRetentionCount(retentionCount *int64)

SetRetentionCount adds the retentionCount to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleName

func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleName(retentionCreationScheduleName *string)

SetRetentionCreationScheduleName adds the retentionCreationScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUID

func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUID(retentionCreationScheduleUUID *string)

SetRetentionCreationScheduleUUID adds the retentionCreationScheduleUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionLabel

func (o *SnapmirrorPoliciesGetParams) SetRetentionLabel(retentionLabel *string)

SetRetentionLabel adds the retentionLabel to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionPeriod

func (o *SnapmirrorPoliciesGetParams) SetRetentionPeriod(retentionPeriod *string)

SetRetentionPeriod adds the retentionPeriod to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionPrefix

func (o *SnapmirrorPoliciesGetParams) SetRetentionPrefix(retentionPrefix *string)

SetRetentionPrefix adds the retentionPrefix to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionPreserve

func (o *SnapmirrorPoliciesGetParams) SetRetentionPreserve(retentionPreserve *bool)

SetRetentionPreserve adds the retentionPreserve to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionWarn

func (o *SnapmirrorPoliciesGetParams) SetRetentionWarn(retentionWarn *int64)

SetRetentionWarn adds the retentionWarn to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetReturnRecords

func (o *SnapmirrorPoliciesGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetReturnTimeout

func (o *SnapmirrorPoliciesGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRpo

func (o *SnapmirrorPoliciesGetParams) SetRpo(rpo *int64)

SetRpo adds the rpo to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetScope

func (o *SnapmirrorPoliciesGetParams) SetScope(scope *string)

SetScope adds the scope to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSvmName

func (o *SnapmirrorPoliciesGetParams) SetSvmName(svmName *string)

SetSvmName adds the svmName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSvmUUID

func (o *SnapmirrorPoliciesGetParams) SetSvmUUID(svmUUID *string)

SetSvmUUID adds the svmUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleName

func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleName(syncCommonSnapshotScheduleName *string)

SetSyncCommonSnapshotScheduleName adds the syncCommonSnapshotScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUID

func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUID(syncCommonSnapshotScheduleUUID *string)

SetSyncCommonSnapshotScheduleUUID adds the syncCommonSnapshotScheduleUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSyncType

func (o *SnapmirrorPoliciesGetParams) SetSyncType(syncType *string)

SetSyncType adds the syncType to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetThrottle

func (o *SnapmirrorPoliciesGetParams) SetThrottle(throttle *int64)

SetThrottle adds the throttle to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTimeout

func (o *SnapmirrorPoliciesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTransferScheduleName

func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleName(transferScheduleName *string)

SetTransferScheduleName adds the transferScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTransferScheduleUUID

func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleUUID(transferScheduleUUID *string)

SetTransferScheduleUUID adds the transferScheduleUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetType

func (o *SnapmirrorPoliciesGetParams) SetType(typeVar *string)

SetType adds the type to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetUUID

func (o *SnapmirrorPoliciesGetParams) SetUUID(uuid *string)

SetUUID adds the uuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithComment

WithComment adds the comment to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithContext

WithContext adds the context to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshots

func (o *SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshots(copyAllSourceSnapshots *bool) *SnapmirrorPoliciesGetParams

WithCopyAllSourceSnapshots adds the copyAllSourceSnapshots to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshot

func (o *SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshot(copyLatestSourceSnapshot *bool) *SnapmirrorPoliciesGetParams

WithCopyLatestSourceSnapshot adds the copyLatestSourceSnapshot to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSource

func (o *SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSource(createSnapshotOnSource *bool) *SnapmirrorPoliciesGetParams

WithCreateSnapshotOnSource adds the createSnapshotOnSource to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policies get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPoliciesGetParams) WithFields

WithFields adds the fields to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithIdentityPreservation

func (o *SnapmirrorPoliciesGetParams) WithIdentityPreservation(identityPreservation *string) *SnapmirrorPoliciesGetParams

WithIdentityPreservation adds the identityPreservation to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithMaxRecords

func (o *SnapmirrorPoliciesGetParams) WithMaxRecords(maxRecords *int64) *SnapmirrorPoliciesGetParams

WithMaxRecords adds the maxRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithName

WithName adds the name to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabled

func (o *SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabled(networkCompressionEnabled *bool) *SnapmirrorPoliciesGetParams

WithNetworkCompressionEnabled adds the networkCompressionEnabled to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionCount

func (o *SnapmirrorPoliciesGetParams) WithRetentionCount(retentionCount *int64) *SnapmirrorPoliciesGetParams

WithRetentionCount adds the retentionCount to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleName

func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleName(retentionCreationScheduleName *string) *SnapmirrorPoliciesGetParams

WithRetentionCreationScheduleName adds the retentionCreationScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUID

func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUID(retentionCreationScheduleUUID *string) *SnapmirrorPoliciesGetParams

WithRetentionCreationScheduleUUID adds the retentionCreationScheduleUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionLabel

func (o *SnapmirrorPoliciesGetParams) WithRetentionLabel(retentionLabel *string) *SnapmirrorPoliciesGetParams

WithRetentionLabel adds the retentionLabel to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionPeriod

func (o *SnapmirrorPoliciesGetParams) WithRetentionPeriod(retentionPeriod *string) *SnapmirrorPoliciesGetParams

WithRetentionPeriod adds the retentionPeriod to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionPrefix

func (o *SnapmirrorPoliciesGetParams) WithRetentionPrefix(retentionPrefix *string) *SnapmirrorPoliciesGetParams

WithRetentionPrefix adds the retentionPrefix to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionPreserve

func (o *SnapmirrorPoliciesGetParams) WithRetentionPreserve(retentionPreserve *bool) *SnapmirrorPoliciesGetParams

WithRetentionPreserve adds the retentionPreserve to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionWarn

func (o *SnapmirrorPoliciesGetParams) WithRetentionWarn(retentionWarn *int64) *SnapmirrorPoliciesGetParams

WithRetentionWarn adds the retentionWarn to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithReturnRecords

func (o *SnapmirrorPoliciesGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorPoliciesGetParams

WithReturnRecords adds the returnRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithReturnTimeout

func (o *SnapmirrorPoliciesGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPoliciesGetParams

WithReturnTimeout adds the returnTimeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRpo

WithRpo adds the rpo to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithScope

WithScope adds the scope to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSvmName

WithSvmName adds the svmName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSvmUUID

WithSvmUUID adds the svmUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleName

func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleName(syncCommonSnapshotScheduleName *string) *SnapmirrorPoliciesGetParams

WithSyncCommonSnapshotScheduleName adds the syncCommonSnapshotScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUID

func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUID(syncCommonSnapshotScheduleUUID *string) *SnapmirrorPoliciesGetParams

WithSyncCommonSnapshotScheduleUUID adds the syncCommonSnapshotScheduleUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSyncType

WithSyncType adds the syncType to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithThrottle

WithThrottle adds the throttle to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTransferScheduleName

func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleName(transferScheduleName *string) *SnapmirrorPoliciesGetParams

WithTransferScheduleName adds the transferScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTransferScheduleUUID

func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleUUID(transferScheduleUUID *string) *SnapmirrorPoliciesGetParams

WithTransferScheduleUUID adds the transferScheduleUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithType

WithType adds the typeVar to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithUUID

WithUUID adds the uuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPoliciesGetReader

type SnapmirrorPoliciesGetReader struct {
	// contains filtered or unexported fields
}

SnapmirrorPoliciesGetReader is a Reader for the SnapmirrorPoliciesGet structure.

func (*SnapmirrorPoliciesGetReader) ReadResponse

func (o *SnapmirrorPoliciesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyCreateAccepted

type SnapmirrorPolicyCreateAccepted struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

SnapmirrorPolicyCreateAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorPolicyCreateAccepted

func NewSnapmirrorPolicyCreateAccepted() *SnapmirrorPolicyCreateAccepted

NewSnapmirrorPolicyCreateAccepted creates a SnapmirrorPolicyCreateAccepted with default headers values

func (*SnapmirrorPolicyCreateAccepted) Code

Code gets the status code for the snapmirror policy create accepted response

func (*SnapmirrorPolicyCreateAccepted) Error

func (*SnapmirrorPolicyCreateAccepted) GetPayload

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

type SnapmirrorPolicyCreateCreated

type SnapmirrorPolicyCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

SnapmirrorPolicyCreateCreated describes a response with status code 201, with default header values.

Created

func NewSnapmirrorPolicyCreateCreated

func NewSnapmirrorPolicyCreateCreated() *SnapmirrorPolicyCreateCreated

NewSnapmirrorPolicyCreateCreated creates a SnapmirrorPolicyCreateCreated with default headers values

func (*SnapmirrorPolicyCreateCreated) Code

Code gets the status code for the snapmirror policy create created response

func (*SnapmirrorPolicyCreateCreated) Error

func (*SnapmirrorPolicyCreateCreated) GetPayload

func (*SnapmirrorPolicyCreateCreated) IsClientError

func (o *SnapmirrorPolicyCreateCreated) IsClientError() bool

IsClientError returns true when this snapmirror policy create created response has a 4xx status code

func (*SnapmirrorPolicyCreateCreated) IsCode

func (o *SnapmirrorPolicyCreateCreated) IsCode(code int) bool

IsCode returns true when this snapmirror policy create created response a status code equal to that given

func (*SnapmirrorPolicyCreateCreated) IsRedirect

func (o *SnapmirrorPolicyCreateCreated) IsRedirect() bool

IsRedirect returns true when this snapmirror policy create created response has a 3xx status code

func (*SnapmirrorPolicyCreateCreated) IsServerError

func (o *SnapmirrorPolicyCreateCreated) IsServerError() bool

IsServerError returns true when this snapmirror policy create created response has a 5xx status code

func (*SnapmirrorPolicyCreateCreated) IsSuccess

func (o *SnapmirrorPolicyCreateCreated) IsSuccess() bool

IsSuccess returns true when this snapmirror policy create created response has a 2xx status code

func (*SnapmirrorPolicyCreateCreated) String

type SnapmirrorPolicyCreateDefault

type SnapmirrorPolicyCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPolicyCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 6619714 | Schedule specified is an interval schedule. SnapMirror does not support interval schedules. | | 13304126 | Enter a value for "count" in the range indicated in the error message. | | 13303887 | Failed to create SnapMirror policy. Reason: Maximum number of allowed retention rules reached | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting this property. | | 13304084 | Properties specified are mutually exclusive. Provide only one property. | | 13304085 | The specified property does not support the specified value. | | 13304092 | Input value of the retention period property is invalid. For relationships with FlexVol volume or FlexGroup volume destinations, the duration must be in ISO 6801 format or can be infinite. For relationships with object store destinations, only duration values with Y, M or D and supported and must be in the specified range. |

| 6621045 | The property rentention.warn is not supported for a policy when the retention.preserve property is false. | 13304129 | The property retention.warn value must be less than the property retention.count value for a rule in a policy. | 13304130 | The total retention.count value for all rules in a policy cannot exceed the value indicated in the error message. | 6621060 | Failed to create specified policy. Reason: A policy with this name already exists. | | 13304118 | The specified properties cannot be both set at the same time: retention.creation_schedule and retention.period | | 6621972 | Schedule specified is not supported by SnapMirror Synchronous. The allowed time interval for the creation of common Snapshot copies can range between 30 minutes and 24 hours. | | 13304011 | Failed to create or modify the specified SnapMirror policy. Reason: The property retention.count cannot have a value greater than 1. | | 6621091 | The specified SnapMirror policy cannot have a rule with a preserve value of true. | | 6621088 | The specified SnapMirror policy must have at least one rule without a schedule. |

func NewSnapmirrorPolicyCreateDefault

func NewSnapmirrorPolicyCreateDefault(code int) *SnapmirrorPolicyCreateDefault

NewSnapmirrorPolicyCreateDefault creates a SnapmirrorPolicyCreateDefault with default headers values

func (*SnapmirrorPolicyCreateDefault) Code

Code gets the status code for the snapmirror policy create default response

func (*SnapmirrorPolicyCreateDefault) Error

func (*SnapmirrorPolicyCreateDefault) GetPayload

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

type SnapmirrorPolicyCreateParams

type SnapmirrorPolicyCreateParams struct {

	/* Info.

	   Information on the SnapMirror policy
	*/
	Info *models.SnapmirrorPolicy

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorPolicyCreateParams contains all the parameters to send to the API endpoint

for the snapmirror policy create operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyCreateParams

func NewSnapmirrorPolicyCreateParams() *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParams creates a new SnapmirrorPolicyCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyCreateParamsWithContext

func NewSnapmirrorPolicyCreateParamsWithContext(ctx context.Context) *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParamsWithContext creates a new SnapmirrorPolicyCreateParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyCreateParamsWithHTTPClient

func NewSnapmirrorPolicyCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParamsWithHTTPClient creates a new SnapmirrorPolicyCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyCreateParamsWithTimeout

func NewSnapmirrorPolicyCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParamsWithTimeout creates a new SnapmirrorPolicyCreateParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyCreateParams) SetContext

func (o *SnapmirrorPolicyCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetDefaults

func (o *SnapmirrorPolicyCreateParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyCreateParams) SetHTTPClient

func (o *SnapmirrorPolicyCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetInfo

SetInfo adds the info to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetReturnRecords

func (o *SnapmirrorPolicyCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetReturnTimeout

func (o *SnapmirrorPolicyCreateParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetTimeout

func (o *SnapmirrorPolicyCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithContext

WithContext adds the context to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithInfo

WithInfo adds the info to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithReturnRecords

func (o *SnapmirrorPolicyCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorPolicyCreateParams

WithReturnRecords adds the returnRecords to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithReturnTimeout

func (o *SnapmirrorPolicyCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyCreateParams

WithReturnTimeout adds the returnTimeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyCreateReader

type SnapmirrorPolicyCreateReader struct {
	// contains filtered or unexported fields
}

SnapmirrorPolicyCreateReader is a Reader for the SnapmirrorPolicyCreate structure.

func (*SnapmirrorPolicyCreateReader) ReadResponse

func (o *SnapmirrorPolicyCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyDeleteAccepted

type SnapmirrorPolicyDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorPolicyDeleteAccepted

func NewSnapmirrorPolicyDeleteAccepted() *SnapmirrorPolicyDeleteAccepted

NewSnapmirrorPolicyDeleteAccepted creates a SnapmirrorPolicyDeleteAccepted with default headers values

func (*SnapmirrorPolicyDeleteAccepted) Code

Code gets the status code for the snapmirror policy delete accepted response

func (*SnapmirrorPolicyDeleteAccepted) Error

func (*SnapmirrorPolicyDeleteAccepted) GetPayload

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

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

Code gets the status code for the snapmirror policy delete default response

func (*SnapmirrorPolicyDeleteDefault) Error

func (*SnapmirrorPolicyDeleteDefault) GetPayload

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

type SnapmirrorPolicyDeleteOK

type SnapmirrorPolicyDeleteOK struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyDeleteOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorPolicyDeleteOK

func NewSnapmirrorPolicyDeleteOK() *SnapmirrorPolicyDeleteOK

NewSnapmirrorPolicyDeleteOK creates a SnapmirrorPolicyDeleteOK with default headers values

func (*SnapmirrorPolicyDeleteOK) Code

func (o *SnapmirrorPolicyDeleteOK) Code() int

Code gets the status code for the snapmirror policy delete o k response

func (*SnapmirrorPolicyDeleteOK) Error

func (o *SnapmirrorPolicyDeleteOK) Error() string

func (*SnapmirrorPolicyDeleteOK) GetPayload

func (*SnapmirrorPolicyDeleteOK) IsClientError

func (o *SnapmirrorPolicyDeleteOK) IsClientError() bool

IsClientError returns true when this snapmirror policy delete o k response has a 4xx status code

func (*SnapmirrorPolicyDeleteOK) IsCode

func (o *SnapmirrorPolicyDeleteOK) IsCode(code int) bool

IsCode returns true when this snapmirror policy delete o k response a status code equal to that given

func (*SnapmirrorPolicyDeleteOK) IsRedirect

func (o *SnapmirrorPolicyDeleteOK) IsRedirect() bool

IsRedirect returns true when this snapmirror policy delete o k response has a 3xx status code

func (*SnapmirrorPolicyDeleteOK) IsServerError

func (o *SnapmirrorPolicyDeleteOK) IsServerError() bool

IsServerError returns true when this snapmirror policy delete o k response has a 5xx status code

func (*SnapmirrorPolicyDeleteOK) IsSuccess

func (o *SnapmirrorPolicyDeleteOK) IsSuccess() bool

IsSuccess returns true when this snapmirror policy delete o k response has a 2xx status code

func (*SnapmirrorPolicyDeleteOK) String

func (o *SnapmirrorPolicyDeleteOK) String() string

type SnapmirrorPolicyDeleteParams

type SnapmirrorPolicyDeleteParams struct {

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	/* UUID.

	   SnapMirror policy UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorPolicyDeleteParams contains all the parameters to send to the API endpoint

for the snapmirror policy delete operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyDeleteParams

func NewSnapmirrorPolicyDeleteParams() *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParams creates a new SnapmirrorPolicyDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyDeleteParamsWithContext

func NewSnapmirrorPolicyDeleteParamsWithContext(ctx context.Context) *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParamsWithContext creates a new SnapmirrorPolicyDeleteParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyDeleteParamsWithHTTPClient

func NewSnapmirrorPolicyDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParamsWithHTTPClient creates a new SnapmirrorPolicyDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyDeleteParamsWithTimeout

func NewSnapmirrorPolicyDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParamsWithTimeout creates a new SnapmirrorPolicyDeleteParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyDeleteParams) SetContext

func (o *SnapmirrorPolicyDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetDefaults

func (o *SnapmirrorPolicyDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyDeleteParams) SetHTTPClient

func (o *SnapmirrorPolicyDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetReturnTimeout

func (o *SnapmirrorPolicyDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetTimeout

func (o *SnapmirrorPolicyDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetUUID

func (o *SnapmirrorPolicyDeleteParams) SetUUID(uuid string)

SetUUID adds the uuid to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithContext

WithContext adds the context to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithReturnTimeout

func (o *SnapmirrorPolicyDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyDeleteParams

WithReturnTimeout adds the returnTimeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithUUID

WithUUID adds the uuid to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WriteToRequest

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 (*SnapmirrorPolicyGetDefault) GetPayload

func (*SnapmirrorPolicyGetDefault) IsClientError

func (o *SnapmirrorPolicyGetDefault) IsClientError() bool

IsClientError returns true when this snapmirror policy get default response has a 4xx status code

func (*SnapmirrorPolicyGetDefault) IsCode

func (o *SnapmirrorPolicyGetDefault) IsCode(code int) bool

IsCode returns true when this snapmirror policy get default response a status code equal to that given

func (*SnapmirrorPolicyGetDefault) IsRedirect

func (o *SnapmirrorPolicyGetDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror policy get default response has a 3xx status code

func (*SnapmirrorPolicyGetDefault) IsServerError

func (o *SnapmirrorPolicyGetDefault) IsServerError() bool

IsServerError returns true when this snapmirror policy get default response has a 5xx status code

func (*SnapmirrorPolicyGetDefault) IsSuccess

func (o *SnapmirrorPolicyGetDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror policy get default response has a 2xx status code

func (*SnapmirrorPolicyGetDefault) String

func (o *SnapmirrorPolicyGetDefault) String() string

type SnapmirrorPolicyGetOK

type SnapmirrorPolicyGetOK struct {
	Payload *models.SnapmirrorPolicy
}

SnapmirrorPolicyGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorPolicyGetOK

func NewSnapmirrorPolicyGetOK() *SnapmirrorPolicyGetOK

NewSnapmirrorPolicyGetOK creates a SnapmirrorPolicyGetOK with default headers values

func (*SnapmirrorPolicyGetOK) Code

func (o *SnapmirrorPolicyGetOK) Code() int

Code gets the status code for the snapmirror policy get o k response

func (*SnapmirrorPolicyGetOK) Error

func (o *SnapmirrorPolicyGetOK) Error() string

func (*SnapmirrorPolicyGetOK) GetPayload

func (*SnapmirrorPolicyGetOK) IsClientError

func (o *SnapmirrorPolicyGetOK) IsClientError() bool

IsClientError returns true when this snapmirror policy get o k response has a 4xx status code

func (*SnapmirrorPolicyGetOK) IsCode

func (o *SnapmirrorPolicyGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror policy get o k response a status code equal to that given

func (*SnapmirrorPolicyGetOK) IsRedirect

func (o *SnapmirrorPolicyGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror policy get o k response has a 3xx status code

func (*SnapmirrorPolicyGetOK) IsServerError

func (o *SnapmirrorPolicyGetOK) IsServerError() bool

IsServerError returns true when this snapmirror policy get o k response has a 5xx status code

func (*SnapmirrorPolicyGetOK) IsSuccess

func (o *SnapmirrorPolicyGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror policy get o k response has a 2xx status code

func (*SnapmirrorPolicyGetOK) String

func (o *SnapmirrorPolicyGetOK) String() string

type SnapmirrorPolicyGetParams

type SnapmirrorPolicyGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* UUID.

	   SnapMirror policy UUID.
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorPolicyGetParams contains all the parameters to send to the API endpoint

for the snapmirror policy get operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyGetParams

func NewSnapmirrorPolicyGetParams() *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParams creates a new SnapmirrorPolicyGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyGetParamsWithContext

func NewSnapmirrorPolicyGetParamsWithContext(ctx context.Context) *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParamsWithContext creates a new SnapmirrorPolicyGetParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyGetParamsWithHTTPClient

func NewSnapmirrorPolicyGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParamsWithHTTPClient creates a new SnapmirrorPolicyGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyGetParamsWithTimeout

func NewSnapmirrorPolicyGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParamsWithTimeout creates a new SnapmirrorPolicyGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyGetParams) SetContext

func (o *SnapmirrorPolicyGetParams) SetContext(ctx context.Context)

SetContext adds the context to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetDefaults

func (o *SnapmirrorPolicyGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyGetParams) SetFields

func (o *SnapmirrorPolicyGetParams) SetFields(fields []string)

SetFields adds the fields to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetHTTPClient

func (o *SnapmirrorPolicyGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetTimeout

func (o *SnapmirrorPolicyGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetUUID

func (o *SnapmirrorPolicyGetParams) SetUUID(uuid string)

SetUUID adds the uuid to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithContext

WithContext adds the context to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policy get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyGetParams) WithFields

WithFields adds the fields to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithHTTPClient

func (o *SnapmirrorPolicyGetParams) WithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams

WithHTTPClient adds the HTTPClient to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithUUID

WithUUID adds the uuid to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyGetReader

type SnapmirrorPolicyGetReader struct {
	// contains filtered or unexported fields
}

SnapmirrorPolicyGetReader is a Reader for the SnapmirrorPolicyGet structure.

func (*SnapmirrorPolicyGetReader) ReadResponse

func (o *SnapmirrorPolicyGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyModifyAccepted

type SnapmirrorPolicyModifyAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyModifyAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorPolicyModifyAccepted

func NewSnapmirrorPolicyModifyAccepted() *SnapmirrorPolicyModifyAccepted

NewSnapmirrorPolicyModifyAccepted creates a SnapmirrorPolicyModifyAccepted with default headers values

func (*SnapmirrorPolicyModifyAccepted) Code

Code gets the status code for the snapmirror policy modify accepted response

func (*SnapmirrorPolicyModifyAccepted) Error

func (*SnapmirrorPolicyModifyAccepted) GetPayload

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

type SnapmirrorPolicyModifyDefault

type SnapmirrorPolicyModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPolicyModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 6619714 | Schedule specified is an interval schedule. SnapMirror does not support interval schedules. | | 13303842 | SnapMirror policy is not supported. | | 13303843 | Conflicting values between SnapMirror policy and SnapMirror relationships for either 'transfer_schedule, throttle or identity_preservation' properties | | 13303850 | Invalid input parameter | | 13303887 | Failed to create SnapMirror policy. Reason: Maximum number of allowed retention rules reached | | 13304050 | Retention cannot be empty for a SnapMirror policy with 'create_snapshot_on_source' set to false. | | 13304092 | Input value of the retention period property is invalid. For relationships with FlexVol volume or FlexGroup volume destinations, the duration must be in ISO 6801 format or can be infinite. For relationships with object store destinations, only duration values with Y, M or D and supported and must be in the specified range. |

| 6621045 | The property rentention.warn is not supported for a policy when the retention.preserve property is false. | | 13304129 | The property retention.warn value must be less than the property retention.count value for a rule in a policy. | | 13304126 | Enter a value for "count" in the range indicated in the error message. | | 13304130 | The total retention.count value for all rules in a policy cannot exceed the value indicated in the error message." | | 13304131 | Modifying property "retention.creation_schedule" for the policy is not supported because the policy is associated with a relationship with a FlexGroup volume endpoint. | | 13304011 | Failed to create or modify the specified Snapmirror policy. Reason: The propery retention.count cannot have a value greater than 1. | | 6621091 | The specified Snapmirror policy cannot have a rule with a preserve value of true. | | 6621088 | The specified Snapmirror policy must have at least one rule without a schedule. |

func NewSnapmirrorPolicyModifyDefault

func NewSnapmirrorPolicyModifyDefault(code int) *SnapmirrorPolicyModifyDefault

NewSnapmirrorPolicyModifyDefault creates a SnapmirrorPolicyModifyDefault with default headers values

func (*SnapmirrorPolicyModifyDefault) Code

Code gets the status code for the snapmirror policy modify default response

func (*SnapmirrorPolicyModifyDefault) Error

func (*SnapmirrorPolicyModifyDefault) GetPayload

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

type SnapmirrorPolicyModifyOK

type SnapmirrorPolicyModifyOK struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyModifyOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorPolicyModifyOK

func NewSnapmirrorPolicyModifyOK() *SnapmirrorPolicyModifyOK

NewSnapmirrorPolicyModifyOK creates a SnapmirrorPolicyModifyOK with default headers values

func (*SnapmirrorPolicyModifyOK) Code

func (o *SnapmirrorPolicyModifyOK) Code() int

Code gets the status code for the snapmirror policy modify o k response

func (*SnapmirrorPolicyModifyOK) Error

func (o *SnapmirrorPolicyModifyOK) Error() string

func (*SnapmirrorPolicyModifyOK) GetPayload

func (*SnapmirrorPolicyModifyOK) IsClientError

func (o *SnapmirrorPolicyModifyOK) IsClientError() bool

IsClientError returns true when this snapmirror policy modify o k response has a 4xx status code

func (*SnapmirrorPolicyModifyOK) IsCode

func (o *SnapmirrorPolicyModifyOK) IsCode(code int) bool

IsCode returns true when this snapmirror policy modify o k response a status code equal to that given

func (*SnapmirrorPolicyModifyOK) IsRedirect

func (o *SnapmirrorPolicyModifyOK) IsRedirect() bool

IsRedirect returns true when this snapmirror policy modify o k response has a 3xx status code

func (*SnapmirrorPolicyModifyOK) IsServerError

func (o *SnapmirrorPolicyModifyOK) IsServerError() bool

IsServerError returns true when this snapmirror policy modify o k response has a 5xx status code

func (*SnapmirrorPolicyModifyOK) IsSuccess

func (o *SnapmirrorPolicyModifyOK) IsSuccess() bool

IsSuccess returns true when this snapmirror policy modify o k response has a 2xx status code

func (*SnapmirrorPolicyModifyOK) String

func (o *SnapmirrorPolicyModifyOK) String() string

type SnapmirrorPolicyModifyParams

type SnapmirrorPolicyModifyParams struct {

	/* Info.

	   Information on the SnapMirror policy
	*/
	Info *models.SnapmirrorPolicy

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	/* UUID.

	   SnapMirror policy UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorPolicyModifyParams contains all the parameters to send to the API endpoint

for the snapmirror policy modify operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyModifyParams

func NewSnapmirrorPolicyModifyParams() *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParams creates a new SnapmirrorPolicyModifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyModifyParamsWithContext

func NewSnapmirrorPolicyModifyParamsWithContext(ctx context.Context) *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParamsWithContext creates a new SnapmirrorPolicyModifyParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyModifyParamsWithHTTPClient

func NewSnapmirrorPolicyModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParamsWithHTTPClient creates a new SnapmirrorPolicyModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyModifyParamsWithTimeout

func NewSnapmirrorPolicyModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParamsWithTimeout creates a new SnapmirrorPolicyModifyParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyModifyParams) SetContext

func (o *SnapmirrorPolicyModifyParams) SetContext(ctx context.Context)

SetContext adds the context to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetDefaults

func (o *SnapmirrorPolicyModifyParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyModifyParams) SetHTTPClient

func (o *SnapmirrorPolicyModifyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetInfo

SetInfo adds the info to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetReturnTimeout

func (o *SnapmirrorPolicyModifyParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetTimeout

func (o *SnapmirrorPolicyModifyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetUUID

func (o *SnapmirrorPolicyModifyParams) SetUUID(uuid string)

SetUUID adds the uuid to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithContext

WithContext adds the context to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithInfo

WithInfo adds the info to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithReturnTimeout

func (o *SnapmirrorPolicyModifyParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorPolicyModifyParams

WithReturnTimeout adds the returnTimeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithUUID

WithUUID adds the uuid to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyModifyReader

type SnapmirrorPolicyModifyReader struct {
	// contains filtered or unexported fields
}

SnapmirrorPolicyModifyReader is a Reader for the SnapmirrorPolicyModify structure.

func (*SnapmirrorPolicyModifyReader) ReadResponse

func (o *SnapmirrorPolicyModifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipCreateAccepted

type SnapmirrorRelationshipCreateAccepted struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipCreateAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorRelationshipCreateAccepted

func NewSnapmirrorRelationshipCreateAccepted() *SnapmirrorRelationshipCreateAccepted

NewSnapmirrorRelationshipCreateAccepted creates a SnapmirrorRelationshipCreateAccepted with default headers values

func (*SnapmirrorRelationshipCreateAccepted) Code

Code gets the status code for the snapmirror relationship create accepted response

func (*SnapmirrorRelationshipCreateAccepted) Error

func (*SnapmirrorRelationshipCreateAccepted) GetPayload

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

IsCode returns true when this snapmirror relationship create accepted response a status code equal to that given

func (*SnapmirrorRelationshipCreateAccepted) IsRedirect

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

IsSuccess returns true when this snapmirror relationship create accepted response has a 2xx status code

func (*SnapmirrorRelationshipCreateAccepted) String

type SnapmirrorRelationshipCreateCreated

type SnapmirrorRelationshipCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipCreateCreated describes a response with status code 201, with default header values.

Created

func NewSnapmirrorRelationshipCreateCreated

func NewSnapmirrorRelationshipCreateCreated() *SnapmirrorRelationshipCreateCreated

NewSnapmirrorRelationshipCreateCreated creates a SnapmirrorRelationshipCreateCreated with default headers values

func (*SnapmirrorRelationshipCreateCreated) Code

Code gets the status code for the snapmirror relationship create created response

func (*SnapmirrorRelationshipCreateCreated) Error

func (*SnapmirrorRelationshipCreateCreated) GetPayload

func (*SnapmirrorRelationshipCreateCreated) IsClientError

func (o *SnapmirrorRelationshipCreateCreated) IsClientError() bool

IsClientError returns true when this snapmirror relationship create created response has a 4xx status code

func (*SnapmirrorRelationshipCreateCreated) IsCode

IsCode returns true when this snapmirror relationship create created response a status code equal to that given

func (*SnapmirrorRelationshipCreateCreated) IsRedirect

func (o *SnapmirrorRelationshipCreateCreated) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship create created response has a 3xx status code

func (*SnapmirrorRelationshipCreateCreated) IsServerError

func (o *SnapmirrorRelationshipCreateCreated) IsServerError() bool

IsServerError returns true when this snapmirror relationship create created response has a 5xx status code

func (*SnapmirrorRelationshipCreateCreated) IsSuccess

IsSuccess returns true when this snapmirror relationship create created response has a 2xx status code

func (*SnapmirrorRelationshipCreateCreated) String

type SnapmirrorRelationshipCreateDefault

type SnapmirrorRelationshipCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 1115542 | Invalid value given for the field. | | 6619441 | The source volume cannot be the same as the destination volume. | | 6619599 | Only the \"none\" tiering policy is supported when creating a destination volume with \"snapshot_locking_enabled\" set to true or if \"snapshot_locking_enabled\" is set to true on the source volume. | | 6619637 | Relationship with specified destination volume already exists. | | 6619699 | Schedule not found. | | 6620374 | Internal error. Failed to get SVM information. | | 6620478 | Internal error. Failed to check SnapMirror capability. | | 6620654 | Invalid SnapMirror Consistency Group name. | | 6621125 | The policy is not valid for relationships with FlexGroup volume endpoints. Only policies without Snapshot copy creation schedules are supported for these relationships. | | 6621458 | The destination Consistency Group is the source of a SnapMirror Synchronous (SM-S) relationship. Sources of SM-S relationships cannot be the destination of any other SnapMirror relationship. | | 6621782 | A property of the policy is not valid for relationships between these endpoints. | | 6621834 | Object store configuration does not exist for specified SVM. | | 6622088 | SnapMirror Asynchronous relationship is not supported on a Consistency Group volume that has Snapshot copy locking enabled. | | 13303819 | Could not retrieve SnapMirror policy information. | | 13303821 | Invalid SnapMirror policy UUID. | | 13303841 | This operation is not supported for SnapMirror relationships between these endpoints. | | 13303852 | destination.path provided does not contain \\\":\\\". | | 13303853 | Restore relationships are not supported for SVM-DR endpoints. | | 13303866 | Associating the specified SnapMirror policy with this SnapMirror relationship is not supported. | | 13303868 | Create of destination endpoint and SnapMirror relationship failed. | | 13303869 | Creating a destination endpoint is not supported for restore relationships. | | 13303870 | A tiering policy cannot be specified if tiering is not being set to supported. | | 13303871 | Storage service properties cannot be specified if the storage service is not being enabled. | | 13303872 | Specified property requires a later effective cluster version. | | 13303873 | Specifying a state when creating a relationship is only supported when creating a destination endpoint. | | 13303874 | Specified state is not supported when creating this relationship. | | 13303875 | Destination aggregates do not have sufficient space for hosting copies of source volumes. | | 13303876 | Destination cluster does not have composite aggregates. | | 13303877 | Source or destination cluster must be specified. | | 13303878 | The specified fields do not match. | | 13303879 | Source cluster name or UUID is needed to provision a destination SVM on the local cluster. | | 13303880 | Source cluster must be remote for provisioning a destination SVM on the local cluster. | | 13303881 | Network validation failed. | | 13303882 | SVM validation failed. | | 13303883 | Encryption is not enabled on the destination cluster. | | 13303886 | SVM peer permission not found. | | 13303887 | Synchronous SnapMirror relationships between FlexGroup volumes are not supported. | | 13303888 | Synchronous SnapMirror relationships require an effective cluster version of 9.5 or later on both the source and destination clusters. | | 13303889 | Asynchronous SnapMirror relationships between FlexGroup volumes require an effective cluster version of 9.5 or later on both the source and destination clusters. | | 13303890 | Asynchronous SnapMirror relationships between FlexVol volumes require an effective cluster version of 9.3, 9.5, or later on both the source and destination clusters. | | 13303891 | Creating a destination endpoint with storage service requires an effective cluster version of 9.7 or later. | | 13303892 | Fetching remote information from the destination cluster failed. | | 13303893 | Updating job description failed. | | 13303894 | Destination volume name is invalid. It must contain the source volume name and have a suffix when creating a destination endpoint on a cluster with an effective cluster version of 9.6 or earlier. | | 13303895 | Operation on the remote destination cluster is not supported. | | 13303916 | FlexGroup volumes are not supported on SnapLock aggregates. | | 13303918 | No suitable destination aggregate type is available. | | 13303919 | Only FabricPool enabled aggregates are available on the destination. | | 13303920 | Only SnapLock aggregates are available on the destination. FlexGroup volumes are not supported on SnapLock aggregates. | | 13303921 | Unable to retrieve the SnapMirror capabilities of the destination cluster. | | 13303922 | Specified source SVM is not a data SVM. | | 13303923 | Specified destination SVM is not a data SVM. | | 13303924 | Source SVM has an invalid Snapshot copy policy. | | 13303925 | SnapMirror validation has failed. | | 13303930 | The specified tiering policy is not supported for destination volumes of Synchronous relationships. | | 13303938 | Fetching information from the local cluster failed. | | 13303939 | Could not create an SVM peer relationship. | | 13303944 | An SVM-DR relationship is not supported because the source SVM has CIFS configured and the associated SnapMirror policy has either the "identity_preservation" property not set or set to "exclude_network_and_protocol_config". | | 13303949 | This SnapMirror policy is only supported for relationships with object store destination endpoints. | | 13303966 | Consistency Group relationships require a policy of type \"sync\" with a sync_type of \"automated_failover\". | | 13303967 | Consistency Group volume is not a FlexVol volume. | | 13303968 | Unsupported volume type for the Consistency Group. | | 13303969 | SnapMirror relationships between SVM endpoints and object store endpoints are not supported. | | 13303970 | Unsupported policy type for the Consistency Group. | | 13303971 | SnapMirror relationships between Consistency Group endpoints and object store endpoints are not supported. | | 13303976 | Source or destination SVM is already part of an SVM-DR relation. | | 13303977 | Destination Consistency Group volume UUIDs are not expected while provisioning the destination volumes. | | 13303978 | Number of Consistency Group volume names and UUIDs does not match. | | 13303979 | Number of Consistency Group volumes exceeds the allowed limit. | | 13303980 | Number of source and destination Consistency Group volumes do not match. | | 13303981 | ISCSI or FCP protocol is not configured. | | 13303982 | SAN data interface is not configured on the SVM. | | 13304021 | No suitable storage can be found meeting the specified requirements. No FabricPool enabled aggregates are available on the destination. | | 13304022 | No suitable storage can be found meeting the specified requirements. No non-root, non-taken-over, non-SnapLock, non-composite aggregates are available on the destination. | | 13304032 | In an "All SAN Array", an SVM-DR relationship is not supported when the associated SnapMirror policy does not have the "identity_preservation" property set to "exclude_network_and_protocol_config". | | 13304080 | Specified UUID and name do not match. | | 13304082 | Specified properties are mutually exclusive. | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting the property. | | 13304093 | The property specified is not supported for the specified relationships. | | 13304098 | This SnapMirror policy is not supported for SnapMirror relationhips with SnapLock volumes. | | 13304099 | SnapLock Compliance Clock is not running on all nodes in the destination cluster. | | 13304108 | Schedule not found in the Administrative SVM or the SVM for the relationship. | | 13304112 | File restore from a Consistency Group asynchronous SnapMirror relationship endpoint is not supported. | | 13304132 | Creating a destination endpoint is not supported with the \"backoff_level\" property. | | 53411897 | The specified source volumes do not match the volumes contained in the source consistency group. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation. ##### Above error msgs have been added in sorted(ascending) order ##### of error codes, for example - 13303945 is error code for ##### SM_REST_SCHEDULE_CONFLICT_FOR_SM_OP and for 13303949 is err ##### code for SM_REST_POLICY_ONLY_SUPPORTED_FOR_OBJSTORE, so ##### SM_REST_SCHEDULE_CONFLICT_FOR_SM_OP has been placed before ##### SM_REST_POLICY_ONLY_SUPPORTED_FOR_OBJSTORE. ##### Also for private error msg, add private tags as after adding the error msg at correct place(in sorted order). ##### Please make sure new error messages are being put at correct place ##### so that order is maintained.

func NewSnapmirrorRelationshipCreateDefault

func NewSnapmirrorRelationshipCreateDefault(code int) *SnapmirrorRelationshipCreateDefault

NewSnapmirrorRelationshipCreateDefault creates a SnapmirrorRelationshipCreateDefault with default headers values

func (*SnapmirrorRelationshipCreateDefault) Code

Code gets the status code for the snapmirror relationship create default response

func (*SnapmirrorRelationshipCreateDefault) Error

func (*SnapmirrorRelationshipCreateDefault) GetPayload

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

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

IsSuccess returns true when this snapmirror relationship create default response has a 2xx status code

func (*SnapmirrorRelationshipCreateDefault) String

type SnapmirrorRelationshipCreateParams

type SnapmirrorRelationshipCreateParams struct {

	/* Info.

	   Information on the SnapMirror relationship
	*/
	Info *models.SnapmirrorRelationship

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	/* ValidateOnly.

	   Validate the operation and its parameters, without actually performing the operation.
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipCreateParams contains all the parameters to send to the API endpoint

for the snapmirror relationship create operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipCreateParams

func NewSnapmirrorRelationshipCreateParams() *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParams creates a new SnapmirrorRelationshipCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipCreateParamsWithContext

func NewSnapmirrorRelationshipCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParamsWithContext creates a new SnapmirrorRelationshipCreateParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipCreateParamsWithHTTPClient

func NewSnapmirrorRelationshipCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParamsWithHTTPClient creates a new SnapmirrorRelationshipCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipCreateParamsWithTimeout

func NewSnapmirrorRelationshipCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParamsWithTimeout creates a new SnapmirrorRelationshipCreateParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipCreateParams) SetContext

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

SetInfo adds the info to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetReturnRecords

func (o *SnapmirrorRelationshipCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetReturnTimeout

func (o *SnapmirrorRelationshipCreateParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetTimeout

func (o *SnapmirrorRelationshipCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetValidateOnly

func (o *SnapmirrorRelationshipCreateParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithContext

WithContext adds the context to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithInfo

WithInfo adds the info to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithReturnRecords

func (o *SnapmirrorRelationshipCreateParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipCreateParams

WithReturnRecords adds the returnRecords to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithReturnTimeout

func (o *SnapmirrorRelationshipCreateParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipCreateParams

WithReturnTimeout adds the returnTimeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithValidateOnly

WithValidateOnly adds the validateOnly to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipCreateReader

type SnapmirrorRelationshipCreateReader struct {
	// contains filtered or unexported fields
}

SnapmirrorRelationshipCreateReader is a Reader for the SnapmirrorRelationshipCreate structure.

func (*SnapmirrorRelationshipCreateReader) ReadResponse

func (o *SnapmirrorRelationshipCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipDeleteAccepted

type SnapmirrorRelationshipDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorRelationshipDeleteAccepted

func NewSnapmirrorRelationshipDeleteAccepted() *SnapmirrorRelationshipDeleteAccepted

NewSnapmirrorRelationshipDeleteAccepted creates a SnapmirrorRelationshipDeleteAccepted with default headers values

func (*SnapmirrorRelationshipDeleteAccepted) Code

Code gets the status code for the snapmirror relationship delete accepted response

func (*SnapmirrorRelationshipDeleteAccepted) Error

func (*SnapmirrorRelationshipDeleteAccepted) GetPayload

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

IsCode returns true when this snapmirror relationship delete accepted response a status code equal to that given

func (*SnapmirrorRelationshipDeleteAccepted) IsRedirect

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

IsSuccess returns true when this snapmirror relationship delete accepted response has a 2xx status code

func (*SnapmirrorRelationshipDeleteAccepted) 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

Code gets the status code for the snapmirror relationship delete default response

func (*SnapmirrorRelationshipDeleteDefault) Error

func (*SnapmirrorRelationshipDeleteDefault) GetPayload

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

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

IsSuccess returns true when this snapmirror relationship delete default response has a 2xx status code

func (*SnapmirrorRelationshipDeleteDefault) String

type SnapmirrorRelationshipDeleteOK

type SnapmirrorRelationshipDeleteOK struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipDeleteOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipDeleteOK

func NewSnapmirrorRelationshipDeleteOK() *SnapmirrorRelationshipDeleteOK

NewSnapmirrorRelationshipDeleteOK creates a SnapmirrorRelationshipDeleteOK with default headers values

func (*SnapmirrorRelationshipDeleteOK) Code

Code gets the status code for the snapmirror relationship delete o k response

func (*SnapmirrorRelationshipDeleteOK) Error

func (*SnapmirrorRelationshipDeleteOK) GetPayload

func (*SnapmirrorRelationshipDeleteOK) IsClientError

func (o *SnapmirrorRelationshipDeleteOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship delete o k response has a 4xx status code

func (*SnapmirrorRelationshipDeleteOK) IsCode

func (o *SnapmirrorRelationshipDeleteOK) IsCode(code int) bool

IsCode returns true when this snapmirror relationship delete o k response a status code equal to that given

func (*SnapmirrorRelationshipDeleteOK) IsRedirect

func (o *SnapmirrorRelationshipDeleteOK) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship delete o k response has a 3xx status code

func (*SnapmirrorRelationshipDeleteOK) IsServerError

func (o *SnapmirrorRelationshipDeleteOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship delete o k response has a 5xx status code

func (*SnapmirrorRelationshipDeleteOK) IsSuccess

func (o *SnapmirrorRelationshipDeleteOK) IsSuccess() bool

IsSuccess returns true when this snapmirror relationship delete o k response has a 2xx status code

func (*SnapmirrorRelationshipDeleteOK) String

type SnapmirrorRelationshipDeleteParams

type SnapmirrorRelationshipDeleteParams struct {

	/* DeleteLunMapsInDestination.

	   Deletes LUN mapping for the volumes of the CG in destination.
	*/
	DeleteLunMapsInDestination *bool

	/* DestinationOnly.

	   Deletes a relationship on the destination only. This parameter is applicable only when the call is executed on the cluster that contains the destination endpoint.
	*/
	DestinationOnly *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	/* SourceInfoOnly.

	   Deletes relationship information on the source only. This parameter is applicable only when the call is executed on the cluster that contains the source endpoint.
	*/
	SourceInfoOnly *bool

	/* SourceOnly.

	   Deletes a relationship on the source only. This parameter is applicable only when the call is executed on the cluster that contains the source endpoint. In the case of a relationship that uses SnapMirror policy of type 'continuous', this parameter is used to delete the source end of the relationship while ignoring errors when the destination endpoint is not reachable.
	*/
	SourceOnly *bool

	/* UUID.

	   SnapMirror relationship UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipDeleteParams contains all the parameters to send to the API endpoint

for the snapmirror relationship delete operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipDeleteParams

func NewSnapmirrorRelationshipDeleteParams() *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParams creates a new SnapmirrorRelationshipDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipDeleteParamsWithContext

func NewSnapmirrorRelationshipDeleteParamsWithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParamsWithContext creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient

func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParamsWithHTTPClient creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipDeleteParamsWithTimeout

func NewSnapmirrorRelationshipDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParamsWithTimeout creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipDeleteParams) SetContext

SetContext adds the context to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetDefaults

func (o *SnapmirrorRelationshipDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipDeleteParams) SetDeleteLunMapsInDestination

func (o *SnapmirrorRelationshipDeleteParams) SetDeleteLunMapsInDestination(deleteLunMapsInDestination *bool)

SetDeleteLunMapsInDestination adds the deleteLunMapsInDestination to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetDestinationOnly

func (o *SnapmirrorRelationshipDeleteParams) SetDestinationOnly(destinationOnly *bool)

SetDestinationOnly adds the destinationOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetHTTPClient

func (o *SnapmirrorRelationshipDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetReturnTimeout

func (o *SnapmirrorRelationshipDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetSourceInfoOnly

func (o *SnapmirrorRelationshipDeleteParams) SetSourceInfoOnly(sourceInfoOnly *bool)

SetSourceInfoOnly adds the sourceInfoOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetSourceOnly

func (o *SnapmirrorRelationshipDeleteParams) SetSourceOnly(sourceOnly *bool)

SetSourceOnly adds the sourceOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetTimeout

func (o *SnapmirrorRelationshipDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetUUID

func (o *SnapmirrorRelationshipDeleteParams) SetUUID(uuid string)

SetUUID adds the uuid to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithContext

WithContext adds the context to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipDeleteParams) WithDeleteLunMapsInDestination

func (o *SnapmirrorRelationshipDeleteParams) WithDeleteLunMapsInDestination(deleteLunMapsInDestination *bool) *SnapmirrorRelationshipDeleteParams

WithDeleteLunMapsInDestination adds the deleteLunMapsInDestination to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithDestinationOnly

func (o *SnapmirrorRelationshipDeleteParams) WithDestinationOnly(destinationOnly *bool) *SnapmirrorRelationshipDeleteParams

WithDestinationOnly adds the destinationOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithReturnTimeout

func (o *SnapmirrorRelationshipDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipDeleteParams

WithReturnTimeout adds the returnTimeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithSourceInfoOnly

func (o *SnapmirrorRelationshipDeleteParams) WithSourceInfoOnly(sourceInfoOnly *bool) *SnapmirrorRelationshipDeleteParams

WithSourceInfoOnly adds the sourceInfoOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithSourceOnly

WithSourceOnly adds the sourceOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithUUID

WithUUID adds the uuid to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WriteToRequest

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

Code gets the status code for the snapmirror relationship get default response

func (*SnapmirrorRelationshipGetDefault) Error

func (*SnapmirrorRelationshipGetDefault) GetPayload

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

type SnapmirrorRelationshipGetOK

type SnapmirrorRelationshipGetOK struct {
	Payload *models.SnapmirrorRelationship
}

SnapmirrorRelationshipGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipGetOK

func NewSnapmirrorRelationshipGetOK() *SnapmirrorRelationshipGetOK

NewSnapmirrorRelationshipGetOK creates a SnapmirrorRelationshipGetOK with default headers values

func (*SnapmirrorRelationshipGetOK) Code

func (o *SnapmirrorRelationshipGetOK) Code() int

Code gets the status code for the snapmirror relationship get o k response

func (*SnapmirrorRelationshipGetOK) Error

func (*SnapmirrorRelationshipGetOK) GetPayload

func (*SnapmirrorRelationshipGetOK) IsClientError

func (o *SnapmirrorRelationshipGetOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship get o k response has a 4xx status code

func (*SnapmirrorRelationshipGetOK) IsCode

func (o *SnapmirrorRelationshipGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror relationship get o k response a status code equal to that given

func (*SnapmirrorRelationshipGetOK) IsRedirect

func (o *SnapmirrorRelationshipGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship get o k response has a 3xx status code

func (*SnapmirrorRelationshipGetOK) IsServerError

func (o *SnapmirrorRelationshipGetOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship get o k response has a 5xx status code

func (*SnapmirrorRelationshipGetOK) IsSuccess

func (o *SnapmirrorRelationshipGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror relationship get o k response has a 2xx status code

func (*SnapmirrorRelationshipGetOK) String

func (o *SnapmirrorRelationshipGetOK) String() string

type SnapmirrorRelationshipGetParams

type SnapmirrorRelationshipGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* ListDestinationsOnly.

	   Set to true to show relationships from the source only.
	*/
	ListDestinationsOnly *bool

	/* UUID.

	   SnapMirror relationship UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationship get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipGetParams

func NewSnapmirrorRelationshipGetParams() *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParams creates a new SnapmirrorRelationshipGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipGetParamsWithContext

func NewSnapmirrorRelationshipGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParamsWithContext creates a new SnapmirrorRelationshipGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipGetParamsWithHTTPClient

func NewSnapmirrorRelationshipGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParamsWithHTTPClient creates a new SnapmirrorRelationshipGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipGetParamsWithTimeout

func NewSnapmirrorRelationshipGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParamsWithTimeout creates a new SnapmirrorRelationshipGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipGetParams) SetContext

func (o *SnapmirrorRelationshipGetParams) SetContext(ctx context.Context)

SetContext adds the context to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetDefaults

func (o *SnapmirrorRelationshipGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipGetParams) SetFields

func (o *SnapmirrorRelationshipGetParams) SetFields(fields []string)

SetFields adds the fields to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetHTTPClient

func (o *SnapmirrorRelationshipGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetListDestinationsOnly

func (o *SnapmirrorRelationshipGetParams) SetListDestinationsOnly(listDestinationsOnly *bool)

SetListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetTimeout

func (o *SnapmirrorRelationshipGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetUUID

func (o *SnapmirrorRelationshipGetParams) SetUUID(uuid string)

SetUUID adds the uuid to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithContext

WithContext adds the context to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipGetParams) WithFields

WithFields adds the fields to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithListDestinationsOnly

func (o *SnapmirrorRelationshipGetParams) WithListDestinationsOnly(listDestinationsOnly *bool) *SnapmirrorRelationshipGetParams

WithListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithUUID

WithUUID adds the uuid to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipGetReader

type SnapmirrorRelationshipGetReader struct {
	// contains filtered or unexported fields
}

SnapmirrorRelationshipGetReader is a Reader for the SnapmirrorRelationshipGet structure.

func (*SnapmirrorRelationshipGetReader) ReadResponse

func (o *SnapmirrorRelationshipGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipModifyAccepted

type SnapmirrorRelationshipModifyAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipModifyAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorRelationshipModifyAccepted

func NewSnapmirrorRelationshipModifyAccepted() *SnapmirrorRelationshipModifyAccepted

NewSnapmirrorRelationshipModifyAccepted creates a SnapmirrorRelationshipModifyAccepted with default headers values

func (*SnapmirrorRelationshipModifyAccepted) Code

Code gets the status code for the snapmirror relationship modify accepted response

func (*SnapmirrorRelationshipModifyAccepted) Error

func (*SnapmirrorRelationshipModifyAccepted) GetPayload

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

IsCode returns true when this snapmirror relationship modify accepted response a status code equal to that given

func (*SnapmirrorRelationshipModifyAccepted) IsRedirect

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

IsSuccess returns true when this snapmirror relationship modify accepted response has a 2xx status code

func (*SnapmirrorRelationshipModifyAccepted) String

type SnapmirrorRelationshipModifyDefault

type SnapmirrorRelationshipModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the SnapMirror state | | 13303829 | Invalid state | | 13303830 | Transient state | | 13303831 | Invalid state for async SnapMirror relationship | | 13303834 | Given input valid only for FlexGroup SnapMirror relationship | | 13303835 | Given flag is valid only when PATCH state is broken_off | | 13303836 | Given flag is valid only when PATCH state is snapmirrored or in_sync | | 13303818 | Invalid state transition requested | | 13303828 | Given state change is not possible for SVM SnapMirror relationship | | 13303833 | Requested state change is not possible | | 13303832 | SnapMirror relationship is already initialized | | 13303824 | Quiescing the SnapMirror relationship has failed | | 13303826 | Required environment variables are not set | | 13303827 | Internal Error | | 13303823 | Quiesce operation timed out | | 13303821 | Invalid SnapMirror policy name/UUID | | 13303819 | Could not retrieve SnapMirror policy information | | 13303851 | Cannot modify attributes of SnapMirror restore relationship | | 13303816 | Could not retrieve state or status values | | 13303837 | Given flags are valid only if SnapMirror state change is requested | | 6619546 | Destination must be a dp volume | | 13303808 | Transition to broken_off state failed | | 13303809 | Transition to paused state failed | | 13303810 | Transition to snapmirrored state failed | | 13303811 | Transition from paused state failed | | 13303820 | SnapMirror policy, transfer_schedule, and throttle, if specified were successfully updated, state transition failed | | 13303856 | SVM is not configured with any data protocol | | 13303857 | SVM is not configured with any network interface | | 13303858 | Internal error. Failed to check LIF and protocols details for SVM | | 13303859 | Internal error. SVM Failover operation failed. SVM operational state is unavailable. | | 13303865 | Modifying the specified SnapMirror policy is not supported. | | 13303866 | Cannot use the specified policy to modify the policy of the relationship. | | 13303867 | Modifying the policy of an async-mirror or a vault relationship is not supported. | | 13303884 | LIF and protocols details are configured incorrectly for SVM. | | 13303996 | The source and destination clusters both have a policy with the same name, but they have different properties. | | 13304062 | Cannot reverse the direction of a SnapMirror DP relationship when the source cluster version is earlier than the destination cluster version. | | 13304070 | Remote peer cluster requires the dp_rest_support capability to support reversing the direction of a DP relationship. | | 13304071 | Failed to access capabilities on remote cluster. | | 13304080 | Specified uuid and name do not match. | | 13304081 | Modifying a property during the opertaion is not supported. | | 13304082 | The specified properties are mutually exclusive. | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting the property. | | 13304086 | Reversing the direction of a SnapMirror relationship associated with a policy containing the property create_snapshot_on_source set to false is not supported. | | 6619715 | Modification of relationship is in progress. Retry the command after a few minutes. | | 6619699 | Schedule not found. | | 13304108 | Schedule not found in the Administrative SVM or the SVM for the relationship. | | 13304111 | The SnapMirror active sync relationship consistency groups are nested. Expanding an SnapMirror active sync relationship with a pre-existing DP volume is only supported for flat consistency groups. | | 6621458 | The destination Consistency Group is the source of a SnapMirror Synchronous (SM-S) relationship. Sources of SM-S relationships cannot be the destination of any other SnapMirror relationship. | | 6621782 | A property of the policy is not valid for relationships between these endpoints. | | 13304120 | Values specified for the source.path and destination.path properties do not match the relationship's source.path or destination.path properties.

| 13304003 | IntraCluster flip operation is not supported. | | 6621125 | The policy is not valid for relationships with FlexGroup volume endpoints. Only policies without Snapshot copy creation schedules are supported for these relationships. | | 13304093 | The property specified is not supported for the specified relationships. | | 6622077 | The expand operation has failed on the SnapMirror active sync relationship with specified destination path. |

func NewSnapmirrorRelationshipModifyDefault

func NewSnapmirrorRelationshipModifyDefault(code int) *SnapmirrorRelationshipModifyDefault

NewSnapmirrorRelationshipModifyDefault creates a SnapmirrorRelationshipModifyDefault with default headers values

func (*SnapmirrorRelationshipModifyDefault) Code

Code gets the status code for the snapmirror relationship modify default response

func (*SnapmirrorRelationshipModifyDefault) Error

func (*SnapmirrorRelationshipModifyDefault) GetPayload

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

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

IsSuccess returns true when this snapmirror relationship modify default response has a 2xx status code

func (*SnapmirrorRelationshipModifyDefault) String

type SnapmirrorRelationshipModifyOK

type SnapmirrorRelationshipModifyOK struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipModifyOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipModifyOK

func NewSnapmirrorRelationshipModifyOK() *SnapmirrorRelationshipModifyOK

NewSnapmirrorRelationshipModifyOK creates a SnapmirrorRelationshipModifyOK with default headers values

func (*SnapmirrorRelationshipModifyOK) Code

Code gets the status code for the snapmirror relationship modify o k response

func (*SnapmirrorRelationshipModifyOK) Error

func (*SnapmirrorRelationshipModifyOK) GetPayload

func (*SnapmirrorRelationshipModifyOK) IsClientError

func (o *SnapmirrorRelationshipModifyOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship modify o k response has a 4xx status code

func (*SnapmirrorRelationshipModifyOK) IsCode

func (o *SnapmirrorRelationshipModifyOK) IsCode(code int) bool

IsCode returns true when this snapmirror relationship modify o k response a status code equal to that given

func (*SnapmirrorRelationshipModifyOK) IsRedirect

func (o *SnapmirrorRelationshipModifyOK) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship modify o k response has a 3xx status code

func (*SnapmirrorRelationshipModifyOK) IsServerError

func (o *SnapmirrorRelationshipModifyOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship modify o k response has a 5xx status code

func (*SnapmirrorRelationshipModifyOK) IsSuccess

func (o *SnapmirrorRelationshipModifyOK) IsSuccess() bool

IsSuccess returns true when this snapmirror relationship modify o k response has a 2xx status code

func (*SnapmirrorRelationshipModifyOK) String

type SnapmirrorRelationshipModifyParams

type SnapmirrorRelationshipModifyParams struct {

	/* Failback.

	   If this parameter is set while specifying the state as "snapmirrored", indicates recovery of the failed over SnapMirror relationship by preserving the data written on the destination endpoint when the SnapMirror relationship was in failed over state. This flag is only applicable to SVM-DR SnapMirror relationships.
	*/
	Failback *bool

	/* Failover.

	   If this parameter is set, validation and failover will occur to the SVM-DR SnapMirror relationship destination endpoint. Any other fields specified with this parameter will be ignored. This parameter is supported only for SVM-DR SnapMirror relationships.
	*/
	Failover *bool

	/* Force.

	   If this parameter is set while specifying the state as "broken_off", indicates a forced failover overriding the validation errors.
	*/
	Force *bool

	/* ForceFailover.

	   If this parameter is set, failover will occur to the SVM-DR SnapMirror relationship destination endpoint, overriding the validation errors. Any other fields specified with this parameter will be ignored. This parameter is supported only for SVM-DR SnapMirror relationships.
	*/
	ForceFailover *bool

	/* Info.

	   Information on the SnapMirror relationship.
	*/
	Info *models.SnapmirrorRelationship

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	/* UUID.

	   SnapMirror relationship UUID
	*/
	UUID string

	/* ValidateOnly.

	   Validate the operation and its parameters, without actually performing the operation.
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipModifyParams contains all the parameters to send to the API endpoint

for the snapmirror relationship modify operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipModifyParams

func NewSnapmirrorRelationshipModifyParams() *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParams creates a new SnapmirrorRelationshipModifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipModifyParamsWithContext

func NewSnapmirrorRelationshipModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParamsWithContext creates a new SnapmirrorRelationshipModifyParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipModifyParamsWithHTTPClient

func NewSnapmirrorRelationshipModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParamsWithHTTPClient creates a new SnapmirrorRelationshipModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipModifyParamsWithTimeout

func NewSnapmirrorRelationshipModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParamsWithTimeout creates a new SnapmirrorRelationshipModifyParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipModifyParams) SetContext

SetContext adds the context to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetDefaults

func (o *SnapmirrorRelationshipModifyParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipModifyParams) SetFailback

func (o *SnapmirrorRelationshipModifyParams) SetFailback(failback *bool)

SetFailback adds the failback to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetFailover

func (o *SnapmirrorRelationshipModifyParams) SetFailover(failover *bool)

SetFailover adds the failover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetForce

func (o *SnapmirrorRelationshipModifyParams) SetForce(force *bool)

SetForce adds the force to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetForceFailover

func (o *SnapmirrorRelationshipModifyParams) SetForceFailover(forceFailover *bool)

SetForceFailover adds the forceFailover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetHTTPClient

func (o *SnapmirrorRelationshipModifyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetInfo

SetInfo adds the info to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetReturnTimeout

func (o *SnapmirrorRelationshipModifyParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetTimeout

func (o *SnapmirrorRelationshipModifyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetUUID

func (o *SnapmirrorRelationshipModifyParams) SetUUID(uuid string)

SetUUID adds the uuid to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetValidateOnly

func (o *SnapmirrorRelationshipModifyParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithContext

WithContext adds the context to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipModifyParams) WithFailback

WithFailback adds the failback to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithFailover

WithFailover adds the failover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithForce

WithForce adds the force to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithForceFailover

func (o *SnapmirrorRelationshipModifyParams) WithForceFailover(forceFailover *bool) *SnapmirrorRelationshipModifyParams

WithForceFailover adds the forceFailover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithInfo

WithInfo adds the info to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithReturnTimeout

func (o *SnapmirrorRelationshipModifyParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipModifyParams

WithReturnTimeout adds the returnTimeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithUUID

WithUUID adds the uuid to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithValidateOnly

WithValidateOnly adds the validateOnly to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipModifyReader

type SnapmirrorRelationshipModifyReader struct {
	// contains filtered or unexported fields
}

SnapmirrorRelationshipModifyReader is a Reader for the SnapmirrorRelationshipModify structure.

func (*SnapmirrorRelationshipModifyReader) ReadResponse

func (o *SnapmirrorRelationshipModifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipTransferCreateCreated

type SnapmirrorRelationshipTransferCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string
}

SnapmirrorRelationshipTransferCreateCreated describes a response with status code 201, with default header values.

Created

func NewSnapmirrorRelationshipTransferCreateCreated

func NewSnapmirrorRelationshipTransferCreateCreated() *SnapmirrorRelationshipTransferCreateCreated

NewSnapmirrorRelationshipTransferCreateCreated creates a SnapmirrorRelationshipTransferCreateCreated with default headers values

func (*SnapmirrorRelationshipTransferCreateCreated) Code

Code gets the status code for the snapmirror relationship transfer create created response

func (*SnapmirrorRelationshipTransferCreateCreated) Error

func (*SnapmirrorRelationshipTransferCreateCreated) IsClientError

IsClientError returns true when this snapmirror relationship transfer create created response has a 4xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) IsCode

IsCode returns true when this snapmirror relationship transfer create created response a status code equal to that given

func (*SnapmirrorRelationshipTransferCreateCreated) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer create created response has a 3xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) IsServerError

IsServerError returns true when this snapmirror relationship transfer create created response has a 5xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer create created response has a 2xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) String

type SnapmirrorRelationshipTransferCreateDefault

type SnapmirrorRelationshipTransferCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipTransferCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303845 | Restore operation failed | | 13303812 | Initialize operation failed | | 13303844 | Update operation failed | | 13303846 | Empty source path file list | | 13303847 | Invalid property | | 13304040 | Throttle not supported for update of Synchronous SnapMirror relationships | | 6620237 | SnapMirror relationship database write failed | | 6620238 | SnapMirror relationship database read failed | | 13304134 | The overwrite property specified does not match the value specified in the previous request. ||

func NewSnapmirrorRelationshipTransferCreateDefault

func NewSnapmirrorRelationshipTransferCreateDefault(code int) *SnapmirrorRelationshipTransferCreateDefault

NewSnapmirrorRelationshipTransferCreateDefault creates a SnapmirrorRelationshipTransferCreateDefault with default headers values

func (*SnapmirrorRelationshipTransferCreateDefault) Code

Code gets the status code for the snapmirror relationship transfer create default response

func (*SnapmirrorRelationshipTransferCreateDefault) Error

func (*SnapmirrorRelationshipTransferCreateDefault) GetPayload

func (*SnapmirrorRelationshipTransferCreateDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfer create default response has a 4xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) IsCode

IsCode returns true when this snapmirror relationship transfer create default response a status code equal to that given

func (*SnapmirrorRelationshipTransferCreateDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer create default response has a 3xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfer create default response has a 5xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer create default response has a 2xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) String

type SnapmirrorRelationshipTransferCreateParams

type SnapmirrorRelationshipTransferCreateParams struct {

	/* Info.

	   Information on the SnapMirror transfer
	*/
	Info *models.SnapmirrorTransfer

	/* RelationshipUUID.

	   SnapMirror relationship UUID
	*/
	RelationshipUUID string

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipTransferCreateParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfer create operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransferCreateParams

func NewSnapmirrorRelationshipTransferCreateParams() *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParams creates a new SnapmirrorRelationshipTransferCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransferCreateParamsWithContext

func NewSnapmirrorRelationshipTransferCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParamsWithContext creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient

func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout

func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParamsWithTimeout creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransferCreateParams) SetContext

SetContext adds the context to the snapmirror relationship transfer create params

func (*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

SetInfo adds the info to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetRelationshipUUID

func (o *SnapmirrorRelationshipTransferCreateParams) SetRelationshipUUID(relationshipUUID string)

SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetReturnRecords

func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetReturnTimeout

func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetTimeout

SetTimeout adds the timeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithContext

WithContext adds the context to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithInfo

WithInfo adds the info to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithRelationshipUUID

WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WriteToRequest

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

Code gets the status code for the snapmirror relationship transfer get default response

func (*SnapmirrorRelationshipTransferGetDefault) Error

func (*SnapmirrorRelationshipTransferGetDefault) GetPayload

func (*SnapmirrorRelationshipTransferGetDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfer get default response has a 4xx status code

func (*SnapmirrorRelationshipTransferGetDefault) IsCode

IsCode returns true when this snapmirror relationship transfer get default response a status code equal to that given

func (*SnapmirrorRelationshipTransferGetDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer get default response has a 3xx status code

func (*SnapmirrorRelationshipTransferGetDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfer get default response has a 5xx status code

func (*SnapmirrorRelationshipTransferGetDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer get default response has a 2xx status code

func (*SnapmirrorRelationshipTransferGetDefault) String

type SnapmirrorRelationshipTransferGetOK

type SnapmirrorRelationshipTransferGetOK struct {
	Payload *models.SnapmirrorTransfer
}

SnapmirrorRelationshipTransferGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipTransferGetOK

func NewSnapmirrorRelationshipTransferGetOK() *SnapmirrorRelationshipTransferGetOK

NewSnapmirrorRelationshipTransferGetOK creates a SnapmirrorRelationshipTransferGetOK with default headers values

func (*SnapmirrorRelationshipTransferGetOK) Code

Code gets the status code for the snapmirror relationship transfer get o k response

func (*SnapmirrorRelationshipTransferGetOK) Error

func (*SnapmirrorRelationshipTransferGetOK) GetPayload

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

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

IsSuccess returns true when this snapmirror relationship transfer get o k response has a 2xx status code

func (*SnapmirrorRelationshipTransferGetOK) String

type SnapmirrorRelationshipTransferGetParams

type SnapmirrorRelationshipTransferGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* RelationshipUUID.

	   SnapMirror relationship UUID
	*/
	RelationshipUUID string

	/* UUID.

	   SnapMirror transfer UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipTransferGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfer get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransferGetParams

func NewSnapmirrorRelationshipTransferGetParams() *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParams creates a new SnapmirrorRelationshipTransferGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransferGetParamsWithContext

func NewSnapmirrorRelationshipTransferGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParamsWithContext creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient

func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransferGetParamsWithTimeout

func NewSnapmirrorRelationshipTransferGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParamsWithTimeout creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransferGetParams) SetContext

SetContext adds the context to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetDefaults

func (o *SnapmirrorRelationshipTransferGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship transfer get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferGetParams) SetFields

func (o *SnapmirrorRelationshipTransferGetParams) SetFields(fields []string)

SetFields adds the fields to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetHTTPClient

func (o *SnapmirrorRelationshipTransferGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetRelationshipUUID

func (o *SnapmirrorRelationshipTransferGetParams) SetRelationshipUUID(relationshipUUID string)

SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetTimeout

func (o *SnapmirrorRelationshipTransferGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetUUID

SetUUID adds the uuid to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithContext

WithContext adds the context to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship transfer get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferGetParams) WithFields

WithFields adds the fields to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithRelationshipUUID

WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithUUID

WithUUID adds the uuid to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WriteToRequest

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

Code gets the status code for the snapmirror relationship transfer modify default response

func (*SnapmirrorRelationshipTransferModifyDefault) Error

func (*SnapmirrorRelationshipTransferModifyDefault) GetPayload

func (*SnapmirrorRelationshipTransferModifyDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfer modify default response has a 4xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) IsCode

IsCode returns true when this snapmirror relationship transfer modify default response a status code equal to that given

func (*SnapmirrorRelationshipTransferModifyDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer modify default response has a 3xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfer modify default response has a 5xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer modify default response has a 2xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) String

type SnapmirrorRelationshipTransferModifyOK

type SnapmirrorRelationshipTransferModifyOK struct {
}

SnapmirrorRelationshipTransferModifyOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipTransferModifyOK

func NewSnapmirrorRelationshipTransferModifyOK() *SnapmirrorRelationshipTransferModifyOK

NewSnapmirrorRelationshipTransferModifyOK creates a SnapmirrorRelationshipTransferModifyOK with default headers values

func (*SnapmirrorRelationshipTransferModifyOK) Code

Code gets the status code for the snapmirror relationship transfer modify o k response

func (*SnapmirrorRelationshipTransferModifyOK) Error

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

IsCode returns true when this snapmirror relationship transfer modify o k response a status code equal to that given

func (*SnapmirrorRelationshipTransferModifyOK) IsRedirect

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

IsSuccess returns true when this snapmirror relationship transfer modify o k response has a 2xx status code

func (*SnapmirrorRelationshipTransferModifyOK) String

type SnapmirrorRelationshipTransferModifyParams

type SnapmirrorRelationshipTransferModifyParams struct {

	/* Info.

	   Information on the SnapMirror transfer
	*/
	Info *models.SnapmirrorTransfer

	/* RelationshipUUID.

	   SnapMirror relationship UUID
	*/
	RelationshipUUID string

	/* UUID.

	   SnapMirror transfer UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipTransferModifyParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfer modify operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransferModifyParams

func NewSnapmirrorRelationshipTransferModifyParams() *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParams creates a new SnapmirrorRelationshipTransferModifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransferModifyParamsWithContext

func NewSnapmirrorRelationshipTransferModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParamsWithContext creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient

func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout

func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParamsWithTimeout creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransferModifyParams) SetContext

SetContext adds the context to the snapmirror relationship transfer modify params

func (*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

SetInfo adds the info to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetRelationshipUUID

func (o *SnapmirrorRelationshipTransferModifyParams) SetRelationshipUUID(relationshipUUID string)

SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetTimeout

SetTimeout adds the timeout to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetUUID

SetUUID adds the uuid to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithContext

WithContext adds the context to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithInfo

WithInfo adds the info to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithRelationshipUUID

WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithUUID

WithUUID adds the uuid to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WriteToRequest

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

Code gets the status code for the snapmirror relationship transfers get default response

func (*SnapmirrorRelationshipTransfersGetDefault) Error

func (*SnapmirrorRelationshipTransfersGetDefault) GetPayload

func (*SnapmirrorRelationshipTransfersGetDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfers get default response has a 4xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) IsCode

IsCode returns true when this snapmirror relationship transfers get default response a status code equal to that given

func (*SnapmirrorRelationshipTransfersGetDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfers get default response has a 3xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfers get default response has a 5xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfers get default response has a 2xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) String

type SnapmirrorRelationshipTransfersGetOK

type SnapmirrorRelationshipTransfersGetOK struct {
	Payload *models.SnapmirrorTransferResponse
}

SnapmirrorRelationshipTransfersGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipTransfersGetOK

func NewSnapmirrorRelationshipTransfersGetOK() *SnapmirrorRelationshipTransfersGetOK

NewSnapmirrorRelationshipTransfersGetOK creates a SnapmirrorRelationshipTransfersGetOK with default headers values

func (*SnapmirrorRelationshipTransfersGetOK) Code

Code gets the status code for the snapmirror relationship transfers get o k response

func (*SnapmirrorRelationshipTransfersGetOK) Error

func (*SnapmirrorRelationshipTransfersGetOK) GetPayload

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

IsCode returns true when this snapmirror relationship transfers get o k response a status code equal to that given

func (*SnapmirrorRelationshipTransfersGetOK) IsRedirect

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

IsSuccess returns true when this snapmirror relationship transfers get o k response has a 2xx status code

func (*SnapmirrorRelationshipTransfersGetOK) String

type SnapmirrorRelationshipTransfersGetParams

type SnapmirrorRelationshipTransfersGetParams struct {

	/* BytesTransferred.

	   Filter by bytes_transferred
	*/
	BytesTransferred *int64

	/* CheckpointSize.

	   Filter by checkpoint_size
	*/
	CheckpointSize *int64

	/* EndTime.

	   Filter by end_time
	*/
	EndTime *string

	/* ErrorInfoCode.

	   Filter by error_info.code
	*/
	ErrorInfoCode *int64

	/* ErrorInfoMessage.

	   Filter by error_info.message
	*/
	ErrorInfoMessage *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* LastUpdatedTime.

	   Filter by last_updated_time
	*/
	LastUpdatedTime *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* NetworkCompressionRatio.

	   Filter by network_compression_ratio
	*/
	NetworkCompressionRatio *string

	/* OnDemandAttrs.

	   Filter by on_demand_attrs
	*/
	OnDemandAttrs *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* RelationshipDestinationClusterName.

	   Filter by relationship.destination.cluster.name
	*/
	RelationshipDestinationClusterName *string

	/* RelationshipDestinationClusterUUID.

	   Filter by relationship.destination.cluster.uuid
	*/
	RelationshipDestinationClusterUUID *string

	/* RelationshipDestinationConsistencyGroupVolumesName.

	   Filter by relationship.destination.consistency_group_volumes.name
	*/
	RelationshipDestinationConsistencyGroupVolumesName *string

	/* RelationshipDestinationPath.

	   Filter by relationship.destination.path
	*/
	RelationshipDestinationPath *string

	/* RelationshipDestinationSvmName.

	   Filter by relationship.destination.svm.name
	*/
	RelationshipDestinationSvmName *string

	/* RelationshipDestinationSvmUUID.

	   Filter by relationship.destination.svm.uuid
	*/
	RelationshipDestinationSvmUUID *string

	/* RelationshipRestore.

	   Filter by relationship.restore
	*/
	RelationshipRestore *bool

	/* RelationshipUUID.

	   SnapMirror relationship UUID
	*/
	RelationshipUUID string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Snapshot.

	   Filter by snapshot
	*/
	Snapshot *string

	/* State.

	   Filter by state
	*/
	State *string

	/* Throttle.

	   Filter by throttle
	*/
	Throttle *int64

	/* TotalDuration.

	   Filter by total_duration
	*/
	TotalDuration *string

	/* UUID.

	   Filter by uuid
	*/
	UUID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipTransfersGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfers get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransfersGetParams

func NewSnapmirrorRelationshipTransfersGetParams() *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParams creates a new SnapmirrorRelationshipTransfersGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransfersGetParamsWithContext

func NewSnapmirrorRelationshipTransfersGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParamsWithContext creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient

func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout

func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParamsWithTimeout creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransfersGetParams) SetBytesTransferred

func (o *SnapmirrorRelationshipTransfersGetParams) SetBytesTransferred(bytesTransferred *int64)

SetBytesTransferred adds the bytesTransferred to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetCheckpointSize

func (o *SnapmirrorRelationshipTransfersGetParams) SetCheckpointSize(checkpointSize *int64)

SetCheckpointSize adds the checkpointSize to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetContext

SetContext adds the context to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetDefaults

SetDefaults hydrates default values in the snapmirror relationship transfers get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransfersGetParams) SetEndTime

func (o *SnapmirrorRelationshipTransfersGetParams) SetEndTime(endTime *string)

SetEndTime adds the endTime to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCode

func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCode(errorInfoCode *int64)

SetErrorInfoCode adds the errorInfoCode to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessage

func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessage(errorInfoMessage *string)

SetErrorInfoMessage adds the errorInfoMessage to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetFields

func (o *SnapmirrorRelationshipTransfersGetParams) SetFields(fields []string)

SetFields adds the fields to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetHTTPClient

func (o *SnapmirrorRelationshipTransfersGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetLastUpdatedTime

func (o *SnapmirrorRelationshipTransfersGetParams) SetLastUpdatedTime(lastUpdatedTime *string)

SetLastUpdatedTime adds the lastUpdatedTime to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetMaxRecords

func (o *SnapmirrorRelationshipTransfersGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetNetworkCompressionRatio

func (o *SnapmirrorRelationshipTransfersGetParams) SetNetworkCompressionRatio(networkCompressionRatio *string)

SetNetworkCompressionRatio adds the networkCompressionRatio to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetOnDemandAttrs

func (o *SnapmirrorRelationshipTransfersGetParams) SetOnDemandAttrs(onDemandAttrs *string)

SetOnDemandAttrs adds the onDemandAttrs to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetOrderBy

func (o *SnapmirrorRelationshipTransfersGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterName

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterName(relationshipDestinationClusterName *string)

SetRelationshipDestinationClusterName adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterUUID

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationClusterUUID(relationshipDestinationClusterUUID *string)

SetRelationshipDestinationClusterUUID adds the relationshipDestinationClusterUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationConsistencyGroupVolumesName

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationConsistencyGroupVolumesName(relationshipDestinationConsistencyGroupVolumesName *string)

SetRelationshipDestinationConsistencyGroupVolumesName adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationPath

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationPath(relationshipDestinationPath *string)

SetRelationshipDestinationPath adds the relationshipDestinationPath to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmName

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmName(relationshipDestinationSvmName *string)

SetRelationshipDestinationSvmName adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmUUID

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipDestinationSvmUUID(relationshipDestinationSvmUUID *string)

SetRelationshipDestinationSvmUUID adds the relationshipDestinationSvmUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipRestore

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipRestore(relationshipRestore *bool)

SetRelationshipRestore adds the relationshipRestore to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshipUUID

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshipUUID(relationshipUUID string)

SetRelationshipUUID adds the relationshipUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetReturnRecords

func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetReturnTimeout

func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetSnapshot

func (o *SnapmirrorRelationshipTransfersGetParams) SetSnapshot(snapshot *string)

SetSnapshot adds the snapshot to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetState

SetState adds the state to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetThrottle

func (o *SnapmirrorRelationshipTransfersGetParams) SetThrottle(throttle *int64)

SetThrottle adds the throttle to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetTimeout

SetTimeout adds the timeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetTotalDuration

func (o *SnapmirrorRelationshipTransfersGetParams) SetTotalDuration(totalDuration *string)

SetTotalDuration adds the totalDuration to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetUUID

SetUUID adds the uuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithBytesTransferred

WithBytesTransferred adds the bytesTransferred to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithCheckpointSize

WithCheckpointSize adds the checkpointSize to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithContext

WithContext adds the context to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship transfers get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransfersGetParams) WithEndTime

WithEndTime adds the endTime to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCode

WithErrorInfoCode adds the errorInfoCode to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessage

WithErrorInfoMessage adds the errorInfoMessage to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithFields

WithFields adds the fields to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithLastUpdatedTime

WithLastUpdatedTime adds the lastUpdatedTime to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithNetworkCompressionRatio

func (o *SnapmirrorRelationshipTransfersGetParams) WithNetworkCompressionRatio(networkCompressionRatio *string) *SnapmirrorRelationshipTransfersGetParams

WithNetworkCompressionRatio adds the networkCompressionRatio to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithOnDemandAttrs

WithOnDemandAttrs adds the onDemandAttrs to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterName

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterName(relationshipDestinationClusterName *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipDestinationClusterName adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterUUID

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationClusterUUID(relationshipDestinationClusterUUID *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipDestinationClusterUUID adds the relationshipDestinationClusterUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationConsistencyGroupVolumesName

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationConsistencyGroupVolumesName(relationshipDestinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipDestinationConsistencyGroupVolumesName adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationPath

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationPath(relationshipDestinationPath *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipDestinationPath adds the relationshipDestinationPath to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmName

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmName(relationshipDestinationSvmName *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipDestinationSvmName adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmUUID

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipDestinationSvmUUID(relationshipDestinationSvmUUID *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipDestinationSvmUUID adds the relationshipDestinationSvmUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipRestore

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshipRestore(relationshipRestore *bool) *SnapmirrorRelationshipTransfersGetParams

WithRelationshipRestore adds the relationshipRestore to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshipUUID

WithRelationshipUUID adds the relationshipUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithSnapshot

WithSnapshot adds the snapshot to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithState

WithState adds the state to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithThrottle

WithThrottle adds the throttle to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithTotalDuration

WithTotalDuration adds the totalDuration to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithUUID

WithUUID adds the uuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WriteToRequest

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

Code gets the status code for the snapmirror relationships get default response

func (*SnapmirrorRelationshipsGetDefault) Error

func (*SnapmirrorRelationshipsGetDefault) GetPayload

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

type SnapmirrorRelationshipsGetOK

type SnapmirrorRelationshipsGetOK struct {
	Payload *models.SnapmirrorRelationshipResponse
}

SnapmirrorRelationshipsGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipsGetOK

func NewSnapmirrorRelationshipsGetOK() *SnapmirrorRelationshipsGetOK

NewSnapmirrorRelationshipsGetOK creates a SnapmirrorRelationshipsGetOK with default headers values

func (*SnapmirrorRelationshipsGetOK) Code

Code gets the status code for the snapmirror relationships get o k response

func (*SnapmirrorRelationshipsGetOK) Error

func (*SnapmirrorRelationshipsGetOK) GetPayload

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

type SnapmirrorRelationshipsGetParams

type SnapmirrorRelationshipsGetParams struct {

	/* BackoffLevel.

	   Filter by backoff_level
	*/
	BackoffLevel *string

	/* ConsistencyGroupFailoverErrorArgumentsCode.

	   Filter by consistency_group_failover.error.arguments.code
	*/
	ConsistencyGroupFailoverErrorArgumentsCode *string

	/* ConsistencyGroupFailoverErrorArgumentsMessage.

	   Filter by consistency_group_failover.error.arguments.message
	*/
	ConsistencyGroupFailoverErrorArgumentsMessage *string

	/* ConsistencyGroupFailoverErrorCode.

	   Filter by consistency_group_failover.error.code
	*/
	ConsistencyGroupFailoverErrorCode *string

	/* ConsistencyGroupFailoverErrorMessage.

	   Filter by consistency_group_failover.error.message
	*/
	ConsistencyGroupFailoverErrorMessage *string

	/* ConsistencyGroupFailoverState.

	   Filter by consistency_group_failover.state
	*/
	ConsistencyGroupFailoverState *string

	/* ConsistencyGroupFailoverStatusCode.

	   Filter by consistency_group_failover.status.code
	*/
	ConsistencyGroupFailoverStatusCode *string

	/* ConsistencyGroupFailoverStatusMessage.

	   Filter by consistency_group_failover.status.message
	*/
	ConsistencyGroupFailoverStatusMessage *string

	/* ConsistencyGroupFailoverType.

	   Filter by consistency_group_failover.type
	*/
	ConsistencyGroupFailoverType *string

	/* DestinationClusterName.

	   Filter by destination.cluster.name
	*/
	DestinationClusterName *string

	/* DestinationClusterUUID.

	   Filter by destination.cluster.uuid
	*/
	DestinationClusterUUID *string

	/* DestinationConsistencyGroupVolumesName.

	   Filter by destination.consistency_group_volumes.name
	*/
	DestinationConsistencyGroupVolumesName *string

	/* DestinationPath.

	   Filter by destination.path
	*/
	DestinationPath *string

	/* DestinationSvmName.

	   Filter by destination.svm.name
	*/
	DestinationSvmName *string

	/* DestinationSvmUUID.

	   Filter by destination.svm.uuid
	*/
	DestinationSvmUUID *string

	/* ExportedSnapshot.

	   Filter by exported_snapshot
	*/
	ExportedSnapshot *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* GroupType.

	   Filter by group_type
	*/
	GroupType *string

	/* Healthy.

	   Filter by healthy
	*/
	Healthy *bool

	/* IdentityPreservation.

	   Filter by identity_preservation
	*/
	IdentityPreservation *string

	/* IoServingCopy.

	   Filter by io_serving_copy
	*/
	IoServingCopy *string

	/* LagTime.

	   Filter by lag_time
	*/
	LagTime *string

	/* LastTransferNetworkCompressionRatio.

	   Filter by last_transfer_network_compression_ratio
	*/
	LastTransferNetworkCompressionRatio *string

	/* LastTransferType.

	   Filter by last_transfer_type
	*/
	LastTransferType *string

	/* ListDestinationsOnly.

	   Set to true to show relationships from the source only.
	*/
	ListDestinationsOnly *bool

	/* MasterBiasActivatedSite.

	   Filter by master_bias_activated_site
	*/
	MasterBiasActivatedSite *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* PolicyName.

	   Filter by policy.name
	*/
	PolicyName *string

	/* PolicyType.

	   Filter by policy.type
	*/
	PolicyType *string

	/* PolicyUUID.

	   Filter by policy.uuid
	*/
	PolicyUUID *string

	/* PreferredSite.

	   Filter by preferred_site
	*/
	PreferredSite *string

	/* Restore.

	   Filter by restore
	*/
	Restore *bool

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* SourceClusterName.

	   Filter by source.cluster.name
	*/
	SourceClusterName *string

	/* SourceClusterUUID.

	   Filter by source.cluster.uuid
	*/
	SourceClusterUUID *string

	/* SourceConsistencyGroupVolumesName.

	   Filter by source.consistency_group_volumes.name
	*/
	SourceConsistencyGroupVolumesName *string

	/* SourcePath.

	   Filter by source.path
	*/
	SourcePath *string

	/* SourceSvmName.

	   Filter by source.svm.name
	*/
	SourceSvmName *string

	/* SourceSvmUUID.

	   Filter by source.svm.uuid
	*/
	SourceSvmUUID *string

	/* State.

	   Filter by state
	*/
	State *string

	/* SvmdrVolumesName.

	   Filter by svmdr_volumes.name
	*/
	SvmdrVolumesName *string

	/* Throttle.

	   Filter by throttle
	*/
	Throttle *int64

	/* TotalTransferBytes.

	   Filter by total_transfer_bytes
	*/
	TotalTransferBytes *int64

	/* TotalTransferDuration.

	   Filter by total_transfer_duration
	*/
	TotalTransferDuration *string

	/* TransferBytesTransferred.

	   Filter by transfer.bytes_transferred
	*/
	TransferBytesTransferred *int64

	/* TransferEndTime.

	   Filter by transfer.end_time
	*/
	TransferEndTime *string

	/* TransferLastUpdatedTime.

	   Filter by transfer.last_updated_time
	*/
	TransferLastUpdatedTime *string

	/* TransferState.

	   Filter by transfer.state
	*/
	TransferState *string

	/* TransferTotalDuration.

	   Filter by transfer.total_duration
	*/
	TransferTotalDuration *string

	/* TransferType.

	   Filter by transfer.type
	*/
	TransferType *string

	/* TransferUUID.

	   Filter by transfer.uuid
	*/
	TransferUUID *string

	/* TransferScheduleName.

	   Filter by transfer_schedule.name
	*/
	TransferScheduleName *string

	/* TransferScheduleUUID.

	   Filter by transfer_schedule.uuid
	*/
	TransferScheduleUUID *string

	/* UnhealthyReasonArguments.

	   Filter by unhealthy_reason.arguments
	*/
	UnhealthyReasonArguments *string

	/* UnhealthyReasonCode.

	   Filter by unhealthy_reason.code
	*/
	UnhealthyReasonCode *string

	/* UnhealthyReasonMessage.

	   Filter by unhealthy_reason.message
	*/
	UnhealthyReasonMessage *string

	/* UUID.

	   Filter by uuid
	*/
	UUID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapmirrorRelationshipsGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationships get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipsGetParams

func NewSnapmirrorRelationshipsGetParams() *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParams creates a new SnapmirrorRelationshipsGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipsGetParamsWithContext

func NewSnapmirrorRelationshipsGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParamsWithContext creates a new SnapmirrorRelationshipsGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipsGetParamsWithHTTPClient

func NewSnapmirrorRelationshipsGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParamsWithHTTPClient creates a new SnapmirrorRelationshipsGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipsGetParamsWithTimeout

func NewSnapmirrorRelationshipsGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParamsWithTimeout creates a new SnapmirrorRelationshipsGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipsGetParams) SetBackoffLevel

func (o *SnapmirrorRelationshipsGetParams) SetBackoffLevel(backoffLevel *string)

SetBackoffLevel adds the backoffLevel to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCode

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCode(consistencyGroupFailoverErrorArgumentsCode *string)

SetConsistencyGroupFailoverErrorArgumentsCode adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessage

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessage(consistencyGroupFailoverErrorArgumentsMessage *string)

SetConsistencyGroupFailoverErrorArgumentsMessage adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCode

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCode(consistencyGroupFailoverErrorCode *string)

SetConsistencyGroupFailoverErrorCode adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessage

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessage(consistencyGroupFailoverErrorMessage *string)

SetConsistencyGroupFailoverErrorMessage adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverState

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverState(consistencyGroupFailoverState *string)

SetConsistencyGroupFailoverState adds the consistencyGroupFailoverState to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCode

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCode(consistencyGroupFailoverStatusCode *string)

SetConsistencyGroupFailoverStatusCode adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessage

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessage(consistencyGroupFailoverStatusMessage *string)

SetConsistencyGroupFailoverStatusMessage adds the consistencyGroupFailoverStatusMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverType

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverType(consistencyGroupFailoverType *string)

SetConsistencyGroupFailoverType adds the consistencyGroupFailoverType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetContext

SetContext adds the context to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDefaults

func (o *SnapmirrorRelationshipsGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationships get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterName

func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterName(destinationClusterName *string)

SetDestinationClusterName adds the destinationClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterUUID

func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterUUID(destinationClusterUUID *string)

SetDestinationClusterUUID adds the destinationClusterUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesName

func (o *SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesName(destinationConsistencyGroupVolumesName *string)

SetDestinationConsistencyGroupVolumesName adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationPath

func (o *SnapmirrorRelationshipsGetParams) SetDestinationPath(destinationPath *string)

SetDestinationPath adds the destinationPath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationSvmName

func (o *SnapmirrorRelationshipsGetParams) SetDestinationSvmName(destinationSvmName *string)

SetDestinationSvmName adds the destinationSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationSvmUUID

func (o *SnapmirrorRelationshipsGetParams) SetDestinationSvmUUID(destinationSvmUUID *string)

SetDestinationSvmUUID adds the destinationSvmUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetExportedSnapshot

func (o *SnapmirrorRelationshipsGetParams) SetExportedSnapshot(exportedSnapshot *string)

SetExportedSnapshot adds the exportedSnapshot to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFields

func (o *SnapmirrorRelationshipsGetParams) SetFields(fields []string)

SetFields adds the fields to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetGroupType

func (o *SnapmirrorRelationshipsGetParams) SetGroupType(groupType *string)

SetGroupType adds the groupType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetHTTPClient

func (o *SnapmirrorRelationshipsGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetHealthy

func (o *SnapmirrorRelationshipsGetParams) SetHealthy(healthy *bool)

SetHealthy adds the healthy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetIdentityPreservation

func (o *SnapmirrorRelationshipsGetParams) SetIdentityPreservation(identityPreservation *string)

SetIdentityPreservation adds the identityPreservation to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetIoServingCopy

func (o *SnapmirrorRelationshipsGetParams) SetIoServingCopy(ioServingCopy *string)

SetIoServingCopy adds the ioServingCopy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetLagTime

func (o *SnapmirrorRelationshipsGetParams) SetLagTime(lagTime *string)

SetLagTime adds the lagTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetLastTransferNetworkCompressionRatio

func (o *SnapmirrorRelationshipsGetParams) SetLastTransferNetworkCompressionRatio(lastTransferNetworkCompressionRatio *string)

SetLastTransferNetworkCompressionRatio adds the lastTransferNetworkCompressionRatio to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetLastTransferType

func (o *SnapmirrorRelationshipsGetParams) SetLastTransferType(lastTransferType *string)

SetLastTransferType adds the lastTransferType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetListDestinationsOnly

func (o *SnapmirrorRelationshipsGetParams) SetListDestinationsOnly(listDestinationsOnly *bool)

SetListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetMasterBiasActivatedSite

func (o *SnapmirrorRelationshipsGetParams) SetMasterBiasActivatedSite(masterBiasActivatedSite *string)

SetMasterBiasActivatedSite adds the masterBiasActivatedSite to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetMaxRecords

func (o *SnapmirrorRelationshipsGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetOrderBy

func (o *SnapmirrorRelationshipsGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyName

func (o *SnapmirrorRelationshipsGetParams) SetPolicyName(policyName *string)

SetPolicyName adds the policyName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyType

func (o *SnapmirrorRelationshipsGetParams) SetPolicyType(policyType *string)

SetPolicyType adds the policyType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyUUID

func (o *SnapmirrorRelationshipsGetParams) SetPolicyUUID(policyUUID *string)

SetPolicyUUID adds the policyUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPreferredSite

func (o *SnapmirrorRelationshipsGetParams) SetPreferredSite(preferredSite *string)

SetPreferredSite adds the preferredSite to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetRestore

func (o *SnapmirrorRelationshipsGetParams) SetRestore(restore *bool)

SetRestore adds the restore to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetReturnRecords

func (o *SnapmirrorRelationshipsGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetReturnTimeout

func (o *SnapmirrorRelationshipsGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceClusterName

func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterName(sourceClusterName *string)

SetSourceClusterName adds the sourceClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceClusterUUID

func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterUUID(sourceClusterUUID *string)

SetSourceClusterUUID adds the sourceClusterUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesName

func (o *SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesName(sourceConsistencyGroupVolumesName *string)

SetSourceConsistencyGroupVolumesName adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourcePath

func (o *SnapmirrorRelationshipsGetParams) SetSourcePath(sourcePath *string)

SetSourcePath adds the sourcePath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceSvmName

func (o *SnapmirrorRelationshipsGetParams) SetSourceSvmName(sourceSvmName *string)

SetSourceSvmName adds the sourceSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceSvmUUID

func (o *SnapmirrorRelationshipsGetParams) SetSourceSvmUUID(sourceSvmUUID *string)

SetSourceSvmUUID adds the sourceSvmUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetState

func (o *SnapmirrorRelationshipsGetParams) SetState(state *string)

SetState adds the state to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSvmdrVolumesName

func (o *SnapmirrorRelationshipsGetParams) SetSvmdrVolumesName(svmdrVolumesName *string)

SetSvmdrVolumesName adds the svmdrVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetThrottle

func (o *SnapmirrorRelationshipsGetParams) SetThrottle(throttle *int64)

SetThrottle adds the throttle to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTimeout

func (o *SnapmirrorRelationshipsGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTotalTransferBytes

func (o *SnapmirrorRelationshipsGetParams) SetTotalTransferBytes(totalTransferBytes *int64)

SetTotalTransferBytes adds the totalTransferBytes to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTotalTransferDuration

func (o *SnapmirrorRelationshipsGetParams) SetTotalTransferDuration(totalTransferDuration *string)

SetTotalTransferDuration adds the totalTransferDuration to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferBytesTransferred

func (o *SnapmirrorRelationshipsGetParams) SetTransferBytesTransferred(transferBytesTransferred *int64)

SetTransferBytesTransferred adds the transferBytesTransferred to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferEndTime

func (o *SnapmirrorRelationshipsGetParams) SetTransferEndTime(transferEndTime *string)

SetTransferEndTime adds the transferEndTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferLastUpdatedTime

func (o *SnapmirrorRelationshipsGetParams) SetTransferLastUpdatedTime(transferLastUpdatedTime *string)

SetTransferLastUpdatedTime adds the transferLastUpdatedTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleName

func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleName(transferScheduleName *string)

SetTransferScheduleName adds the transferScheduleName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleUUID

func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleUUID(transferScheduleUUID *string)

SetTransferScheduleUUID adds the transferScheduleUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferState

func (o *SnapmirrorRelationshipsGetParams) SetTransferState(transferState *string)

SetTransferState adds the transferState to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferTotalDuration

func (o *SnapmirrorRelationshipsGetParams) SetTransferTotalDuration(transferTotalDuration *string)

SetTransferTotalDuration adds the transferTotalDuration to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferType

func (o *SnapmirrorRelationshipsGetParams) SetTransferType(transferType *string)

SetTransferType adds the transferType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferUUID

func (o *SnapmirrorRelationshipsGetParams) SetTransferUUID(transferUUID *string)

SetTransferUUID adds the transferUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUUID

func (o *SnapmirrorRelationshipsGetParams) SetUUID(uuid *string)

SetUUID adds the uuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonArguments

func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonArguments(unhealthyReasonArguments *string)

SetUnhealthyReasonArguments adds the unhealthyReasonArguments to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCode

func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCode(unhealthyReasonCode *string)

SetUnhealthyReasonCode adds the unhealthyReasonCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessage

func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessage(unhealthyReasonMessage *string)

SetUnhealthyReasonMessage adds the unhealthyReasonMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithBackoffLevel

func (o *SnapmirrorRelationshipsGetParams) WithBackoffLevel(backoffLevel *string) *SnapmirrorRelationshipsGetParams

WithBackoffLevel adds the backoffLevel to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCode

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCode(consistencyGroupFailoverErrorArgumentsCode *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorArgumentsCode adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessage

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessage(consistencyGroupFailoverErrorArgumentsMessage *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorArgumentsMessage adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCode

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCode(consistencyGroupFailoverErrorCode *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorCode adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessage

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessage(consistencyGroupFailoverErrorMessage *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorMessage adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverState

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverState(consistencyGroupFailoverState *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverState adds the consistencyGroupFailoverState to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCode

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCode(consistencyGroupFailoverStatusCode *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverStatusCode adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessage

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessage(consistencyGroupFailoverStatusMessage *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverStatusMessage adds the consistencyGroupFailoverStatusMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverType

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverType(consistencyGroupFailoverType *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverType adds the consistencyGroupFailoverType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithContext

WithContext adds the context to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationships get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterName

func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterName(destinationClusterName *string) *SnapmirrorRelationshipsGetParams

WithDestinationClusterName adds the destinationClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterUUID

func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterUUID(destinationClusterUUID *string) *SnapmirrorRelationshipsGetParams

WithDestinationClusterUUID adds the destinationClusterUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesName

func (o *SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesName(destinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams

WithDestinationConsistencyGroupVolumesName adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationPath

func (o *SnapmirrorRelationshipsGetParams) WithDestinationPath(destinationPath *string) *SnapmirrorRelationshipsGetParams

WithDestinationPath adds the destinationPath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationSvmName

func (o *SnapmirrorRelationshipsGetParams) WithDestinationSvmName(destinationSvmName *string) *SnapmirrorRelationshipsGetParams

WithDestinationSvmName adds the destinationSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationSvmUUID

func (o *SnapmirrorRelationshipsGetParams) WithDestinationSvmUUID(destinationSvmUUID *string) *SnapmirrorRelationshipsGetParams

WithDestinationSvmUUID adds the destinationSvmUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithExportedSnapshot

func (o *SnapmirrorRelationshipsGetParams) WithExportedSnapshot(exportedSnapshot *string) *SnapmirrorRelationshipsGetParams

WithExportedSnapshot adds the exportedSnapshot to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFields

WithFields adds the fields to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithGroupType

WithGroupType adds the groupType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithHealthy

WithHealthy adds the healthy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithIdentityPreservation

func (o *SnapmirrorRelationshipsGetParams) WithIdentityPreservation(identityPreservation *string) *SnapmirrorRelationshipsGetParams

WithIdentityPreservation adds the identityPreservation to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithIoServingCopy

func (o *SnapmirrorRelationshipsGetParams) WithIoServingCopy(ioServingCopy *string) *SnapmirrorRelationshipsGetParams

WithIoServingCopy adds the ioServingCopy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithLagTime

WithLagTime adds the lagTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithLastTransferNetworkCompressionRatio

func (o *SnapmirrorRelationshipsGetParams) WithLastTransferNetworkCompressionRatio(lastTransferNetworkCompressionRatio *string) *SnapmirrorRelationshipsGetParams

WithLastTransferNetworkCompressionRatio adds the lastTransferNetworkCompressionRatio to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithLastTransferType

func (o *SnapmirrorRelationshipsGetParams) WithLastTransferType(lastTransferType *string) *SnapmirrorRelationshipsGetParams

WithLastTransferType adds the lastTransferType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithListDestinationsOnly

func (o *SnapmirrorRelationshipsGetParams) WithListDestinationsOnly(listDestinationsOnly *bool) *SnapmirrorRelationshipsGetParams

WithListDestinationsOnly adds the listDestinationsOnly to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithMasterBiasActivatedSite

func (o *SnapmirrorRelationshipsGetParams) WithMasterBiasActivatedSite(masterBiasActivatedSite *string) *SnapmirrorRelationshipsGetParams

WithMasterBiasActivatedSite adds the masterBiasActivatedSite to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyName

WithPolicyName adds the policyName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyType

WithPolicyType adds the policyType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyUUID

WithPolicyUUID adds the policyUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPreferredSite

func (o *SnapmirrorRelationshipsGetParams) WithPreferredSite(preferredSite *string) *SnapmirrorRelationshipsGetParams

WithPreferredSite adds the preferredSite to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithRestore

WithRestore adds the restore to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithReturnRecords

func (o *SnapmirrorRelationshipsGetParams) WithReturnRecords(returnRecords *bool) *SnapmirrorRelationshipsGetParams

WithReturnRecords adds the returnRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithReturnTimeout

func (o *SnapmirrorRelationshipsGetParams) WithReturnTimeout(returnTimeout *int64) *SnapmirrorRelationshipsGetParams

WithReturnTimeout adds the returnTimeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceClusterName

func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterName(sourceClusterName *string) *SnapmirrorRelationshipsGetParams

WithSourceClusterName adds the sourceClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceClusterUUID

func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterUUID(sourceClusterUUID *string) *SnapmirrorRelationshipsGetParams

WithSourceClusterUUID adds the sourceClusterUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesName

func (o *SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesName(sourceConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams

WithSourceConsistencyGroupVolumesName adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourcePath

WithSourcePath adds the sourcePath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceSvmName

func (o *SnapmirrorRelationshipsGetParams) WithSourceSvmName(sourceSvmName *string) *SnapmirrorRelationshipsGetParams

WithSourceSvmName adds the sourceSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceSvmUUID

func (o *SnapmirrorRelationshipsGetParams) WithSourceSvmUUID(sourceSvmUUID *string) *SnapmirrorRelationshipsGetParams

WithSourceSvmUUID adds the sourceSvmUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithState

WithState adds the state to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSvmdrVolumesName

func (o *SnapmirrorRelationshipsGetParams) WithSvmdrVolumesName(svmdrVolumesName *string) *SnapmirrorRelationshipsGetParams

WithSvmdrVolumesName adds the svmdrVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithThrottle

WithThrottle adds the throttle to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTotalTransferBytes

func (o *SnapmirrorRelationshipsGetParams) WithTotalTransferBytes(totalTransferBytes *int64) *SnapmirrorRelationshipsGetParams

WithTotalTransferBytes adds the totalTransferBytes to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTotalTransferDuration

func (o *SnapmirrorRelationshipsGetParams) WithTotalTransferDuration(totalTransferDuration *string) *SnapmirrorRelationshipsGetParams

WithTotalTransferDuration adds the totalTransferDuration to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferBytesTransferred

func (o *SnapmirrorRelationshipsGetParams) WithTransferBytesTransferred(transferBytesTransferred *int64) *SnapmirrorRelationshipsGetParams

WithTransferBytesTransferred adds the transferBytesTransferred to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferEndTime

func (o *SnapmirrorRelationshipsGetParams) WithTransferEndTime(transferEndTime *string) *SnapmirrorRelationshipsGetParams

WithTransferEndTime adds the transferEndTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferLastUpdatedTime

func (o *SnapmirrorRelationshipsGetParams) WithTransferLastUpdatedTime(transferLastUpdatedTime *string) *SnapmirrorRelationshipsGetParams

WithTransferLastUpdatedTime adds the transferLastUpdatedTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleName

func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleName(transferScheduleName *string) *SnapmirrorRelationshipsGetParams

WithTransferScheduleName adds the transferScheduleName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleUUID

func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleUUID(transferScheduleUUID *string) *SnapmirrorRelationshipsGetParams

WithTransferScheduleUUID adds the transferScheduleUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferState

func (o *SnapmirrorRelationshipsGetParams) WithTransferState(transferState *string) *SnapmirrorRelationshipsGetParams

WithTransferState adds the transferState to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferTotalDuration

func (o *SnapmirrorRelationshipsGetParams) WithTransferTotalDuration(transferTotalDuration *string) *SnapmirrorRelationshipsGetParams

WithTransferTotalDuration adds the transferTotalDuration to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferType

func (o *SnapmirrorRelationshipsGetParams) WithTransferType(transferType *string) *SnapmirrorRelationshipsGetParams

WithTransferType adds the transferType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferUUID

func (o *SnapmirrorRelationshipsGetParams) WithTransferUUID(transferUUID *string) *SnapmirrorRelationshipsGetParams

WithTransferUUID adds the transferUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUUID

WithUUID adds the uuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonArguments

func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonArguments(unhealthyReasonArguments *string) *SnapmirrorRelationshipsGetParams

WithUnhealthyReasonArguments adds the unhealthyReasonArguments to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCode

func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCode(unhealthyReasonCode *string) *SnapmirrorRelationshipsGetParams

WithUnhealthyReasonCode adds the unhealthyReasonCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessage

func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessage(unhealthyReasonMessage *string) *SnapmirrorRelationshipsGetParams

WithUnhealthyReasonMessage adds the unhealthyReasonMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL