cloud

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for cloud API

func (*Client) CloudTargetCollectionGet

func (a *Client) CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCollectionGetOK, error)
CloudTargetCollectionGet Retrieves the collection of cloud targets in the cluster.

### Related ONTAP commands * `storage aggregate object-store config show`

func (*Client) CloudTargetCreate

func (a *Client) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCreateAccepted, error)
CloudTargetCreate Creates a cloud target.

### Required properties * `name` - Name for the cloud target. * `owner` - Owner of the target: _fabricpool_, _snapmirror_. * `provider_type` - Type of cloud provider: _AWS_S3_, _Azure_Cloud_, _SGWS_, _IBM_COS_, _AliCloud_, _GoogleCloud_, _ONTAP_S3_. * `server` - Fully qualified domain name of the object store server. Required when `provider_type` is one of the following: _SGWS_, _IBM_COS_, _AliCloud_. * `container` - Data bucket/container name. * `access_key` - Access key ID if `provider_type` is not _Azure_Cloud_ and `authentication_type` is _key_. * `secret_password` - Secret access key if `provider_type` is not _Azure_Cloud_ and `authentication_type` is _key_. * `azure_account` - Azure account if `provider_type` is _Azure_Cloud_. * `azure_private_key` - Azure access key if `provider_type` is _Azure_Cloud_. * `cap_url` - Full URL of the request to a CAP server for retrieving temporary credentials if `authentication_type` is _cap_. * `svm.name` or `svm.uuid` - Name or UUID of SVM if `owner` is _snapmirror_. * `snapmirror_use` - Use of the cloud target if `owner` is _snapmirror_: data, metadata. ### Recommended optional properties * `authentication_type` - Authentication used to access the target: _key_, _cap_, _ec2_iam_, _gcp_sa_, _azure_msi_. * `ssl_enabled` - SSL/HTTPS enabled or disabled. * `port` - Port number of the object store that ONTAP uses when establishing a connection. * `ipspace` - IPspace to use in order to reach the cloud target. * `use_http_proxy` - Use the HTTP proxy when connecting to the object store server. ### Default property values * `authentication_type`

  • _ec2_iam_ - if running in Cloud Volumes ONTAP in AWS
  • _gcp_sa_ - if running in Cloud Volumes ONTAP in GCP
  • _azure_msi_ - if running in Cloud Volumes ONTAP in Azure
  • _key_ - in all other cases.

* `server`

  • _s3.amazonaws.com_ - if `provider_type` is _AWS_S3_
  • _blob.core.windows.net_ - if `provider_type` is _Azure_Cloud_
  • _storage.googleapis.com_ - if `provider_type` is _GoogleCloud_

* `ssl_enabled` - _true_ * `port`

  • _443_ if `ssl_enabled` is _true_
  • _80_ if `ssl_enabled` is _false_ and `provider_type` is not _SGWS_
  • _8084_ if `ssl_enabled` is _false_ and `provider_type` is _SGWS_

* `ipspace` - _Default_ * `certificate_validation_enabled` - _true_ * `ignore_warnings` - _false_ * `check_only` - _false_ * `use_http_proxy` - _false_ * `server_side_encryption`

  • _none_ - if `provider_type` is _ONTAP_S3_
  • _sse_s3_ - if `provider_type` is not _ONTAP_S3_

* `url_style`

  • _path_style_ - if `provider_type` is neither _AWS_S3_ nor _AliCloud_
  • _virtual_hosted_style_ - if `provider_type` is either _AWS_S3 or _AliCloud__

### Related ONTAP commands * `storage aggregate object-store config create`

func (*Client) CloudTargetDelete

func (a *Client) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetDeleteAccepted, error)
CloudTargetDelete Deletes the cloud target specified by the UUID. This request starts a job and returns a link to that job.

### Related ONTAP commands * `storage aggregate object-store config delete`

func (*Client) CloudTargetGet

func (a *Client) CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetGetOK, error)
CloudTargetGet Retrieves the cloud target specified by the UUID.

### Related ONTAP commands * `storage aggregate object-store config show`

func (*Client) CloudTargetModify

func (a *Client) CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetModifyAccepted, error)
CloudTargetModify Updates the cloud target specified by the UUID with the fields in the body. This request starts a job and returns a link to that job.

### Related ONTAP commands * `storage aggregate object-store config modify`

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCollectionGetOK, error)

	CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCreateAccepted, error)

	CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetDeleteAccepted, error)

	CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetGetOK, error)

	CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetModifyAccepted, 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 cloud API client.

type CloudTargetCollectionGetDefault

type CloudTargetCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CloudTargetCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewCloudTargetCollectionGetDefault

func NewCloudTargetCollectionGetDefault(code int) *CloudTargetCollectionGetDefault

NewCloudTargetCollectionGetDefault creates a CloudTargetCollectionGetDefault with default headers values

func (*CloudTargetCollectionGetDefault) Code

Code gets the status code for the cloud target collection get default response

func (*CloudTargetCollectionGetDefault) Error

func (*CloudTargetCollectionGetDefault) GetPayload

func (*CloudTargetCollectionGetDefault) IsClientError

func (o *CloudTargetCollectionGetDefault) IsClientError() bool

IsClientError returns true when this cloud target collection get default response has a 4xx status code

func (*CloudTargetCollectionGetDefault) IsCode

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

IsCode returns true when this cloud target collection get default response a status code equal to that given

func (*CloudTargetCollectionGetDefault) IsRedirect

func (o *CloudTargetCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this cloud target collection get default response has a 3xx status code

func (*CloudTargetCollectionGetDefault) IsServerError

func (o *CloudTargetCollectionGetDefault) IsServerError() bool

IsServerError returns true when this cloud target collection get default response has a 5xx status code

func (*CloudTargetCollectionGetDefault) IsSuccess

func (o *CloudTargetCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this cloud target collection get default response has a 2xx status code

func (*CloudTargetCollectionGetDefault) String

type CloudTargetCollectionGetOK

type CloudTargetCollectionGetOK struct {
	Payload *models.CloudTargetResponse
}

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

OK

func NewCloudTargetCollectionGetOK

func NewCloudTargetCollectionGetOK() *CloudTargetCollectionGetOK

NewCloudTargetCollectionGetOK creates a CloudTargetCollectionGetOK with default headers values

func (*CloudTargetCollectionGetOK) Error

func (*CloudTargetCollectionGetOK) GetPayload

func (*CloudTargetCollectionGetOK) IsClientError

func (o *CloudTargetCollectionGetOK) IsClientError() bool

IsClientError returns true when this cloud target collection get o k response has a 4xx status code

func (*CloudTargetCollectionGetOK) IsCode

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

IsCode returns true when this cloud target collection get o k response a status code equal to that given

func (*CloudTargetCollectionGetOK) IsRedirect

func (o *CloudTargetCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this cloud target collection get o k response has a 3xx status code

func (*CloudTargetCollectionGetOK) IsServerError

func (o *CloudTargetCollectionGetOK) IsServerError() bool

IsServerError returns true when this cloud target collection get o k response has a 5xx status code

func (*CloudTargetCollectionGetOK) IsSuccess

func (o *CloudTargetCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this cloud target collection get o k response has a 2xx status code

func (*CloudTargetCollectionGetOK) String

func (o *CloudTargetCollectionGetOK) String() string

type CloudTargetCollectionGetParams

type CloudTargetCollectionGetParams struct {

	/* AccessKey.

	   Filter by access_key
	*/
	AccessKeyQueryParameter *string

	/* AuthenticationType.

	   Filter by authentication_type
	*/
	AuthenticationTypeQueryParameter *string

	/* AzureAccount.

	   Filter by azure_account
	*/
	AzureAccountQueryParameter *string

	/* CapURL.

	   Filter by cap_url
	*/
	CapURLQueryParameter *string

	/* CertificateValidationEnabled.

	   Filter by certificate_validation_enabled
	*/
	CertificateValidationEnabledQueryParameter *bool

	/* ClusterName.

	   Filter by cluster.name
	*/
	ClusterNameQueryParameter *string

	/* ClusterUUID.

	   Filter by cluster.uuid
	*/
	ClusterUUIDQueryParameter *string

	/* Container.

	   Filter by container
	*/
	ContainerQueryParameter *string

	/* Fields.

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

	/* IpspaceName.

	   Filter by ipspace.name
	*/
	IpspaceNameQueryParameter *string

	/* IpspaceUUID.

	   Filter by ipspace.uuid
	*/
	IpspaceUUIDQueryParameter *string

	/* MaxRecords.

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

	/* Name.

	   Filter by name
	*/
	NameQueryParameter *string

	/* OrderBy.

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

	/* Owner.

	   Filter by owner
	*/
	OwnerQueryParameter *string

	/* Port.

	   Filter by port
	*/
	PortQueryParameter *int64

	/* ProviderType.

	   Filter by provider_type
	*/
	ProviderTypeQueryParameter *string

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* Server.

	   Filter by server
	*/
	ServerQueryParameter *string

	/* ServerSideEncryption.

	   Filter by server_side_encryption
	*/
	ServerSideEncryptionQueryParameter *string

	/* SnapmirrorUse.

	   Filter by snapmirror_use
	*/
	SnapmirrorUseQueryParameter *string

	/* SslEnabled.

	   Filter by ssl_enabled
	*/
	SslEnabledQueryParameter *bool

	/* SvmName.

	   Filter by svm.name
	*/
	SVMNameQueryParameter *string

	/* SvmUUID.

	   Filter by svm.uuid
	*/
	SVMUUIDQueryParameter *string

	/* URLStyle.

	   Filter by url_style
	*/
	URLStyleQueryParameter *string

	/* UseHTTPProxy.

	   Filter by use_http_proxy
	*/
	UseHTTPProxyQueryParameter *bool

	/* Used.

	   Filter by used
	*/
	UsedQueryParameter *int64

	/* UUID.

	   Filter by uuid
	*/
	UUIDQueryParameter *string

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

CloudTargetCollectionGetParams contains all the parameters to send to the API endpoint

for the cloud target collection get operation.

Typically these are written to a http.Request.

func NewCloudTargetCollectionGetParams

func NewCloudTargetCollectionGetParams() *CloudTargetCollectionGetParams

NewCloudTargetCollectionGetParams creates a new CloudTargetCollectionGetParams 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 NewCloudTargetCollectionGetParamsWithContext

func NewCloudTargetCollectionGetParamsWithContext(ctx context.Context) *CloudTargetCollectionGetParams

NewCloudTargetCollectionGetParamsWithContext creates a new CloudTargetCollectionGetParams object with the ability to set a context for a request.

func NewCloudTargetCollectionGetParamsWithHTTPClient

func NewCloudTargetCollectionGetParamsWithHTTPClient(client *http.Client) *CloudTargetCollectionGetParams

NewCloudTargetCollectionGetParamsWithHTTPClient creates a new CloudTargetCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewCloudTargetCollectionGetParamsWithTimeout

func NewCloudTargetCollectionGetParamsWithTimeout(timeout time.Duration) *CloudTargetCollectionGetParams

NewCloudTargetCollectionGetParamsWithTimeout creates a new CloudTargetCollectionGetParams object with the ability to set a timeout on a request.

func (*CloudTargetCollectionGetParams) SetAccessKeyQueryParameter

func (o *CloudTargetCollectionGetParams) SetAccessKeyQueryParameter(accessKey *string)

SetAccessKeyQueryParameter adds the accessKey to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetAuthenticationTypeQueryParameter

func (o *CloudTargetCollectionGetParams) SetAuthenticationTypeQueryParameter(authenticationType *string)

SetAuthenticationTypeQueryParameter adds the authenticationType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetAzureAccountQueryParameter

func (o *CloudTargetCollectionGetParams) SetAzureAccountQueryParameter(azureAccount *string)

SetAzureAccountQueryParameter adds the azureAccount to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetCapURLQueryParameter

func (o *CloudTargetCollectionGetParams) SetCapURLQueryParameter(capURL *string)

SetCapURLQueryParameter adds the capUrl to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetCertificateValidationEnabledQueryParameter

func (o *CloudTargetCollectionGetParams) SetCertificateValidationEnabledQueryParameter(certificateValidationEnabled *bool)

SetCertificateValidationEnabledQueryParameter adds the certificateValidationEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetClusterNameQueryParameter

func (o *CloudTargetCollectionGetParams) SetClusterNameQueryParameter(clusterName *string)

SetClusterNameQueryParameter adds the clusterName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetClusterUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) SetClusterUUIDQueryParameter(clusterUUID *string)

SetClusterUUIDQueryParameter adds the clusterUuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetContainerQueryParameter

func (o *CloudTargetCollectionGetParams) SetContainerQueryParameter(container *string)

SetContainerQueryParameter adds the container to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetContext

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

SetContext adds the context to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetDefaults

func (o *CloudTargetCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the cloud target collection get params (not the query body).

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

func (*CloudTargetCollectionGetParams) SetFieldsQueryParameter

func (o *CloudTargetCollectionGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetIpspaceNameQueryParameter

func (o *CloudTargetCollectionGetParams) SetIpspaceNameQueryParameter(ipspaceName *string)

SetIpspaceNameQueryParameter adds the ipspaceName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetIpspaceUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) SetIpspaceUUIDQueryParameter(ipspaceUUID *string)

SetIpspaceUUIDQueryParameter adds the ipspaceUuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetMaxRecordsQueryParameter

func (o *CloudTargetCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)

SetMaxRecordsQueryParameter adds the maxRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetNameQueryParameter

func (o *CloudTargetCollectionGetParams) SetNameQueryParameter(name *string)

SetNameQueryParameter adds the name to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetOrderByQueryParameter

func (o *CloudTargetCollectionGetParams) SetOrderByQueryParameter(orderBy []string)

SetOrderByQueryParameter adds the orderBy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetOwnerQueryParameter

func (o *CloudTargetCollectionGetParams) SetOwnerQueryParameter(owner *string)

SetOwnerQueryParameter adds the owner to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetPortQueryParameter

func (o *CloudTargetCollectionGetParams) SetPortQueryParameter(port *int64)

SetPortQueryParameter adds the port to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetProviderTypeQueryParameter

func (o *CloudTargetCollectionGetParams) SetProviderTypeQueryParameter(providerType *string)

SetProviderTypeQueryParameter adds the providerType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetReturnRecordsQueryParameter

func (o *CloudTargetCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetReturnTimeoutQueryParameter

func (o *CloudTargetCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSVMNameQueryParameter

func (o *CloudTargetCollectionGetParams) SetSVMNameQueryParameter(svmName *string)

SetSVMNameQueryParameter adds the svmName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSVMUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) SetSVMUUIDQueryParameter(svmUUID *string)

SetSVMUUIDQueryParameter adds the svmUuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetServerQueryParameter

func (o *CloudTargetCollectionGetParams) SetServerQueryParameter(server *string)

SetServerQueryParameter adds the server to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetServerSideEncryptionQueryParameter

func (o *CloudTargetCollectionGetParams) SetServerSideEncryptionQueryParameter(serverSideEncryption *string)

SetServerSideEncryptionQueryParameter adds the serverSideEncryption to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSnapmirrorUseQueryParameter

func (o *CloudTargetCollectionGetParams) SetSnapmirrorUseQueryParameter(snapmirrorUse *string)

SetSnapmirrorUseQueryParameter adds the snapmirrorUse to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSslEnabledQueryParameter

func (o *CloudTargetCollectionGetParams) SetSslEnabledQueryParameter(sslEnabled *bool)

SetSslEnabledQueryParameter adds the sslEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetURLStyleQueryParameter

func (o *CloudTargetCollectionGetParams) SetURLStyleQueryParameter(uRLStyle *string)

SetURLStyleQueryParameter adds the urlStyle to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) SetUUIDQueryParameter(uuid *string)

SetUUIDQueryParameter adds the uuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetUseHTTPProxyQueryParameter

func (o *CloudTargetCollectionGetParams) SetUseHTTPProxyQueryParameter(useHTTPProxy *bool)

SetUseHTTPProxyQueryParameter adds the useHttpProxy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetUsedQueryParameter

func (o *CloudTargetCollectionGetParams) SetUsedQueryParameter(used *int64)

SetUsedQueryParameter adds the used to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithAccessKeyQueryParameter

func (o *CloudTargetCollectionGetParams) WithAccessKeyQueryParameter(accessKey *string) *CloudTargetCollectionGetParams

WithAccessKeyQueryParameter adds the accessKey to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithAuthenticationTypeQueryParameter

func (o *CloudTargetCollectionGetParams) WithAuthenticationTypeQueryParameter(authenticationType *string) *CloudTargetCollectionGetParams

WithAuthenticationTypeQueryParameter adds the authenticationType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithAzureAccountQueryParameter

func (o *CloudTargetCollectionGetParams) WithAzureAccountQueryParameter(azureAccount *string) *CloudTargetCollectionGetParams

WithAzureAccountQueryParameter adds the azureAccount to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithCapURLQueryParameter

func (o *CloudTargetCollectionGetParams) WithCapURLQueryParameter(capURL *string) *CloudTargetCollectionGetParams

WithCapURLQueryParameter adds the capURL to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithCertificateValidationEnabledQueryParameter

func (o *CloudTargetCollectionGetParams) WithCertificateValidationEnabledQueryParameter(certificateValidationEnabled *bool) *CloudTargetCollectionGetParams

WithCertificateValidationEnabledQueryParameter adds the certificateValidationEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithClusterNameQueryParameter

func (o *CloudTargetCollectionGetParams) WithClusterNameQueryParameter(clusterName *string) *CloudTargetCollectionGetParams

WithClusterNameQueryParameter adds the clusterName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithClusterUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) WithClusterUUIDQueryParameter(clusterUUID *string) *CloudTargetCollectionGetParams

WithClusterUUIDQueryParameter adds the clusterUUID to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithContainerQueryParameter

func (o *CloudTargetCollectionGetParams) WithContainerQueryParameter(container *string) *CloudTargetCollectionGetParams

WithContainerQueryParameter adds the container to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithContext

WithContext adds the context to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the cloud target collection get params (not the query body).

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

func (*CloudTargetCollectionGetParams) WithFieldsQueryParameter

func (o *CloudTargetCollectionGetParams) WithFieldsQueryParameter(fields []string) *CloudTargetCollectionGetParams

WithFieldsQueryParameter adds the fields to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithIpspaceNameQueryParameter

func (o *CloudTargetCollectionGetParams) WithIpspaceNameQueryParameter(ipspaceName *string) *CloudTargetCollectionGetParams

WithIpspaceNameQueryParameter adds the ipspaceName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithIpspaceUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) WithIpspaceUUIDQueryParameter(ipspaceUUID *string) *CloudTargetCollectionGetParams

WithIpspaceUUIDQueryParameter adds the ipspaceUUID to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithMaxRecordsQueryParameter

func (o *CloudTargetCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *CloudTargetCollectionGetParams

WithMaxRecordsQueryParameter adds the maxRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithNameQueryParameter

func (o *CloudTargetCollectionGetParams) WithNameQueryParameter(name *string) *CloudTargetCollectionGetParams

WithNameQueryParameter adds the name to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithOrderByQueryParameter

func (o *CloudTargetCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *CloudTargetCollectionGetParams

WithOrderByQueryParameter adds the orderBy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithOwnerQueryParameter

func (o *CloudTargetCollectionGetParams) WithOwnerQueryParameter(owner *string) *CloudTargetCollectionGetParams

WithOwnerQueryParameter adds the owner to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithPortQueryParameter

func (o *CloudTargetCollectionGetParams) WithPortQueryParameter(port *int64) *CloudTargetCollectionGetParams

WithPortQueryParameter adds the port to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithProviderTypeQueryParameter

func (o *CloudTargetCollectionGetParams) WithProviderTypeQueryParameter(providerType *string) *CloudTargetCollectionGetParams

WithProviderTypeQueryParameter adds the providerType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithReturnRecordsQueryParameter

func (o *CloudTargetCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *CloudTargetCollectionGetParams

WithReturnRecordsQueryParameter adds the returnRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithReturnTimeoutQueryParameter

func (o *CloudTargetCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetCollectionGetParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSVMNameQueryParameter

func (o *CloudTargetCollectionGetParams) WithSVMNameQueryParameter(svmName *string) *CloudTargetCollectionGetParams

WithSVMNameQueryParameter adds the svmName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSVMUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *CloudTargetCollectionGetParams

WithSVMUUIDQueryParameter adds the svmUUID to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithServerQueryParameter

func (o *CloudTargetCollectionGetParams) WithServerQueryParameter(server *string) *CloudTargetCollectionGetParams

WithServerQueryParameter adds the server to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithServerSideEncryptionQueryParameter

func (o *CloudTargetCollectionGetParams) WithServerSideEncryptionQueryParameter(serverSideEncryption *string) *CloudTargetCollectionGetParams

WithServerSideEncryptionQueryParameter adds the serverSideEncryption to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSnapmirrorUseQueryParameter

func (o *CloudTargetCollectionGetParams) WithSnapmirrorUseQueryParameter(snapmirrorUse *string) *CloudTargetCollectionGetParams

WithSnapmirrorUseQueryParameter adds the snapmirrorUse to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSslEnabledQueryParameter

func (o *CloudTargetCollectionGetParams) WithSslEnabledQueryParameter(sslEnabled *bool) *CloudTargetCollectionGetParams

WithSslEnabledQueryParameter adds the sslEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithURLStyleQueryParameter

func (o *CloudTargetCollectionGetParams) WithURLStyleQueryParameter(uRLStyle *string) *CloudTargetCollectionGetParams

WithURLStyleQueryParameter adds the uRLStyle to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithUUIDQueryParameter

func (o *CloudTargetCollectionGetParams) WithUUIDQueryParameter(uuid *string) *CloudTargetCollectionGetParams

WithUUIDQueryParameter adds the uuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithUseHTTPProxyQueryParameter

func (o *CloudTargetCollectionGetParams) WithUseHTTPProxyQueryParameter(useHTTPProxy *bool) *CloudTargetCollectionGetParams

WithUseHTTPProxyQueryParameter adds the useHTTPProxy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithUsedQueryParameter

func (o *CloudTargetCollectionGetParams) WithUsedQueryParameter(used *int64) *CloudTargetCollectionGetParams

WithUsedQueryParameter adds the used to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudTargetCollectionGetReader

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

CloudTargetCollectionGetReader is a Reader for the CloudTargetCollectionGet structure.

func (*CloudTargetCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudTargetCreateAccepted

type CloudTargetCreateAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewCloudTargetCreateAccepted

func NewCloudTargetCreateAccepted() *CloudTargetCreateAccepted

NewCloudTargetCreateAccepted creates a CloudTargetCreateAccepted with default headers values

func (*CloudTargetCreateAccepted) Error

func (o *CloudTargetCreateAccepted) Error() string

func (*CloudTargetCreateAccepted) GetPayload

func (*CloudTargetCreateAccepted) IsClientError

func (o *CloudTargetCreateAccepted) IsClientError() bool

IsClientError returns true when this cloud target create accepted response has a 4xx status code

func (*CloudTargetCreateAccepted) IsCode

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

IsCode returns true when this cloud target create accepted response a status code equal to that given

func (*CloudTargetCreateAccepted) IsRedirect

func (o *CloudTargetCreateAccepted) IsRedirect() bool

IsRedirect returns true when this cloud target create accepted response has a 3xx status code

func (*CloudTargetCreateAccepted) IsServerError

func (o *CloudTargetCreateAccepted) IsServerError() bool

IsServerError returns true when this cloud target create accepted response has a 5xx status code

func (*CloudTargetCreateAccepted) IsSuccess

func (o *CloudTargetCreateAccepted) IsSuccess() bool

IsSuccess returns true when this cloud target create accepted response has a 2xx status code

func (*CloudTargetCreateAccepted) String

func (o *CloudTargetCreateAccepted) String() string

type CloudTargetCreateDefault

type CloudTargetCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CloudTargetCreateDefault describes a response with status code -1, with default header values.

Error

func NewCloudTargetCreateDefault

func NewCloudTargetCreateDefault(code int) *CloudTargetCreateDefault

NewCloudTargetCreateDefault creates a CloudTargetCreateDefault with default headers values

func (*CloudTargetCreateDefault) Code

func (o *CloudTargetCreateDefault) Code() int

Code gets the status code for the cloud target create default response

func (*CloudTargetCreateDefault) Error

func (o *CloudTargetCreateDefault) Error() string

func (*CloudTargetCreateDefault) GetPayload

func (*CloudTargetCreateDefault) IsClientError

func (o *CloudTargetCreateDefault) IsClientError() bool

IsClientError returns true when this cloud target create default response has a 4xx status code

func (*CloudTargetCreateDefault) IsCode

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

IsCode returns true when this cloud target create default response a status code equal to that given

func (*CloudTargetCreateDefault) IsRedirect

func (o *CloudTargetCreateDefault) IsRedirect() bool

IsRedirect returns true when this cloud target create default response has a 3xx status code

func (*CloudTargetCreateDefault) IsServerError

func (o *CloudTargetCreateDefault) IsServerError() bool

IsServerError returns true when this cloud target create default response has a 5xx status code

func (*CloudTargetCreateDefault) IsSuccess

func (o *CloudTargetCreateDefault) IsSuccess() bool

IsSuccess returns true when this cloud target create default response has a 2xx status code

func (*CloudTargetCreateDefault) String

func (o *CloudTargetCreateDefault) String() string

type CloudTargetCreateParams

type CloudTargetCreateParams struct {

	/* CheckOnly.

	   Do not create the target configuration, only check that the POST request succeeds.
	*/
	CheckOnlyQueryParameter *bool

	/* IgnoreWarnings.

	   Specifies whether or not warning codes should be ignored.
	*/
	IgnoreWarningsQueryParameter *bool

	/* Info.

	   Info specification
	*/
	Info *models.CloudTarget

	/* ReturnRecords.

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

	/* ReturnTimeout.

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

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

CloudTargetCreateParams contains all the parameters to send to the API endpoint

for the cloud target create operation.

Typically these are written to a http.Request.

func NewCloudTargetCreateParams

func NewCloudTargetCreateParams() *CloudTargetCreateParams

NewCloudTargetCreateParams creates a new CloudTargetCreateParams 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 NewCloudTargetCreateParamsWithContext

func NewCloudTargetCreateParamsWithContext(ctx context.Context) *CloudTargetCreateParams

NewCloudTargetCreateParamsWithContext creates a new CloudTargetCreateParams object with the ability to set a context for a request.

func NewCloudTargetCreateParamsWithHTTPClient

func NewCloudTargetCreateParamsWithHTTPClient(client *http.Client) *CloudTargetCreateParams

NewCloudTargetCreateParamsWithHTTPClient creates a new CloudTargetCreateParams object with the ability to set a custom HTTPClient for a request.

func NewCloudTargetCreateParamsWithTimeout

func NewCloudTargetCreateParamsWithTimeout(timeout time.Duration) *CloudTargetCreateParams

NewCloudTargetCreateParamsWithTimeout creates a new CloudTargetCreateParams object with the ability to set a timeout on a request.

func (*CloudTargetCreateParams) SetCheckOnlyQueryParameter

func (o *CloudTargetCreateParams) SetCheckOnlyQueryParameter(checkOnly *bool)

SetCheckOnlyQueryParameter adds the checkOnly to the cloud target create params

func (*CloudTargetCreateParams) SetContext

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

SetContext adds the context to the cloud target create params

func (*CloudTargetCreateParams) SetDefaults

func (o *CloudTargetCreateParams) SetDefaults()

SetDefaults hydrates default values in the cloud target create params (not the query body).

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

func (*CloudTargetCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud target create params

func (*CloudTargetCreateParams) SetIgnoreWarningsQueryParameter

func (o *CloudTargetCreateParams) SetIgnoreWarningsQueryParameter(ignoreWarnings *bool)

SetIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target create params

func (*CloudTargetCreateParams) SetInfo

func (o *CloudTargetCreateParams) SetInfo(info *models.CloudTarget)

SetInfo adds the info to the cloud target create params

func (*CloudTargetCreateParams) SetReturnRecordsQueryParameter

func (o *CloudTargetCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the cloud target create params

func (*CloudTargetCreateParams) SetReturnTimeoutQueryParameter

func (o *CloudTargetCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target create params

func (*CloudTargetCreateParams) SetTimeout

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

SetTimeout adds the timeout to the cloud target create params

func (*CloudTargetCreateParams) WithCheckOnlyQueryParameter

func (o *CloudTargetCreateParams) WithCheckOnlyQueryParameter(checkOnly *bool) *CloudTargetCreateParams

WithCheckOnlyQueryParameter adds the checkOnly to the cloud target create params

func (*CloudTargetCreateParams) WithContext

WithContext adds the context to the cloud target create params

func (*CloudTargetCreateParams) WithDefaults

WithDefaults hydrates default values in the cloud target create params (not the query body).

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

func (*CloudTargetCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cloud target create params

func (*CloudTargetCreateParams) WithIgnoreWarningsQueryParameter

func (o *CloudTargetCreateParams) WithIgnoreWarningsQueryParameter(ignoreWarnings *bool) *CloudTargetCreateParams

WithIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target create params

func (*CloudTargetCreateParams) WithInfo

WithInfo adds the info to the cloud target create params

func (*CloudTargetCreateParams) WithReturnRecordsQueryParameter

func (o *CloudTargetCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *CloudTargetCreateParams

WithReturnRecordsQueryParameter adds the returnRecords to the cloud target create params

func (*CloudTargetCreateParams) WithReturnTimeoutQueryParameter

func (o *CloudTargetCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetCreateParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target create params

func (*CloudTargetCreateParams) WithTimeout

WithTimeout adds the timeout to the cloud target create params

func (*CloudTargetCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudTargetCreateReader

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

CloudTargetCreateReader is a Reader for the CloudTargetCreate structure.

func (*CloudTargetCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudTargetDeleteAccepted

type CloudTargetDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewCloudTargetDeleteAccepted

func NewCloudTargetDeleteAccepted() *CloudTargetDeleteAccepted

NewCloudTargetDeleteAccepted creates a CloudTargetDeleteAccepted with default headers values

func (*CloudTargetDeleteAccepted) Error

func (o *CloudTargetDeleteAccepted) Error() string

func (*CloudTargetDeleteAccepted) GetPayload

func (*CloudTargetDeleteAccepted) IsClientError

func (o *CloudTargetDeleteAccepted) IsClientError() bool

IsClientError returns true when this cloud target delete accepted response has a 4xx status code

func (*CloudTargetDeleteAccepted) IsCode

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

IsCode returns true when this cloud target delete accepted response a status code equal to that given

func (*CloudTargetDeleteAccepted) IsRedirect

func (o *CloudTargetDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this cloud target delete accepted response has a 3xx status code

func (*CloudTargetDeleteAccepted) IsServerError

func (o *CloudTargetDeleteAccepted) IsServerError() bool

IsServerError returns true when this cloud target delete accepted response has a 5xx status code

func (*CloudTargetDeleteAccepted) IsSuccess

func (o *CloudTargetDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this cloud target delete accepted response has a 2xx status code

func (*CloudTargetDeleteAccepted) String

func (o *CloudTargetDeleteAccepted) String() string

type CloudTargetDeleteDefault

type CloudTargetDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CloudTargetDeleteDefault describes a response with status code -1, with default header values.

Error

func NewCloudTargetDeleteDefault

func NewCloudTargetDeleteDefault(code int) *CloudTargetDeleteDefault

NewCloudTargetDeleteDefault creates a CloudTargetDeleteDefault with default headers values

func (*CloudTargetDeleteDefault) Code

func (o *CloudTargetDeleteDefault) Code() int

Code gets the status code for the cloud target delete default response

func (*CloudTargetDeleteDefault) Error

func (o *CloudTargetDeleteDefault) Error() string

func (*CloudTargetDeleteDefault) GetPayload

func (*CloudTargetDeleteDefault) IsClientError

func (o *CloudTargetDeleteDefault) IsClientError() bool

IsClientError returns true when this cloud target delete default response has a 4xx status code

func (*CloudTargetDeleteDefault) IsCode

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

IsCode returns true when this cloud target delete default response a status code equal to that given

func (*CloudTargetDeleteDefault) IsRedirect

func (o *CloudTargetDeleteDefault) IsRedirect() bool

IsRedirect returns true when this cloud target delete default response has a 3xx status code

func (*CloudTargetDeleteDefault) IsServerError

func (o *CloudTargetDeleteDefault) IsServerError() bool

IsServerError returns true when this cloud target delete default response has a 5xx status code

func (*CloudTargetDeleteDefault) IsSuccess

func (o *CloudTargetDeleteDefault) IsSuccess() bool

IsSuccess returns true when this cloud target delete default response has a 2xx status code

func (*CloudTargetDeleteDefault) String

func (o *CloudTargetDeleteDefault) String() string

type CloudTargetDeleteParams

type CloudTargetDeleteParams struct {

	/* ReturnTimeout.

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

	/* UUID.

	   Cloud target UUID
	*/
	UUIDPathParameter string

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

CloudTargetDeleteParams contains all the parameters to send to the API endpoint

for the cloud target delete operation.

Typically these are written to a http.Request.

func NewCloudTargetDeleteParams

func NewCloudTargetDeleteParams() *CloudTargetDeleteParams

NewCloudTargetDeleteParams creates a new CloudTargetDeleteParams 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 NewCloudTargetDeleteParamsWithContext

func NewCloudTargetDeleteParamsWithContext(ctx context.Context) *CloudTargetDeleteParams

NewCloudTargetDeleteParamsWithContext creates a new CloudTargetDeleteParams object with the ability to set a context for a request.

func NewCloudTargetDeleteParamsWithHTTPClient

func NewCloudTargetDeleteParamsWithHTTPClient(client *http.Client) *CloudTargetDeleteParams

NewCloudTargetDeleteParamsWithHTTPClient creates a new CloudTargetDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewCloudTargetDeleteParamsWithTimeout

func NewCloudTargetDeleteParamsWithTimeout(timeout time.Duration) *CloudTargetDeleteParams

NewCloudTargetDeleteParamsWithTimeout creates a new CloudTargetDeleteParams object with the ability to set a timeout on a request.

func (*CloudTargetDeleteParams) SetContext

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

SetContext adds the context to the cloud target delete params

func (*CloudTargetDeleteParams) SetDefaults

func (o *CloudTargetDeleteParams) SetDefaults()

SetDefaults hydrates default values in the cloud target delete params (not the query body).

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

func (*CloudTargetDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud target delete params

func (*CloudTargetDeleteParams) SetReturnTimeoutQueryParameter

func (o *CloudTargetDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target delete params

func (*CloudTargetDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the cloud target delete params

func (*CloudTargetDeleteParams) SetUUIDPathParameter

func (o *CloudTargetDeleteParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the cloud target delete params

func (*CloudTargetDeleteParams) WithContext

WithContext adds the context to the cloud target delete params

func (*CloudTargetDeleteParams) WithDefaults

WithDefaults hydrates default values in the cloud target delete params (not the query body).

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

func (*CloudTargetDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cloud target delete params

func (*CloudTargetDeleteParams) WithReturnTimeoutQueryParameter

func (o *CloudTargetDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetDeleteParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target delete params

func (*CloudTargetDeleteParams) WithTimeout

WithTimeout adds the timeout to the cloud target delete params

func (*CloudTargetDeleteParams) WithUUIDPathParameter

func (o *CloudTargetDeleteParams) WithUUIDPathParameter(uuid string) *CloudTargetDeleteParams

WithUUIDPathParameter adds the uuid to the cloud target delete params

func (*CloudTargetDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudTargetDeleteReader

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

CloudTargetDeleteReader is a Reader for the CloudTargetDelete structure.

func (*CloudTargetDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudTargetGetDefault

type CloudTargetGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CloudTargetGetDefault describes a response with status code -1, with default header values.

Error

func NewCloudTargetGetDefault

func NewCloudTargetGetDefault(code int) *CloudTargetGetDefault

NewCloudTargetGetDefault creates a CloudTargetGetDefault with default headers values

func (*CloudTargetGetDefault) Code

func (o *CloudTargetGetDefault) Code() int

Code gets the status code for the cloud target get default response

func (*CloudTargetGetDefault) Error

func (o *CloudTargetGetDefault) Error() string

func (*CloudTargetGetDefault) GetPayload

func (o *CloudTargetGetDefault) GetPayload() *models.ErrorResponse

func (*CloudTargetGetDefault) IsClientError

func (o *CloudTargetGetDefault) IsClientError() bool

IsClientError returns true when this cloud target get default response has a 4xx status code

func (*CloudTargetGetDefault) IsCode

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

IsCode returns true when this cloud target get default response a status code equal to that given

func (*CloudTargetGetDefault) IsRedirect

func (o *CloudTargetGetDefault) IsRedirect() bool

IsRedirect returns true when this cloud target get default response has a 3xx status code

func (*CloudTargetGetDefault) IsServerError

func (o *CloudTargetGetDefault) IsServerError() bool

IsServerError returns true when this cloud target get default response has a 5xx status code

func (*CloudTargetGetDefault) IsSuccess

func (o *CloudTargetGetDefault) IsSuccess() bool

IsSuccess returns true when this cloud target get default response has a 2xx status code

func (*CloudTargetGetDefault) String

func (o *CloudTargetGetDefault) String() string

type CloudTargetGetOK

type CloudTargetGetOK struct {
	Payload *models.CloudTarget
}

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

OK

func NewCloudTargetGetOK

func NewCloudTargetGetOK() *CloudTargetGetOK

NewCloudTargetGetOK creates a CloudTargetGetOK with default headers values

func (*CloudTargetGetOK) Error

func (o *CloudTargetGetOK) Error() string

func (*CloudTargetGetOK) GetPayload

func (o *CloudTargetGetOK) GetPayload() *models.CloudTarget

func (*CloudTargetGetOK) IsClientError

func (o *CloudTargetGetOK) IsClientError() bool

IsClientError returns true when this cloud target get o k response has a 4xx status code

func (*CloudTargetGetOK) IsCode

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

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

func (*CloudTargetGetOK) IsRedirect

func (o *CloudTargetGetOK) IsRedirect() bool

IsRedirect returns true when this cloud target get o k response has a 3xx status code

func (*CloudTargetGetOK) IsServerError

func (o *CloudTargetGetOK) IsServerError() bool

IsServerError returns true when this cloud target get o k response has a 5xx status code

func (*CloudTargetGetOK) IsSuccess

func (o *CloudTargetGetOK) IsSuccess() bool

IsSuccess returns true when this cloud target get o k response has a 2xx status code

func (*CloudTargetGetOK) String

func (o *CloudTargetGetOK) String() string

type CloudTargetGetParams

type CloudTargetGetParams struct {

	/* Fields.

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

	/* UUID.

	   Cloud target UUID
	*/
	UUIDPathParameter string

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

CloudTargetGetParams contains all the parameters to send to the API endpoint

for the cloud target get operation.

Typically these are written to a http.Request.

func NewCloudTargetGetParams

func NewCloudTargetGetParams() *CloudTargetGetParams

NewCloudTargetGetParams creates a new CloudTargetGetParams 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 NewCloudTargetGetParamsWithContext

func NewCloudTargetGetParamsWithContext(ctx context.Context) *CloudTargetGetParams

NewCloudTargetGetParamsWithContext creates a new CloudTargetGetParams object with the ability to set a context for a request.

func NewCloudTargetGetParamsWithHTTPClient

func NewCloudTargetGetParamsWithHTTPClient(client *http.Client) *CloudTargetGetParams

NewCloudTargetGetParamsWithHTTPClient creates a new CloudTargetGetParams object with the ability to set a custom HTTPClient for a request.

func NewCloudTargetGetParamsWithTimeout

func NewCloudTargetGetParamsWithTimeout(timeout time.Duration) *CloudTargetGetParams

NewCloudTargetGetParamsWithTimeout creates a new CloudTargetGetParams object with the ability to set a timeout on a request.

func (*CloudTargetGetParams) SetContext

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

SetContext adds the context to the cloud target get params

func (*CloudTargetGetParams) SetDefaults

func (o *CloudTargetGetParams) SetDefaults()

SetDefaults hydrates default values in the cloud target get params (not the query body).

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

func (*CloudTargetGetParams) SetFieldsQueryParameter

func (o *CloudTargetGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the cloud target get params

func (*CloudTargetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud target get params

func (*CloudTargetGetParams) SetTimeout

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

SetTimeout adds the timeout to the cloud target get params

func (*CloudTargetGetParams) SetUUIDPathParameter

func (o *CloudTargetGetParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the cloud target get params

func (*CloudTargetGetParams) WithContext

WithContext adds the context to the cloud target get params

func (*CloudTargetGetParams) WithDefaults

func (o *CloudTargetGetParams) WithDefaults() *CloudTargetGetParams

WithDefaults hydrates default values in the cloud target get params (not the query body).

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

func (*CloudTargetGetParams) WithFieldsQueryParameter

func (o *CloudTargetGetParams) WithFieldsQueryParameter(fields []string) *CloudTargetGetParams

WithFieldsQueryParameter adds the fields to the cloud target get params

func (*CloudTargetGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cloud target get params

func (*CloudTargetGetParams) WithTimeout

func (o *CloudTargetGetParams) WithTimeout(timeout time.Duration) *CloudTargetGetParams

WithTimeout adds the timeout to the cloud target get params

func (*CloudTargetGetParams) WithUUIDPathParameter

func (o *CloudTargetGetParams) WithUUIDPathParameter(uuid string) *CloudTargetGetParams

WithUUIDPathParameter adds the uuid to the cloud target get params

func (*CloudTargetGetParams) WriteToRequest

func (o *CloudTargetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CloudTargetGetReader

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

CloudTargetGetReader is a Reader for the CloudTargetGet structure.

func (*CloudTargetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudTargetModifyAccepted

type CloudTargetModifyAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewCloudTargetModifyAccepted

func NewCloudTargetModifyAccepted() *CloudTargetModifyAccepted

NewCloudTargetModifyAccepted creates a CloudTargetModifyAccepted with default headers values

func (*CloudTargetModifyAccepted) Error

func (o *CloudTargetModifyAccepted) Error() string

func (*CloudTargetModifyAccepted) GetPayload

func (*CloudTargetModifyAccepted) IsClientError

func (o *CloudTargetModifyAccepted) IsClientError() bool

IsClientError returns true when this cloud target modify accepted response has a 4xx status code

func (*CloudTargetModifyAccepted) IsCode

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

IsCode returns true when this cloud target modify accepted response a status code equal to that given

func (*CloudTargetModifyAccepted) IsRedirect

func (o *CloudTargetModifyAccepted) IsRedirect() bool

IsRedirect returns true when this cloud target modify accepted response has a 3xx status code

func (*CloudTargetModifyAccepted) IsServerError

func (o *CloudTargetModifyAccepted) IsServerError() bool

IsServerError returns true when this cloud target modify accepted response has a 5xx status code

func (*CloudTargetModifyAccepted) IsSuccess

func (o *CloudTargetModifyAccepted) IsSuccess() bool

IsSuccess returns true when this cloud target modify accepted response has a 2xx status code

func (*CloudTargetModifyAccepted) String

func (o *CloudTargetModifyAccepted) String() string

type CloudTargetModifyDefault

type CloudTargetModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CloudTargetModifyDefault describes a response with status code -1, with default header values.

Error

func NewCloudTargetModifyDefault

func NewCloudTargetModifyDefault(code int) *CloudTargetModifyDefault

NewCloudTargetModifyDefault creates a CloudTargetModifyDefault with default headers values

func (*CloudTargetModifyDefault) Code

func (o *CloudTargetModifyDefault) Code() int

Code gets the status code for the cloud target modify default response

func (*CloudTargetModifyDefault) Error

func (o *CloudTargetModifyDefault) Error() string

func (*CloudTargetModifyDefault) GetPayload

func (*CloudTargetModifyDefault) IsClientError

func (o *CloudTargetModifyDefault) IsClientError() bool

IsClientError returns true when this cloud target modify default response has a 4xx status code

func (*CloudTargetModifyDefault) IsCode

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

IsCode returns true when this cloud target modify default response a status code equal to that given

func (*CloudTargetModifyDefault) IsRedirect

func (o *CloudTargetModifyDefault) IsRedirect() bool

IsRedirect returns true when this cloud target modify default response has a 3xx status code

func (*CloudTargetModifyDefault) IsServerError

func (o *CloudTargetModifyDefault) IsServerError() bool

IsServerError returns true when this cloud target modify default response has a 5xx status code

func (*CloudTargetModifyDefault) IsSuccess

func (o *CloudTargetModifyDefault) IsSuccess() bool

IsSuccess returns true when this cloud target modify default response has a 2xx status code

func (*CloudTargetModifyDefault) String

func (o *CloudTargetModifyDefault) String() string

type CloudTargetModifyParams

type CloudTargetModifyParams struct {

	/* CheckOnly.

	   Do not modify the configuration, only check that the PATCH request succeeds.
	*/
	CheckOnlyQueryParameter *bool

	/* IgnoreWarnings.

	   Specifies whether or not warnings should be ignored.
	*/
	IgnoreWarningsQueryParameter *bool

	/* Info.

	   Info specification
	*/
	Info *models.CloudTarget

	/* ReturnTimeout.

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

	/* UUID.

	   Cloud target UUID
	*/
	UUIDPathParameter string

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

CloudTargetModifyParams contains all the parameters to send to the API endpoint

for the cloud target modify operation.

Typically these are written to a http.Request.

func NewCloudTargetModifyParams

func NewCloudTargetModifyParams() *CloudTargetModifyParams

NewCloudTargetModifyParams creates a new CloudTargetModifyParams 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 NewCloudTargetModifyParamsWithContext

func NewCloudTargetModifyParamsWithContext(ctx context.Context) *CloudTargetModifyParams

NewCloudTargetModifyParamsWithContext creates a new CloudTargetModifyParams object with the ability to set a context for a request.

func NewCloudTargetModifyParamsWithHTTPClient

func NewCloudTargetModifyParamsWithHTTPClient(client *http.Client) *CloudTargetModifyParams

NewCloudTargetModifyParamsWithHTTPClient creates a new CloudTargetModifyParams object with the ability to set a custom HTTPClient for a request.

func NewCloudTargetModifyParamsWithTimeout

func NewCloudTargetModifyParamsWithTimeout(timeout time.Duration) *CloudTargetModifyParams

NewCloudTargetModifyParamsWithTimeout creates a new CloudTargetModifyParams object with the ability to set a timeout on a request.

func (*CloudTargetModifyParams) SetCheckOnlyQueryParameter

func (o *CloudTargetModifyParams) SetCheckOnlyQueryParameter(checkOnly *bool)

SetCheckOnlyQueryParameter adds the checkOnly to the cloud target modify params

func (*CloudTargetModifyParams) SetContext

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

SetContext adds the context to the cloud target modify params

func (*CloudTargetModifyParams) SetDefaults

func (o *CloudTargetModifyParams) SetDefaults()

SetDefaults hydrates default values in the cloud target modify params (not the query body).

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

func (*CloudTargetModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud target modify params

func (*CloudTargetModifyParams) SetIgnoreWarningsQueryParameter

func (o *CloudTargetModifyParams) SetIgnoreWarningsQueryParameter(ignoreWarnings *bool)

SetIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target modify params

func (*CloudTargetModifyParams) SetInfo

func (o *CloudTargetModifyParams) SetInfo(info *models.CloudTarget)

SetInfo adds the info to the cloud target modify params

func (*CloudTargetModifyParams) SetReturnTimeoutQueryParameter

func (o *CloudTargetModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target modify params

func (*CloudTargetModifyParams) SetTimeout

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

SetTimeout adds the timeout to the cloud target modify params

func (*CloudTargetModifyParams) SetUUIDPathParameter

func (o *CloudTargetModifyParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the cloud target modify params

func (*CloudTargetModifyParams) WithCheckOnlyQueryParameter

func (o *CloudTargetModifyParams) WithCheckOnlyQueryParameter(checkOnly *bool) *CloudTargetModifyParams

WithCheckOnlyQueryParameter adds the checkOnly to the cloud target modify params

func (*CloudTargetModifyParams) WithContext

WithContext adds the context to the cloud target modify params

func (*CloudTargetModifyParams) WithDefaults

WithDefaults hydrates default values in the cloud target modify params (not the query body).

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

func (*CloudTargetModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cloud target modify params

func (*CloudTargetModifyParams) WithIgnoreWarningsQueryParameter

func (o *CloudTargetModifyParams) WithIgnoreWarningsQueryParameter(ignoreWarnings *bool) *CloudTargetModifyParams

WithIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target modify params

func (*CloudTargetModifyParams) WithInfo

WithInfo adds the info to the cloud target modify params

func (*CloudTargetModifyParams) WithReturnTimeoutQueryParameter

func (o *CloudTargetModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetModifyParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target modify params

func (*CloudTargetModifyParams) WithTimeout

WithTimeout adds the timeout to the cloud target modify params

func (*CloudTargetModifyParams) WithUUIDPathParameter

func (o *CloudTargetModifyParams) WithUUIDPathParameter(uuid string) *CloudTargetModifyParams

WithUUIDPathParameter adds the uuid to the cloud target modify params

func (*CloudTargetModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudTargetModifyReader

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

CloudTargetModifyReader is a Reader for the CloudTargetModify structure.

func (*CloudTargetModifyReader) ReadResponse

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