cloud

package
v0.0.0-...-1055df2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 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_. * `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. * `azure_sas_token` - Shared access signature to grant limited access to Azure storage account resources. * `svm.name` or `svm.uuid` - Name or UUID of SVM if `owner` is _snapmirror_. ### 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
	*/
	AccessKey *string

	/* AuthenticationType.

	   Filter by authentication_type
	*/
	AuthenticationType *string

	/* AzureAccount.

	   Filter by azure_account
	*/
	AzureAccount *string

	/* CapURL.

	   Filter by cap_url
	*/
	CapURL *string

	/* CertificateValidationEnabled.

	   Filter by certificate_validation_enabled
	*/
	CertificateValidationEnabled *bool

	/* ClusterName.

	   Filter by cluster.name
	*/
	ClusterName *string

	/* ClusterUUID.

	   Filter by cluster.uuid
	*/
	ClusterUUID *string

	/* Container.

	   Filter by container
	*/
	Container *string

	/* Fields.

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

	/* IpspaceName.

	   Filter by ipspace.name
	*/
	IpspaceName *string

	/* IpspaceUUID.

	   Filter by ipspace.uuid
	*/
	IpspaceUUID *string

	/* MaxRecords.

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

	/* Name.

	   Filter by name
	*/
	Name *string

	/* OrderBy.

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

	/* Owner.

	   Filter by owner
	*/
	Owner *string

	/* Port.

	   Filter by port
	*/
	Port *int64

	/* ProviderType.

	   Filter by provider_type
	*/
	ProviderType *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

	/* Scope.

	   Filter by scope
	*/
	Scope *string

	/* Server.

	   Filter by server
	*/
	Server *string

	/* ServerSideEncryption.

	   Filter by server_side_encryption
	*/
	ServerSideEncryption *string

	/* SnapmirrorUse.

	   Filter by snapmirror_use
	*/
	SnapmirrorUse *string

	/* SslEnabled.

	   Filter by ssl_enabled
	*/
	SslEnabled *bool

	/* SvmName.

	   Filter by svm.name
	*/
	SvmName *string

	/* SvmUUID.

	   Filter by svm.uuid
	*/
	SvmUUID *string

	/* URLStyle.

	   Filter by url_style
	*/
	URLStyle *string

	/* UseHTTPProxy.

	   Filter by use_http_proxy
	*/
	UseHTTPProxy *bool

	/* Used.

	   Filter by used
	*/
	Used *int64

	/* UUID.

	   Filter by uuid
	*/
	UUID *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) SetAccessKey

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

SetAccessKey adds the accessKey to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetAuthenticationType

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

SetAuthenticationType adds the authenticationType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetAzureAccount

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

SetAzureAccount adds the azureAccount to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetCapURL

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

SetCapURL adds the capUrl to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetCertificateValidationEnabled

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

SetCertificateValidationEnabled adds the certificateValidationEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetClusterName

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

SetClusterName adds the clusterName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetClusterUUID

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

SetClusterUUID adds the clusterUuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetContainer

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

SetContainer 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) SetFields

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

SetFields 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) SetIpspaceName

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

SetIpspaceName adds the ipspaceName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetIpspaceUUID

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

SetIpspaceUUID adds the ipspaceUuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetMaxRecords

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

SetMaxRecords adds the maxRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetName

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

SetName adds the name to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetOrderBy

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

SetOrderBy adds the orderBy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetOwner

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

SetOwner adds the owner to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetPort

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

SetPort adds the port to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetProviderType

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

SetProviderType adds the providerType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetReturnRecords

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

SetReturnRecords adds the returnRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetReturnTimeout

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

SetReturnTimeout adds the returnTimeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetScope

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

SetScope adds the scope to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetServer

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

SetServer adds the server to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetServerSideEncryption

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

SetServerSideEncryption adds the serverSideEncryption to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSnapmirrorUse

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

SetSnapmirrorUse adds the snapmirrorUse to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSslEnabled

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

SetSslEnabled adds the sslEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSvmName

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

SetSvmName adds the svmName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetSvmUUID

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

SetSvmUUID adds the svmUuid 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) SetURLStyle

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

SetURLStyle adds the urlStyle to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetUUID

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

SetUUID adds the uuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetUseHTTPProxy

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

SetUseHTTPProxy adds the useHttpProxy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) SetUsed

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

SetUsed adds the used to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithAccessKey

WithAccessKey adds the accessKey to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithAuthenticationType

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

WithAuthenticationType adds the authenticationType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithAzureAccount

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

WithAzureAccount adds the azureAccount to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithCapURL

WithCapURL adds the capURL to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithCertificateValidationEnabled

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

WithCertificateValidationEnabled adds the certificateValidationEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithClusterName

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

WithClusterName adds the clusterName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithClusterUUID

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

WithClusterUUID adds the clusterUUID to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithContainer

WithContainer 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) WithFields

WithFields 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) WithIpspaceName

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

WithIpspaceName adds the ipspaceName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithIpspaceUUID

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

WithIpspaceUUID adds the ipspaceUUID to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithName

WithName adds the name to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithOwner

WithOwner adds the owner to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithPort

WithPort adds the port to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithProviderType

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

WithProviderType adds the providerType to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithReturnRecords

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

WithReturnRecords adds the returnRecords to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithReturnTimeout

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

WithReturnTimeout adds the returnTimeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithScope

WithScope adds the scope to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithServer

WithServer adds the server to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithServerSideEncryption

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

WithServerSideEncryption adds the serverSideEncryption to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSnapmirrorUse

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

WithSnapmirrorUse adds the snapmirrorUse to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSslEnabled

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

WithSslEnabled adds the sslEnabled to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSvmName

WithSvmName adds the svmName to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithSvmUUID

WithSvmUUID adds the svmUUID to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithURLStyle

WithURLStyle adds the uRLStyle to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithUUID

WithUUID adds the uuid to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithUseHTTPProxy

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

WithUseHTTPProxy adds the useHTTPProxy to the cloud target collection get params

func (*CloudTargetCollectionGetParams) WithUsed

WithUsed 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 {

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

	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.
	*/
	CheckOnly *bool

	/* IgnoreWarnings.

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

	/* Info.

	   Info specification
	*/
	Info *models.CloudTarget

	/* 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
}

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) SetCheckOnly

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

SetCheckOnly 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) SetIgnoreWarnings

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

SetIgnoreWarnings 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) SetReturnRecords

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

SetReturnRecords adds the returnRecords to the cloud target create params

func (*CloudTargetCreateParams) SetReturnTimeout

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

SetReturnTimeout 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) WithCheckOnly

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

WithCheckOnly 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) WithIgnoreWarnings

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

WithIgnoreWarnings adds the ignoreWarnings to the cloud target create params

func (*CloudTargetCreateParams) WithInfo

WithInfo adds the info to the cloud target create params

func (*CloudTargetCreateParams) WithReturnRecords

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

WithReturnRecords adds the returnRecords to the cloud target create params

func (*CloudTargetCreateParams) WithReturnTimeout

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

WithReturnTimeout 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.
	*/
	ReturnTimeout *int64

	/* UUID.

	   Cloud target UUID
	*/
	UUID 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) SetReturnTimeout

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

SetReturnTimeout 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) SetUUID

func (o *CloudTargetDeleteParams) SetUUID(uuid string)

SetUUID 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) WithReturnTimeout

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

WithReturnTimeout adds the returnTimeout to the cloud target delete params

func (*CloudTargetDeleteParams) WithTimeout

WithTimeout adds the timeout to the cloud target delete params

func (*CloudTargetDeleteParams) WithUUID

WithUUID 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.
	*/
	Fields []string

	/* UUID.

	   Cloud target UUID
	*/
	UUID 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) SetFields

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

SetFields 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) SetUUID

func (o *CloudTargetGetParams) SetUUID(uuid string)

SetUUID 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) WithFields

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

WithFields 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) WithUUID

WithUUID 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.
	*/
	CheckOnly *bool

	/* IgnoreWarnings.

	   Specifies whether or not warnings should be ignored.
	*/
	IgnoreWarnings *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.
	*/
	ReturnTimeout *int64

	/* UUID.

	   Cloud target UUID
	*/
	UUID 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) SetCheckOnly

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

SetCheckOnly 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) SetIgnoreWarnings

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

SetIgnoreWarnings 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) SetReturnTimeout

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

SetReturnTimeout 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) SetUUID

func (o *CloudTargetModifyParams) SetUUID(uuid string)

SetUUID adds the uuid to the cloud target modify params

func (*CloudTargetModifyParams) WithCheckOnly

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

WithCheckOnly 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) WithIgnoreWarnings

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

WithIgnoreWarnings adds the ignoreWarnings to the cloud target modify params

func (*CloudTargetModifyParams) WithInfo

WithInfo adds the info to the cloud target modify params

func (*CloudTargetModifyParams) WithReturnTimeout

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

WithReturnTimeout adds the returnTimeout to the cloud target modify params

func (*CloudTargetModifyParams) WithTimeout

WithTimeout adds the timeout to the cloud target modify params

func (*CloudTargetModifyParams) WithUUID

WithUUID 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