cloud

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationHalJSON

func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)

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

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationHalJSON

func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

Types

type Client

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

Client for 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

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_. * `read_latency_warning_threshold` - Latency threshold to determine when to issue a warning alert EMS for a GET request. ### 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

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

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 may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

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

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

func WithContentType

func WithContentType(mime string) ClientOption

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

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

type ClientService

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.

func NewClientWithBasicAuth

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

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

func NewClientWithBearerToken

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

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

type 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) Code

func (o *CloudTargetCollectionGetOK) Code() int

Code gets the status code for the cloud target collection get o k response

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

	/* ReadLatencyWarningThreshold.

	   Filter by read_latency_warning_threshold
	*/
	ReadLatencyWarningThreshold *int64

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeout *int64

	/* 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) SetReadLatencyWarningThreshold

func (o *CloudTargetCollectionGetParams) SetReadLatencyWarningThreshold(readLatencyWarningThreshold *int64)

SetReadLatencyWarningThreshold adds the readLatencyWarningThreshold 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) WithReadLatencyWarningThreshold

func (o *CloudTargetCollectionGetParams) WithReadLatencyWarningThreshold(readLatencyWarningThreshold *int64) *CloudTargetCollectionGetParams

WithReadLatencyWarningThreshold adds the readLatencyWarningThreshold 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) Code

func (o *CloudTargetCreateAccepted) Code() int

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

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 CloudTargetCreateCreated

type CloudTargetCreateCreated struct {

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

	Payload *models.JobLinkResponse
}

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

Created

func NewCloudTargetCreateCreated

func NewCloudTargetCreateCreated() *CloudTargetCreateCreated

NewCloudTargetCreateCreated creates a CloudTargetCreateCreated with default headers values

func (*CloudTargetCreateCreated) Code

func (o *CloudTargetCreateCreated) Code() int

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

func (*CloudTargetCreateCreated) Error

func (o *CloudTargetCreateCreated) Error() string

func (*CloudTargetCreateCreated) GetPayload

func (*CloudTargetCreateCreated) IsClientError

func (o *CloudTargetCreateCreated) IsClientError() bool

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

func (*CloudTargetCreateCreated) IsCode

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

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

func (*CloudTargetCreateCreated) IsRedirect

func (o *CloudTargetCreateCreated) IsRedirect() bool

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

func (*CloudTargetCreateCreated) IsServerError

func (o *CloudTargetCreateCreated) IsServerError() bool

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

func (*CloudTargetCreateCreated) IsSuccess

func (o *CloudTargetCreateCreated) IsSuccess() bool

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

func (*CloudTargetCreateCreated) String

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

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 786436 | VLDB is not running. | | 786908 | Capability check failed. | | 787015 | \"encryption-key-id\" is not expected when encrypt is false. | | 787016 | An object store configuration with the same combination of server and container name already exists. | | 787020 | Failed to check whether the FabricPool capability exists. | | 787021 | The FabricPool capability is not enabled. | | 787030 | Object store configuration creation is not supported in this cluster. | | 787036 | Server name is invalid. A valid server name must be a fully qualified domain name. | | 787037 | Cannot verify availability of the object store. | | 787038 | Object store provider type requires a FabricPool license. | | 787039 | Failed to retrieve FabricPool capacity license information. | | 787044 | Cannot create object store configuration as the number of object stores in the cluster has reached maximum allowed limit. | | 787054 | An object store configuration with the same combination of server, azure account and container name already exists. | | 787064 | Object store server provider type does not match object store provider type. Use the provider type that matches the server. | | 787065 | Certificate validation must be enabled for the object store provider. | | 787066 | Certificate validation cannot be specified when the \"-is-ssl-enabled\" parameter is false. | | 787068 | Disabling certificate validation requires an effective cluster version of ONTAP 9.4.0 or later. | | 787071 | Object store configuration creation requires an effective cluster version of ONTAP 9.4.0 or later. | | 787082 | Creating an object store configuration requires an effective cluster version of ONTAP 9.5.0 or later. | | 787089 | The object store provider supports the virtual hosted-style, and the specified \"-server\" contains the container name. The container specified in the \"-server\" parameter must be the same as the name of the container specified in the \"-container\" parameter. | | 787133 | Could not retrieve temporary credentials from the CAP server. | | 787134 | Could not retrieve temporary credentials from the CAP server due to an unexpected response. | | 787136 | Specifying \"CAP\" as the \"-auth-type\" requires an effective cluster version of ONTAP 9.5.0 or later. | | 787148 | The clock on node is behind by more than the maximum of 5 minutes. | | 787149 | The clock on node is ahead by more than the maximum of 5 minutes. | | 787158 | An object store configuration with the same combination of server and container name already exists. | | 787159 | An object store configuration with the same name already exists. | | 787179 | One or more clusters in this MetroCluster configuration do not have an effective cluster version of ONTAP 9.7.0 or later. | | 787184 | Using HTTP proxies with FabricPool requires an effective cluster version of ONTAP 9.7.0 or later. | | 787185 | There is no HTTP proxy for IPspace. Refer to the \"vserver http-proxy\" man page for details. | | 787188 | Object store configuration belongs to another cluster and cannot be modified from the local cluster, unless the cluster is in switchover mode. | | 787189 | Object store configuration name must not have the \"-mc\" suffix when the configuration is created for a local cluster. To create an object store configuration which belongs to another cluster, the cluster must be in switchover mode and \"-cluster\" must be specified. | | 787209 | Object store is not accessible from the partner cluster in a MetroCluster configuration. | | 787216 | Cannot perform object store configuration operations on a cluster that is waiting for switchback. | | 787222 | Object store connectivity check failed on partner cluster in MetroCluster configuration. Wait a few minutes, and try the operation again. | | 787223 | Specifying \"GCP_SA\" as the \"-auth-type\" requires an effective cluster version of ONTAP 9.7.0 or later. | | 787227 | Specifying \"Azure_MSI\" as the \"-auth-type\" requires an effective cluster version of ONTAP 9.7 or later. | | 787228 | SSL is required for this configuration. | | 787229 | Cannot perform operation as URL style is not supported with object store provider type. | | 787233 | The hash key for enabling this FabricPool feature is not present on the cluster. | | 787234 | The hash key provided for the node to enable this FabricPool feature is not valid. | | 787254 | The parameter is not supported on this system. | | 787257 | The parameter \"-encryption-context\" is only applicable for AWS object store provider. | | 787262 | The \"create-container\" option is applicable only for an SGWS or ONTAP_S3 object store provider. | | 787301 | ONTAP S3 Bucket is of type NAS and is not supported as a target for FabricPool. | | 787302 | Cannot use HTTP port with \"-is-ssl-enabled\" set to true. | | 787303 | Cannot use HTTPS port with \"-is-ssl-enabled\" set to false. | | 45940761 | Hostname cannot be resolved. Check the spelling of the hostname and check the system DNS availability using the \"vserver services name-service dns check\" command. | | 45940778 | Bucket already exists. | | 139591795 | Object store configuration for S3 SnapMirror representing ONTAP S3 object store provider only supports \\\"*\\\" as the container name. | | 139591796 | Object store configuration name for S3 SnapMirror representing ONTAP S3 object store provider must be of the format \\\"vserver:<destination_vserver_uuid>:<source_vserver_uuid>\\\". | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

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

func (o *CloudTargetDeleteAccepted) Code() int

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

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.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 787013 | Cannot delete object store configuration as the store is attached to one or more aggregates. | | 787014 | Cannot delete object store configuration as there are objects in the store. | | 787078 | Cannot delete object store configuration. | | 787188 | Object store configuration belongs to another cluster and cannot be modified from the local cluster, unless the cluster is in switchover mode. | | 787216 | Cannot perform object store configuration operations on a cluster that is waiting for switchback. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

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 CloudTargetDeleteOK

type CloudTargetDeleteOK struct {
	Payload *models.JobLinkResponse
}

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

OK

func NewCloudTargetDeleteOK

func NewCloudTargetDeleteOK() *CloudTargetDeleteOK

NewCloudTargetDeleteOK creates a CloudTargetDeleteOK with default headers values

func (*CloudTargetDeleteOK) Code

func (o *CloudTargetDeleteOK) Code() int

Code gets the status code for the cloud target delete o k response

func (*CloudTargetDeleteOK) Error

func (o *CloudTargetDeleteOK) Error() string

func (*CloudTargetDeleteOK) GetPayload

func (o *CloudTargetDeleteOK) GetPayload() *models.JobLinkResponse

func (*CloudTargetDeleteOK) IsClientError

func (o *CloudTargetDeleteOK) IsClientError() bool

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

func (*CloudTargetDeleteOK) IsCode

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

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

func (*CloudTargetDeleteOK) IsRedirect

func (o *CloudTargetDeleteOK) IsRedirect() bool

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

func (*CloudTargetDeleteOK) IsServerError

func (o *CloudTargetDeleteOK) IsServerError() bool

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

func (*CloudTargetDeleteOK) IsSuccess

func (o *CloudTargetDeleteOK) IsSuccess() bool

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

func (*CloudTargetDeleteOK) String

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

func (o *CloudTargetGetOK) Code() int

Code gets the status code for the cloud target get o k response

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

func (o *CloudTargetModifyAccepted) Code() int

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

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.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 786436 | VLDB is not running. | | 786908 | Capability check failed. | | 787016 | An object store configuration with the same combination of server and container name already exists. | | 787036 | Server name is invalid. A valid server name must be a fully qualified domain name. | | 787038 | Object store provider type requires a FabricPool license. | | 787039 | Failed to retrieve FabricPool capacity license information. | | 787054 | An object store configuration with the same combination of server, azure account and container name already exists. | | 787064 | Object store server provider type does not match object store provider type. Use the provider type that matches the server. | | 787065 | Certificate validation must be enabled for the object store provider. | | 787066 | Certificate validation cannot be specified when the \"-is-ssl-enabled\" parameter is false. | | 787068 | Disabling certificate validation requires an effective cluster version of ONTAP 9.4.0 or later. | | 787089 | The object store provider supports the virtual hosted-style, and the specified \"-server\" contains the container name. The container specified in the \"-server\" parameter must be the same as the name of the container specified in the \"-container\" parameter. | | 787133 | Could not retrieve temporary credentials from the CAP server. | | 787134 | Could not retrieve temporary credentials from the CAP server due to an unexpected response. | | 787136 | Specifying \"CAP\" as the \"-auth-type\" requires an effective cluster version of ONTAP 9.5.0 or later. | | 787148 | The clock on the node is behind by more than the maximum of 5 minutes. | | 787149 | The clock on the node is ahead by more than the maximum of 5 minutes. | | 787184 | Using HTTP proxies with FabricPool requires an effective cluster version of ONTAP 9.7.0 or later. | | 787185 | There is no HTTP proxy for IPspace. Refer to the \"vserver http-proxy\" man page for details. | | 787188 | Object store configuration belongs to cluster and cannot be modified from the local cluster, unless the cluster is in switchover mode. | | 787209 | Object store is not accessible from the partner cluster in a MetroCluster configuration. | | 787216 | Cannot perform object store configuration operations on a cluster that is waiting for switchback. | | 787223 | Specifying \"GCP_SA\" as the \"-auth-type\" requires an effective cluster version of ONTAP 9.7.0 or later. | | 787227 | Specifying \"Azure_MSI\" as the \"-auth-type\" requires an effective cluster version of ONTAP 9.7 or later. | | 787228 | SSL is required for this configuration. | | 787229 | Cannot perform operation as URL style is not supported with object store provider type. | | 787233 | The hash key for enabling this FabricPool feature is not present on the cluster. | | 787234 | The hash key provided for the node to enable this FabricPool feature is not valid. | | 787254 | The parameter is not supported on this system. | | 787257 | The parameter \"-encryption-context\" is only applicable for AWS object store provider. | | 787301 | ONTAP S3 Bucket is of type NAS and is not supported as a target for FabricPool. | | 787302 | Cannot use HTTP port with \"-is-ssl-enabled\" set to true. | | 787303 | Cannot use HTTPS port with \"-is-ssl-enabled\" set to false. | | 787306 | Object store is not accessible from the partner cluster in a MetroCluster configuration. | | 45940761 | Hostname cannot be resolved. Check the spelling of the hostname and check the system DNS availability using the \"vserver services name-service dns check\" command. | | 45940778 | Bucket already exists. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

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 CloudTargetModifyOK

type CloudTargetModifyOK struct {
	Payload *models.JobLinkResponse
}

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

OK

func NewCloudTargetModifyOK

func NewCloudTargetModifyOK() *CloudTargetModifyOK

NewCloudTargetModifyOK creates a CloudTargetModifyOK with default headers values

func (*CloudTargetModifyOK) Code

func (o *CloudTargetModifyOK) Code() int

Code gets the status code for the cloud target modify o k response

func (*CloudTargetModifyOK) Error

func (o *CloudTargetModifyOK) Error() string

func (*CloudTargetModifyOK) GetPayload

func (o *CloudTargetModifyOK) GetPayload() *models.JobLinkResponse

func (*CloudTargetModifyOK) IsClientError

func (o *CloudTargetModifyOK) IsClientError() bool

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

func (*CloudTargetModifyOK) IsCode

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

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

func (*CloudTargetModifyOK) IsRedirect

func (o *CloudTargetModifyOK) IsRedirect() bool

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

func (*CloudTargetModifyOK) IsServerError

func (o *CloudTargetModifyOK) IsServerError() bool

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

func (*CloudTargetModifyOK) IsSuccess

func (o *CloudTargetModifyOK) IsSuccess() bool

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

func (*CloudTargetModifyOK) String

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