Documentation ¶
Index ¶
- type Client
- func (a *Client) CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetCollectionGetOK, error)
- func (a *Client) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetCreateAccepted, error)
- func (a *Client) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetDeleteAccepted, error)
- func (a *Client) CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetGetOK, error)
- func (a *Client) CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetModifyAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CloudTargetCollectionGetDefault
- func (o *CloudTargetCollectionGetDefault) Code() int
- func (o *CloudTargetCollectionGetDefault) Error() string
- func (o *CloudTargetCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *CloudTargetCollectionGetDefault) IsClientError() bool
- func (o *CloudTargetCollectionGetDefault) IsCode(code int) bool
- func (o *CloudTargetCollectionGetDefault) IsRedirect() bool
- func (o *CloudTargetCollectionGetDefault) IsServerError() bool
- func (o *CloudTargetCollectionGetDefault) IsSuccess() bool
- func (o *CloudTargetCollectionGetDefault) String() string
- type CloudTargetCollectionGetOK
- func (o *CloudTargetCollectionGetOK) Error() string
- func (o *CloudTargetCollectionGetOK) GetPayload() *models.CloudTargetResponse
- func (o *CloudTargetCollectionGetOK) IsClientError() bool
- func (o *CloudTargetCollectionGetOK) IsCode(code int) bool
- func (o *CloudTargetCollectionGetOK) IsRedirect() bool
- func (o *CloudTargetCollectionGetOK) IsServerError() bool
- func (o *CloudTargetCollectionGetOK) IsSuccess() bool
- func (o *CloudTargetCollectionGetOK) String() string
- type CloudTargetCollectionGetParams
- func NewCloudTargetCollectionGetParams() *CloudTargetCollectionGetParams
- func NewCloudTargetCollectionGetParamsWithContext(ctx context.Context) *CloudTargetCollectionGetParams
- func NewCloudTargetCollectionGetParamsWithHTTPClient(client *http.Client) *CloudTargetCollectionGetParams
- func NewCloudTargetCollectionGetParamsWithTimeout(timeout time.Duration) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) SetAccessKeyQueryParameter(accessKey *string)
- func (o *CloudTargetCollectionGetParams) SetAuthenticationTypeQueryParameter(authenticationType *string)
- func (o *CloudTargetCollectionGetParams) SetAzureAccountQueryParameter(azureAccount *string)
- func (o *CloudTargetCollectionGetParams) SetCapURLQueryParameter(capURL *string)
- func (o *CloudTargetCollectionGetParams) SetCertificateValidationEnabledQueryParameter(certificateValidationEnabled *bool)
- func (o *CloudTargetCollectionGetParams) SetClusterNameQueryParameter(clusterName *string)
- func (o *CloudTargetCollectionGetParams) SetClusterUUIDQueryParameter(clusterUUID *string)
- func (o *CloudTargetCollectionGetParams) SetContainerQueryParameter(container *string)
- func (o *CloudTargetCollectionGetParams) SetContext(ctx context.Context)
- func (o *CloudTargetCollectionGetParams) SetDefaults()
- func (o *CloudTargetCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *CloudTargetCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetCollectionGetParams) SetIpspaceNameQueryParameter(ipspaceName *string)
- func (o *CloudTargetCollectionGetParams) SetIpspaceUUIDQueryParameter(ipspaceUUID *string)
- func (o *CloudTargetCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *CloudTargetCollectionGetParams) SetNameQueryParameter(name *string)
- func (o *CloudTargetCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *CloudTargetCollectionGetParams) SetOwnerQueryParameter(owner *string)
- func (o *CloudTargetCollectionGetParams) SetPortQueryParameter(port *int64)
- func (o *CloudTargetCollectionGetParams) SetProviderTypeQueryParameter(providerType *string)
- func (o *CloudTargetCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *CloudTargetCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *CloudTargetCollectionGetParams) SetSVMNameQueryParameter(svmName *string)
- func (o *CloudTargetCollectionGetParams) SetSVMUUIDQueryParameter(svmUUID *string)
- func (o *CloudTargetCollectionGetParams) SetServerQueryParameter(server *string)
- func (o *CloudTargetCollectionGetParams) SetServerSideEncryptionQueryParameter(serverSideEncryption *string)
- func (o *CloudTargetCollectionGetParams) SetSnapmirrorUseQueryParameter(snapmirrorUse *string)
- func (o *CloudTargetCollectionGetParams) SetSslEnabledQueryParameter(sslEnabled *bool)
- func (o *CloudTargetCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetCollectionGetParams) SetURLStyleQueryParameter(uRLStyle *string)
- func (o *CloudTargetCollectionGetParams) SetUUIDQueryParameter(uuid *string)
- func (o *CloudTargetCollectionGetParams) SetUseHTTPProxyQueryParameter(useHTTPProxy *bool)
- func (o *CloudTargetCollectionGetParams) SetUsedQueryParameter(used *int64)
- func (o *CloudTargetCollectionGetParams) WithAccessKeyQueryParameter(accessKey *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithAuthenticationTypeQueryParameter(authenticationType *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithAzureAccountQueryParameter(azureAccount *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithCapURLQueryParameter(capURL *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithCertificateValidationEnabledQueryParameter(certificateValidationEnabled *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithClusterNameQueryParameter(clusterName *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithClusterUUIDQueryParameter(clusterUUID *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithContainerQueryParameter(container *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithContext(ctx context.Context) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithDefaults() *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithFieldsQueryParameter(fields []string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithHTTPClient(client *http.Client) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithIpspaceNameQueryParameter(ipspaceName *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithIpspaceUUIDQueryParameter(ipspaceUUID *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithNameQueryParameter(name *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithOwnerQueryParameter(owner *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithPortQueryParameter(port *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithProviderTypeQueryParameter(providerType *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSVMNameQueryParameter(svmName *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithServerQueryParameter(server *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithServerSideEncryptionQueryParameter(serverSideEncryption *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSnapmirrorUseQueryParameter(snapmirrorUse *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSslEnabledQueryParameter(sslEnabled *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithTimeout(timeout time.Duration) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithURLStyleQueryParameter(uRLStyle *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithUUIDQueryParameter(uuid *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithUseHTTPProxyQueryParameter(useHTTPProxy *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithUsedQueryParameter(used *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetCollectionGetReader
- type CloudTargetCreateAccepted
- func (o *CloudTargetCreateAccepted) Error() string
- func (o *CloudTargetCreateAccepted) GetPayload() *models.JobLinkResponse
- func (o *CloudTargetCreateAccepted) IsClientError() bool
- func (o *CloudTargetCreateAccepted) IsCode(code int) bool
- func (o *CloudTargetCreateAccepted) IsRedirect() bool
- func (o *CloudTargetCreateAccepted) IsServerError() bool
- func (o *CloudTargetCreateAccepted) IsSuccess() bool
- func (o *CloudTargetCreateAccepted) String() string
- type CloudTargetCreateDefault
- func (o *CloudTargetCreateDefault) Code() int
- func (o *CloudTargetCreateDefault) Error() string
- func (o *CloudTargetCreateDefault) GetPayload() *models.ErrorResponse
- func (o *CloudTargetCreateDefault) IsClientError() bool
- func (o *CloudTargetCreateDefault) IsCode(code int) bool
- func (o *CloudTargetCreateDefault) IsRedirect() bool
- func (o *CloudTargetCreateDefault) IsServerError() bool
- func (o *CloudTargetCreateDefault) IsSuccess() bool
- func (o *CloudTargetCreateDefault) String() string
- type CloudTargetCreateParams
- func NewCloudTargetCreateParams() *CloudTargetCreateParams
- func NewCloudTargetCreateParamsWithContext(ctx context.Context) *CloudTargetCreateParams
- func NewCloudTargetCreateParamsWithHTTPClient(client *http.Client) *CloudTargetCreateParams
- func NewCloudTargetCreateParamsWithTimeout(timeout time.Duration) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) SetCheckOnlyQueryParameter(checkOnly *bool)
- func (o *CloudTargetCreateParams) SetContext(ctx context.Context)
- func (o *CloudTargetCreateParams) SetDefaults()
- func (o *CloudTargetCreateParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetCreateParams) SetIgnoreWarningsQueryParameter(ignoreWarnings *bool)
- func (o *CloudTargetCreateParams) SetInfo(info *models.CloudTarget)
- func (o *CloudTargetCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *CloudTargetCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *CloudTargetCreateParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetCreateParams) WithCheckOnlyQueryParameter(checkOnly *bool) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithContext(ctx context.Context) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithDefaults() *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithHTTPClient(client *http.Client) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithIgnoreWarningsQueryParameter(ignoreWarnings *bool) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithInfo(info *models.CloudTarget) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithTimeout(timeout time.Duration) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetCreateReader
- type CloudTargetDeleteAccepted
- func (o *CloudTargetDeleteAccepted) Error() string
- func (o *CloudTargetDeleteAccepted) GetPayload() *models.JobLinkResponse
- func (o *CloudTargetDeleteAccepted) IsClientError() bool
- func (o *CloudTargetDeleteAccepted) IsCode(code int) bool
- func (o *CloudTargetDeleteAccepted) IsRedirect() bool
- func (o *CloudTargetDeleteAccepted) IsServerError() bool
- func (o *CloudTargetDeleteAccepted) IsSuccess() bool
- func (o *CloudTargetDeleteAccepted) String() string
- type CloudTargetDeleteDefault
- func (o *CloudTargetDeleteDefault) Code() int
- func (o *CloudTargetDeleteDefault) Error() string
- func (o *CloudTargetDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *CloudTargetDeleteDefault) IsClientError() bool
- func (o *CloudTargetDeleteDefault) IsCode(code int) bool
- func (o *CloudTargetDeleteDefault) IsRedirect() bool
- func (o *CloudTargetDeleteDefault) IsServerError() bool
- func (o *CloudTargetDeleteDefault) IsSuccess() bool
- func (o *CloudTargetDeleteDefault) String() string
- type CloudTargetDeleteParams
- func NewCloudTargetDeleteParams() *CloudTargetDeleteParams
- func NewCloudTargetDeleteParamsWithContext(ctx context.Context) *CloudTargetDeleteParams
- func NewCloudTargetDeleteParamsWithHTTPClient(client *http.Client) *CloudTargetDeleteParams
- func NewCloudTargetDeleteParamsWithTimeout(timeout time.Duration) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) SetContext(ctx context.Context)
- func (o *CloudTargetDeleteParams) SetDefaults()
- func (o *CloudTargetDeleteParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *CloudTargetDeleteParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetDeleteParams) SetUUIDPathParameter(uuid string)
- func (o *CloudTargetDeleteParams) WithContext(ctx context.Context) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithDefaults() *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithHTTPClient(client *http.Client) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithTimeout(timeout time.Duration) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithUUIDPathParameter(uuid string) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetDeleteReader
- type CloudTargetGetDefault
- func (o *CloudTargetGetDefault) Code() int
- func (o *CloudTargetGetDefault) Error() string
- func (o *CloudTargetGetDefault) GetPayload() *models.ErrorResponse
- func (o *CloudTargetGetDefault) IsClientError() bool
- func (o *CloudTargetGetDefault) IsCode(code int) bool
- func (o *CloudTargetGetDefault) IsRedirect() bool
- func (o *CloudTargetGetDefault) IsServerError() bool
- func (o *CloudTargetGetDefault) IsSuccess() bool
- func (o *CloudTargetGetDefault) String() string
- type CloudTargetGetOK
- func (o *CloudTargetGetOK) Error() string
- func (o *CloudTargetGetOK) GetPayload() *models.CloudTarget
- func (o *CloudTargetGetOK) IsClientError() bool
- func (o *CloudTargetGetOK) IsCode(code int) bool
- func (o *CloudTargetGetOK) IsRedirect() bool
- func (o *CloudTargetGetOK) IsServerError() bool
- func (o *CloudTargetGetOK) IsSuccess() bool
- func (o *CloudTargetGetOK) String() string
- type CloudTargetGetParams
- func NewCloudTargetGetParams() *CloudTargetGetParams
- func NewCloudTargetGetParamsWithContext(ctx context.Context) *CloudTargetGetParams
- func NewCloudTargetGetParamsWithHTTPClient(client *http.Client) *CloudTargetGetParams
- func NewCloudTargetGetParamsWithTimeout(timeout time.Duration) *CloudTargetGetParams
- func (o *CloudTargetGetParams) SetContext(ctx context.Context)
- func (o *CloudTargetGetParams) SetDefaults()
- func (o *CloudTargetGetParams) SetFieldsQueryParameter(fields []string)
- func (o *CloudTargetGetParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetGetParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetGetParams) SetUUIDPathParameter(uuid string)
- func (o *CloudTargetGetParams) WithContext(ctx context.Context) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithDefaults() *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithFieldsQueryParameter(fields []string) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithHTTPClient(client *http.Client) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithTimeout(timeout time.Duration) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithUUIDPathParameter(uuid string) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetGetReader
- type CloudTargetModifyAccepted
- func (o *CloudTargetModifyAccepted) Error() string
- func (o *CloudTargetModifyAccepted) GetPayload() *models.JobLinkResponse
- func (o *CloudTargetModifyAccepted) IsClientError() bool
- func (o *CloudTargetModifyAccepted) IsCode(code int) bool
- func (o *CloudTargetModifyAccepted) IsRedirect() bool
- func (o *CloudTargetModifyAccepted) IsServerError() bool
- func (o *CloudTargetModifyAccepted) IsSuccess() bool
- func (o *CloudTargetModifyAccepted) String() string
- type CloudTargetModifyDefault
- func (o *CloudTargetModifyDefault) Code() int
- func (o *CloudTargetModifyDefault) Error() string
- func (o *CloudTargetModifyDefault) GetPayload() *models.ErrorResponse
- func (o *CloudTargetModifyDefault) IsClientError() bool
- func (o *CloudTargetModifyDefault) IsCode(code int) bool
- func (o *CloudTargetModifyDefault) IsRedirect() bool
- func (o *CloudTargetModifyDefault) IsServerError() bool
- func (o *CloudTargetModifyDefault) IsSuccess() bool
- func (o *CloudTargetModifyDefault) String() string
- type CloudTargetModifyParams
- func NewCloudTargetModifyParams() *CloudTargetModifyParams
- func NewCloudTargetModifyParamsWithContext(ctx context.Context) *CloudTargetModifyParams
- func NewCloudTargetModifyParamsWithHTTPClient(client *http.Client) *CloudTargetModifyParams
- func NewCloudTargetModifyParamsWithTimeout(timeout time.Duration) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) SetCheckOnlyQueryParameter(checkOnly *bool)
- func (o *CloudTargetModifyParams) SetContext(ctx context.Context)
- func (o *CloudTargetModifyParams) SetDefaults()
- func (o *CloudTargetModifyParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetModifyParams) SetIgnoreWarningsQueryParameter(ignoreWarnings *bool)
- func (o *CloudTargetModifyParams) SetInfo(info *models.CloudTarget)
- func (o *CloudTargetModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *CloudTargetModifyParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetModifyParams) SetUUIDPathParameter(uuid string)
- func (o *CloudTargetModifyParams) WithCheckOnlyQueryParameter(checkOnly *bool) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithContext(ctx context.Context) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithDefaults() *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithHTTPClient(client *http.Client) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithIgnoreWarningsQueryParameter(ignoreWarnings *bool) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithInfo(info *models.CloudTarget) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithTimeout(timeout time.Duration) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithUUIDPathParameter(uuid string) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetModifyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cloud API
func (*Client) CloudTargetCollectionGet ¶
func (a *Client) CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCollectionGetOK, error)
CloudTargetCollectionGet Retrieves the collection of cloud targets in the cluster.
### Related ONTAP commands * `storage aggregate object-store config show`
func (*Client) CloudTargetCreate ¶
func (a *Client) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCreateAccepted, error)
CloudTargetCreate Creates a cloud target.
### Required properties * `name` - Name for the cloud target. * `owner` - Owner of the target: _fabricpool_, _snapmirror_. * `provider_type` - Type of cloud provider: _AWS_S3_, _Azure_Cloud_, _SGWS_, _IBM_COS_, _AliCloud_, _GoogleCloud_, _ONTAP_S3_. * `server` - Fully qualified domain name of the object store server. Required when `provider_type` is one of the following: _SGWS_, _IBM_COS_, _AliCloud_. * `container` - Data bucket/container name. * `access_key` - Access key ID if `provider_type` is not _Azure_Cloud_ and `authentication_type` is _key_. * `secret_password` - Secret access key if `provider_type` is not _Azure_Cloud_ and `authentication_type` is _key_. * `azure_account` - Azure account if `provider_type` is _Azure_Cloud_. * `azure_private_key` - Azure access key if `provider_type` is _Azure_Cloud_. * `cap_url` - Full URL of the request to a CAP server for retrieving temporary credentials if `authentication_type` is _cap_. * `svm.name` or `svm.uuid` - Name or UUID of SVM if `owner` is _snapmirror_. * `snapmirror_use` - Use of the cloud target if `owner` is _snapmirror_: data, metadata. ### Recommended optional properties * `authentication_type` - Authentication used to access the target: _key_, _cap_, _ec2_iam_, _gcp_sa_, _azure_msi_. * `ssl_enabled` - SSL/HTTPS enabled or disabled. * `port` - Port number of the object store that ONTAP uses when establishing a connection. * `ipspace` - IPspace to use in order to reach the cloud target. * `use_http_proxy` - Use the HTTP proxy when connecting to the object store server. ### Default property values * `authentication_type`
- _ec2_iam_ - if running in Cloud Volumes ONTAP in AWS
- _gcp_sa_ - if running in Cloud Volumes ONTAP in GCP
- _azure_msi_ - if running in Cloud Volumes ONTAP in Azure
- _key_ - in all other cases.
* `server`
- _s3.amazonaws.com_ - if `provider_type` is _AWS_S3_
- _blob.core.windows.net_ - if `provider_type` is _Azure_Cloud_
- _storage.googleapis.com_ - if `provider_type` is _GoogleCloud_
* `ssl_enabled` - _true_ * `port`
- _443_ if `ssl_enabled` is _true_
- _80_ if `ssl_enabled` is _false_ and `provider_type` is not _SGWS_
- _8084_ if `ssl_enabled` is _false_ and `provider_type` is _SGWS_
* `ipspace` - _Default_ * `certificate_validation_enabled` - _true_ * `ignore_warnings` - _false_ * `check_only` - _false_ * `use_http_proxy` - _false_ * `server_side_encryption`
- _none_ - if `provider_type` is _ONTAP_S3_
- _sse_s3_ - if `provider_type` is not _ONTAP_S3_
* `url_style`
- _path_style_ - if `provider_type` is neither _AWS_S3_ nor _AliCloud_
- _virtual_hosted_style_ - if `provider_type` is either _AWS_S3 or _AliCloud__
### Related ONTAP commands * `storage aggregate object-store config create`
func (*Client) CloudTargetDelete ¶
func (a *Client) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetDeleteAccepted, error)
CloudTargetDelete Deletes the cloud target specified by the UUID. This request starts a job and returns a link to that job.
### Related ONTAP commands * `storage aggregate object-store config delete`
func (*Client) CloudTargetGet ¶
func (a *Client) CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetGetOK, error)
CloudTargetGet Retrieves the cloud target specified by the UUID.
### Related ONTAP commands * `storage aggregate object-store config show`
func (*Client) CloudTargetModify ¶
func (a *Client) CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetModifyAccepted, error)
CloudTargetModify Updates the cloud target specified by the UUID with the fields in the body. This request starts a job and returns a link to that job.
### Related ONTAP commands * `storage aggregate object-store config modify`
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCollectionGetOK, error) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCreateAccepted, error) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetDeleteAccepted, error) CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetGetOK, error) CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetModifyAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new cloud API client.
type CloudTargetCollectionGetDefault ¶
type CloudTargetCollectionGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CloudTargetCollectionGetDefault describes a response with status code -1, with default header values.
Error
func NewCloudTargetCollectionGetDefault ¶
func NewCloudTargetCollectionGetDefault(code int) *CloudTargetCollectionGetDefault
NewCloudTargetCollectionGetDefault creates a CloudTargetCollectionGetDefault with default headers values
func (*CloudTargetCollectionGetDefault) Code ¶
func (o *CloudTargetCollectionGetDefault) Code() int
Code gets the status code for the cloud target collection get default response
func (*CloudTargetCollectionGetDefault) Error ¶
func (o *CloudTargetCollectionGetDefault) Error() string
func (*CloudTargetCollectionGetDefault) GetPayload ¶
func (o *CloudTargetCollectionGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *CloudTargetCollectionGetDefault) String() 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 (o *CloudTargetCollectionGetOK) Error() string
func (*CloudTargetCollectionGetOK) GetPayload ¶
func (o *CloudTargetCollectionGetOK) GetPayload() *models.CloudTargetResponse
func (*CloudTargetCollectionGetOK) IsClientError ¶
func (o *CloudTargetCollectionGetOK) IsClientError() bool
IsClientError returns true when this cloud target collection get o k response has a 4xx status code
func (*CloudTargetCollectionGetOK) IsCode ¶
func (o *CloudTargetCollectionGetOK) IsCode(code int) bool
IsCode returns true when this cloud target collection get o k response a status code equal to that given
func (*CloudTargetCollectionGetOK) IsRedirect ¶
func (o *CloudTargetCollectionGetOK) IsRedirect() bool
IsRedirect returns true when this cloud target collection get o k response has a 3xx status code
func (*CloudTargetCollectionGetOK) IsServerError ¶
func (o *CloudTargetCollectionGetOK) IsServerError() bool
IsServerError returns true when this cloud target collection get o k response has a 5xx status code
func (*CloudTargetCollectionGetOK) IsSuccess ¶
func (o *CloudTargetCollectionGetOK) IsSuccess() bool
IsSuccess returns true when this cloud target collection get o k response has a 2xx status code
func (*CloudTargetCollectionGetOK) String ¶
func (o *CloudTargetCollectionGetOK) String() string
type CloudTargetCollectionGetParams ¶
type CloudTargetCollectionGetParams struct { /* AccessKey. Filter by access_key */ AccessKeyQueryParameter *string /* AuthenticationType. Filter by authentication_type */ AuthenticationTypeQueryParameter *string /* AzureAccount. Filter by azure_account */ AzureAccountQueryParameter *string /* CapURL. Filter by cap_url */ CapURLQueryParameter *string /* CertificateValidationEnabled. Filter by certificate_validation_enabled */ CertificateValidationEnabledQueryParameter *bool /* ClusterName. Filter by cluster.name */ ClusterNameQueryParameter *string /* ClusterUUID. Filter by cluster.uuid */ ClusterUUIDQueryParameter *string /* Container. Filter by container */ ContainerQueryParameter *string /* Fields. Specify the fields to return. */ FieldsQueryParameter []string /* IpspaceName. Filter by ipspace.name */ IpspaceNameQueryParameter *string /* IpspaceUUID. Filter by ipspace.uuid */ IpspaceUUIDQueryParameter *string /* MaxRecords. Limit the number of records returned. */ MaxRecordsQueryParameter *int64 /* Name. Filter by name */ NameQueryParameter *string /* OrderBy. Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending. */ OrderByQueryParameter []string /* Owner. Filter by owner */ OwnerQueryParameter *string /* Port. Filter by port */ PortQueryParameter *int64 /* ProviderType. Filter by provider_type */ ProviderTypeQueryParameter *string /* ReturnRecords. The default is true for GET calls. When set to false, only the number of records is returned. Default: true */ ReturnRecordsQueryParameter *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached. Default: 15 */ ReturnTimeoutQueryParameter *int64 /* Server. Filter by server */ ServerQueryParameter *string /* ServerSideEncryption. Filter by server_side_encryption */ ServerSideEncryptionQueryParameter *string /* SnapmirrorUse. Filter by snapmirror_use */ SnapmirrorUseQueryParameter *string /* SslEnabled. Filter by ssl_enabled */ SslEnabledQueryParameter *bool /* SvmName. Filter by svm.name */ SVMNameQueryParameter *string /* SvmUUID. Filter by svm.uuid */ SVMUUIDQueryParameter *string /* URLStyle. Filter by url_style */ URLStyleQueryParameter *string /* UseHTTPProxy. Filter by use_http_proxy */ UseHTTPProxyQueryParameter *bool /* Used. Filter by used */ UsedQueryParameter *int64 /* UUID. Filter by uuid */ UUIDQueryParameter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloudTargetCollectionGetParams contains all the parameters to send to the API endpoint
for the cloud target collection get operation. Typically these are written to a http.Request.
func NewCloudTargetCollectionGetParams ¶
func NewCloudTargetCollectionGetParams() *CloudTargetCollectionGetParams
NewCloudTargetCollectionGetParams creates a new CloudTargetCollectionGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloudTargetCollectionGetParamsWithContext ¶
func NewCloudTargetCollectionGetParamsWithContext(ctx context.Context) *CloudTargetCollectionGetParams
NewCloudTargetCollectionGetParamsWithContext creates a new CloudTargetCollectionGetParams object with the ability to set a context for a request.
func NewCloudTargetCollectionGetParamsWithHTTPClient ¶
func NewCloudTargetCollectionGetParamsWithHTTPClient(client *http.Client) *CloudTargetCollectionGetParams
NewCloudTargetCollectionGetParamsWithHTTPClient creates a new CloudTargetCollectionGetParams object with the ability to set a custom HTTPClient for a request.
func NewCloudTargetCollectionGetParamsWithTimeout ¶
func NewCloudTargetCollectionGetParamsWithTimeout(timeout time.Duration) *CloudTargetCollectionGetParams
NewCloudTargetCollectionGetParamsWithTimeout creates a new CloudTargetCollectionGetParams object with the ability to set a timeout on a request.
func (*CloudTargetCollectionGetParams) SetAccessKeyQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetAccessKeyQueryParameter(accessKey *string)
SetAccessKeyQueryParameter adds the accessKey to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetAuthenticationTypeQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetAuthenticationTypeQueryParameter(authenticationType *string)
SetAuthenticationTypeQueryParameter adds the authenticationType to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetAzureAccountQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetAzureAccountQueryParameter(azureAccount *string)
SetAzureAccountQueryParameter adds the azureAccount to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetCapURLQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetCapURLQueryParameter(capURL *string)
SetCapURLQueryParameter adds the capUrl to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetCertificateValidationEnabledQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetCertificateValidationEnabledQueryParameter(certificateValidationEnabled *bool)
SetCertificateValidationEnabledQueryParameter adds the certificateValidationEnabled to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetClusterNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetClusterNameQueryParameter(clusterName *string)
SetClusterNameQueryParameter adds the clusterName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetClusterUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetClusterUUIDQueryParameter(clusterUUID *string)
SetClusterUUIDQueryParameter adds the clusterUuid to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetContainerQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetContainerQueryParameter(container *string)
SetContainerQueryParameter adds the container to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetContext ¶
func (o *CloudTargetCollectionGetParams) SetContext(ctx context.Context)
SetContext adds the context to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetDefaults ¶
func (o *CloudTargetCollectionGetParams) SetDefaults()
SetDefaults hydrates default values in the cloud target collection get params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetCollectionGetParams) SetFieldsQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter adds the fields to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetHTTPClient ¶
func (o *CloudTargetCollectionGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetIpspaceNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetIpspaceNameQueryParameter(ipspaceName *string)
SetIpspaceNameQueryParameter adds the ipspaceName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetIpspaceUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetIpspaceUUIDQueryParameter(ipspaceUUID *string)
SetIpspaceUUIDQueryParameter adds the ipspaceUuid to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetMaxRecordsQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
SetMaxRecordsQueryParameter adds the maxRecords to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetNameQueryParameter(name *string)
SetNameQueryParameter adds the name to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetOrderByQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
SetOrderByQueryParameter adds the orderBy to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetOwnerQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetOwnerQueryParameter(owner *string)
SetOwnerQueryParameter adds the owner to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetPortQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetPortQueryParameter(port *int64)
SetPortQueryParameter adds the port to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetProviderTypeQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetProviderTypeQueryParameter(providerType *string)
SetProviderTypeQueryParameter adds the providerType to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetReturnRecordsQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetReturnTimeoutQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetSVMNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetSVMNameQueryParameter(svmName *string)
SetSVMNameQueryParameter adds the svmName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetSVMUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetSVMUUIDQueryParameter(svmUUID *string)
SetSVMUUIDQueryParameter adds the svmUuid to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetServerQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetServerQueryParameter(server *string)
SetServerQueryParameter adds the server to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetServerSideEncryptionQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetServerSideEncryptionQueryParameter(serverSideEncryption *string)
SetServerSideEncryptionQueryParameter adds the serverSideEncryption to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetSnapmirrorUseQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetSnapmirrorUseQueryParameter(snapmirrorUse *string)
SetSnapmirrorUseQueryParameter adds the snapmirrorUse to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetSslEnabledQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetSslEnabledQueryParameter(sslEnabled *bool)
SetSslEnabledQueryParameter adds the sslEnabled to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetTimeout ¶
func (o *CloudTargetCollectionGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetURLStyleQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetURLStyleQueryParameter(uRLStyle *string)
SetURLStyleQueryParameter adds the urlStyle to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetUUIDQueryParameter(uuid *string)
SetUUIDQueryParameter adds the uuid to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetUseHTTPProxyQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetUseHTTPProxyQueryParameter(useHTTPProxy *bool)
SetUseHTTPProxyQueryParameter adds the useHttpProxy to the cloud target collection get params
func (*CloudTargetCollectionGetParams) SetUsedQueryParameter ¶
func (o *CloudTargetCollectionGetParams) SetUsedQueryParameter(used *int64)
SetUsedQueryParameter adds the used to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithAccessKeyQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithAccessKeyQueryParameter(accessKey *string) *CloudTargetCollectionGetParams
WithAccessKeyQueryParameter adds the accessKey to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithAuthenticationTypeQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithAuthenticationTypeQueryParameter(authenticationType *string) *CloudTargetCollectionGetParams
WithAuthenticationTypeQueryParameter adds the authenticationType to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithAzureAccountQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithAzureAccountQueryParameter(azureAccount *string) *CloudTargetCollectionGetParams
WithAzureAccountQueryParameter adds the azureAccount to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithCapURLQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithCapURLQueryParameter(capURL *string) *CloudTargetCollectionGetParams
WithCapURLQueryParameter adds the capURL to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithCertificateValidationEnabledQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithCertificateValidationEnabledQueryParameter(certificateValidationEnabled *bool) *CloudTargetCollectionGetParams
WithCertificateValidationEnabledQueryParameter adds the certificateValidationEnabled to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithClusterNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithClusterNameQueryParameter(clusterName *string) *CloudTargetCollectionGetParams
WithClusterNameQueryParameter adds the clusterName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithClusterUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithClusterUUIDQueryParameter(clusterUUID *string) *CloudTargetCollectionGetParams
WithClusterUUIDQueryParameter adds the clusterUUID to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithContainerQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithContainerQueryParameter(container *string) *CloudTargetCollectionGetParams
WithContainerQueryParameter adds the container to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithContext ¶
func (o *CloudTargetCollectionGetParams) WithContext(ctx context.Context) *CloudTargetCollectionGetParams
WithContext adds the context to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithDefaults ¶
func (o *CloudTargetCollectionGetParams) WithDefaults() *CloudTargetCollectionGetParams
WithDefaults hydrates default values in the cloud target collection get params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetCollectionGetParams) WithFieldsQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithFieldsQueryParameter(fields []string) *CloudTargetCollectionGetParams
WithFieldsQueryParameter adds the fields to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithHTTPClient ¶
func (o *CloudTargetCollectionGetParams) WithHTTPClient(client *http.Client) *CloudTargetCollectionGetParams
WithHTTPClient adds the HTTPClient to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithIpspaceNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithIpspaceNameQueryParameter(ipspaceName *string) *CloudTargetCollectionGetParams
WithIpspaceNameQueryParameter adds the ipspaceName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithIpspaceUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithIpspaceUUIDQueryParameter(ipspaceUUID *string) *CloudTargetCollectionGetParams
WithIpspaceUUIDQueryParameter adds the ipspaceUUID to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithMaxRecordsQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *CloudTargetCollectionGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithNameQueryParameter(name *string) *CloudTargetCollectionGetParams
WithNameQueryParameter adds the name to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithOrderByQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *CloudTargetCollectionGetParams
WithOrderByQueryParameter adds the orderBy to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithOwnerQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithOwnerQueryParameter(owner *string) *CloudTargetCollectionGetParams
WithOwnerQueryParameter adds the owner to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithPortQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithPortQueryParameter(port *int64) *CloudTargetCollectionGetParams
WithPortQueryParameter adds the port to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithProviderTypeQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithProviderTypeQueryParameter(providerType *string) *CloudTargetCollectionGetParams
WithProviderTypeQueryParameter adds the providerType to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithReturnRecordsQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *CloudTargetCollectionGetParams
WithReturnRecordsQueryParameter adds the returnRecords to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithReturnTimeoutQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetCollectionGetParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithSVMNameQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithSVMNameQueryParameter(svmName *string) *CloudTargetCollectionGetParams
WithSVMNameQueryParameter adds the svmName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithSVMUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *CloudTargetCollectionGetParams
WithSVMUUIDQueryParameter adds the svmUUID to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithServerQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithServerQueryParameter(server *string) *CloudTargetCollectionGetParams
WithServerQueryParameter adds the server to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithServerSideEncryptionQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithServerSideEncryptionQueryParameter(serverSideEncryption *string) *CloudTargetCollectionGetParams
WithServerSideEncryptionQueryParameter adds the serverSideEncryption to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithSnapmirrorUseQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithSnapmirrorUseQueryParameter(snapmirrorUse *string) *CloudTargetCollectionGetParams
WithSnapmirrorUseQueryParameter adds the snapmirrorUse to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithSslEnabledQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithSslEnabledQueryParameter(sslEnabled *bool) *CloudTargetCollectionGetParams
WithSslEnabledQueryParameter adds the sslEnabled to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithTimeout ¶
func (o *CloudTargetCollectionGetParams) WithTimeout(timeout time.Duration) *CloudTargetCollectionGetParams
WithTimeout adds the timeout to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithURLStyleQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithURLStyleQueryParameter(uRLStyle *string) *CloudTargetCollectionGetParams
WithURLStyleQueryParameter adds the uRLStyle to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithUUIDQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithUUIDQueryParameter(uuid *string) *CloudTargetCollectionGetParams
WithUUIDQueryParameter adds the uuid to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithUseHTTPProxyQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithUseHTTPProxyQueryParameter(useHTTPProxy *bool) *CloudTargetCollectionGetParams
WithUseHTTPProxyQueryParameter adds the useHTTPProxy to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithUsedQueryParameter ¶
func (o *CloudTargetCollectionGetParams) WithUsedQueryParameter(used *int64) *CloudTargetCollectionGetParams
WithUsedQueryParameter adds the used to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WriteToRequest ¶
func (o *CloudTargetCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloudTargetCollectionGetReader ¶
type CloudTargetCollectionGetReader struct {
// contains filtered or unexported fields
}
CloudTargetCollectionGetReader is a Reader for the CloudTargetCollectionGet structure.
func (*CloudTargetCollectionGetReader) ReadResponse ¶
func (o *CloudTargetCollectionGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CloudTargetCreateAccepted ¶
type CloudTargetCreateAccepted struct {
Payload *models.JobLinkResponse
}
CloudTargetCreateAccepted describes a response with status code 202, with default header values.
Accepted
func NewCloudTargetCreateAccepted ¶
func NewCloudTargetCreateAccepted() *CloudTargetCreateAccepted
NewCloudTargetCreateAccepted creates a CloudTargetCreateAccepted with default headers values
func (*CloudTargetCreateAccepted) Error ¶
func (o *CloudTargetCreateAccepted) Error() string
func (*CloudTargetCreateAccepted) GetPayload ¶
func (o *CloudTargetCreateAccepted) GetPayload() *models.JobLinkResponse
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 (o *CloudTargetCreateDefault) GetPayload() *models.ErrorResponse
func (*CloudTargetCreateDefault) IsClientError ¶
func (o *CloudTargetCreateDefault) IsClientError() bool
IsClientError returns true when this cloud target create default response has a 4xx status code
func (*CloudTargetCreateDefault) IsCode ¶
func (o *CloudTargetCreateDefault) IsCode(code int) bool
IsCode returns true when this cloud target create default response a status code equal to that given
func (*CloudTargetCreateDefault) IsRedirect ¶
func (o *CloudTargetCreateDefault) IsRedirect() bool
IsRedirect returns true when this cloud target create default response has a 3xx status code
func (*CloudTargetCreateDefault) IsServerError ¶
func (o *CloudTargetCreateDefault) IsServerError() bool
IsServerError returns true when this cloud target create default response has a 5xx status code
func (*CloudTargetCreateDefault) IsSuccess ¶
func (o *CloudTargetCreateDefault) IsSuccess() bool
IsSuccess returns true when this cloud target create default response has a 2xx status code
func (*CloudTargetCreateDefault) String ¶
func (o *CloudTargetCreateDefault) String() string
type CloudTargetCreateParams ¶
type CloudTargetCreateParams struct { /* CheckOnly. Do not create the target configuration, only check that the POST request succeeds. */ CheckOnlyQueryParameter *bool /* IgnoreWarnings. Specifies whether or not warning codes should be ignored. */ IgnoreWarningsQueryParameter *bool /* Info. Info specification */ Info *models.CloudTarget /* ReturnRecords. The default is false. If set to true, the records are returned. */ ReturnRecordsQueryParameter *bool /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeoutQueryParameter *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloudTargetCreateParams contains all the parameters to send to the API endpoint
for the cloud target create operation. Typically these are written to a http.Request.
func NewCloudTargetCreateParams ¶
func NewCloudTargetCreateParams() *CloudTargetCreateParams
NewCloudTargetCreateParams creates a new CloudTargetCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloudTargetCreateParamsWithContext ¶
func NewCloudTargetCreateParamsWithContext(ctx context.Context) *CloudTargetCreateParams
NewCloudTargetCreateParamsWithContext creates a new CloudTargetCreateParams object with the ability to set a context for a request.
func NewCloudTargetCreateParamsWithHTTPClient ¶
func NewCloudTargetCreateParamsWithHTTPClient(client *http.Client) *CloudTargetCreateParams
NewCloudTargetCreateParamsWithHTTPClient creates a new CloudTargetCreateParams object with the ability to set a custom HTTPClient for a request.
func NewCloudTargetCreateParamsWithTimeout ¶
func NewCloudTargetCreateParamsWithTimeout(timeout time.Duration) *CloudTargetCreateParams
NewCloudTargetCreateParamsWithTimeout creates a new CloudTargetCreateParams object with the ability to set a timeout on a request.
func (*CloudTargetCreateParams) SetCheckOnlyQueryParameter ¶
func (o *CloudTargetCreateParams) SetCheckOnlyQueryParameter(checkOnly *bool)
SetCheckOnlyQueryParameter adds the checkOnly to the cloud target create params
func (*CloudTargetCreateParams) SetContext ¶
func (o *CloudTargetCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the cloud target create params
func (*CloudTargetCreateParams) SetDefaults ¶
func (o *CloudTargetCreateParams) SetDefaults()
SetDefaults hydrates default values in the cloud target create params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetCreateParams) SetHTTPClient ¶
func (o *CloudTargetCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cloud target create params
func (*CloudTargetCreateParams) SetIgnoreWarningsQueryParameter ¶
func (o *CloudTargetCreateParams) SetIgnoreWarningsQueryParameter(ignoreWarnings *bool)
SetIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target create params
func (*CloudTargetCreateParams) SetInfo ¶
func (o *CloudTargetCreateParams) SetInfo(info *models.CloudTarget)
SetInfo adds the info to the cloud target create params
func (*CloudTargetCreateParams) SetReturnRecordsQueryParameter ¶
func (o *CloudTargetCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
SetReturnRecordsQueryParameter adds the returnRecords to the cloud target create params
func (*CloudTargetCreateParams) SetReturnTimeoutQueryParameter ¶
func (o *CloudTargetCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target create params
func (*CloudTargetCreateParams) SetTimeout ¶
func (o *CloudTargetCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cloud target create params
func (*CloudTargetCreateParams) WithCheckOnlyQueryParameter ¶
func (o *CloudTargetCreateParams) WithCheckOnlyQueryParameter(checkOnly *bool) *CloudTargetCreateParams
WithCheckOnlyQueryParameter adds the checkOnly to the cloud target create params
func (*CloudTargetCreateParams) WithContext ¶
func (o *CloudTargetCreateParams) WithContext(ctx context.Context) *CloudTargetCreateParams
WithContext adds the context to the cloud target create params
func (*CloudTargetCreateParams) WithDefaults ¶
func (o *CloudTargetCreateParams) WithDefaults() *CloudTargetCreateParams
WithDefaults hydrates default values in the cloud target create params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetCreateParams) WithHTTPClient ¶
func (o *CloudTargetCreateParams) WithHTTPClient(client *http.Client) *CloudTargetCreateParams
WithHTTPClient adds the HTTPClient to the cloud target create params
func (*CloudTargetCreateParams) WithIgnoreWarningsQueryParameter ¶
func (o *CloudTargetCreateParams) WithIgnoreWarningsQueryParameter(ignoreWarnings *bool) *CloudTargetCreateParams
WithIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target create params
func (*CloudTargetCreateParams) WithInfo ¶
func (o *CloudTargetCreateParams) WithInfo(info *models.CloudTarget) *CloudTargetCreateParams
WithInfo adds the info to the cloud target create params
func (*CloudTargetCreateParams) WithReturnRecordsQueryParameter ¶
func (o *CloudTargetCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *CloudTargetCreateParams
WithReturnRecordsQueryParameter adds the returnRecords to the cloud target create params
func (*CloudTargetCreateParams) WithReturnTimeoutQueryParameter ¶
func (o *CloudTargetCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetCreateParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target create params
func (*CloudTargetCreateParams) WithTimeout ¶
func (o *CloudTargetCreateParams) WithTimeout(timeout time.Duration) *CloudTargetCreateParams
WithTimeout adds the timeout to the cloud target create params
func (*CloudTargetCreateParams) WriteToRequest ¶
func (o *CloudTargetCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CloudTargetDeleteAccepted) GetPayload() *models.JobLinkResponse
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 (o *CloudTargetDeleteDefault) GetPayload() *models.ErrorResponse
func (*CloudTargetDeleteDefault) IsClientError ¶
func (o *CloudTargetDeleteDefault) IsClientError() bool
IsClientError returns true when this cloud target delete default response has a 4xx status code
func (*CloudTargetDeleteDefault) IsCode ¶
func (o *CloudTargetDeleteDefault) IsCode(code int) bool
IsCode returns true when this cloud target delete default response a status code equal to that given
func (*CloudTargetDeleteDefault) IsRedirect ¶
func (o *CloudTargetDeleteDefault) IsRedirect() bool
IsRedirect returns true when this cloud target delete default response has a 3xx status code
func (*CloudTargetDeleteDefault) IsServerError ¶
func (o *CloudTargetDeleteDefault) IsServerError() bool
IsServerError returns true when this cloud target delete default response has a 5xx status code
func (*CloudTargetDeleteDefault) IsSuccess ¶
func (o *CloudTargetDeleteDefault) IsSuccess() bool
IsSuccess returns true when this cloud target delete default response has a 2xx status code
func (*CloudTargetDeleteDefault) String ¶
func (o *CloudTargetDeleteDefault) String() string
type CloudTargetDeleteParams ¶
type CloudTargetDeleteParams struct { /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeoutQueryParameter *int64 /* UUID. Cloud target UUID */ UUIDPathParameter string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloudTargetDeleteParams contains all the parameters to send to the API endpoint
for the cloud target delete operation. Typically these are written to a http.Request.
func NewCloudTargetDeleteParams ¶
func NewCloudTargetDeleteParams() *CloudTargetDeleteParams
NewCloudTargetDeleteParams creates a new CloudTargetDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloudTargetDeleteParamsWithContext ¶
func NewCloudTargetDeleteParamsWithContext(ctx context.Context) *CloudTargetDeleteParams
NewCloudTargetDeleteParamsWithContext creates a new CloudTargetDeleteParams object with the ability to set a context for a request.
func NewCloudTargetDeleteParamsWithHTTPClient ¶
func NewCloudTargetDeleteParamsWithHTTPClient(client *http.Client) *CloudTargetDeleteParams
NewCloudTargetDeleteParamsWithHTTPClient creates a new CloudTargetDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewCloudTargetDeleteParamsWithTimeout ¶
func NewCloudTargetDeleteParamsWithTimeout(timeout time.Duration) *CloudTargetDeleteParams
NewCloudTargetDeleteParamsWithTimeout creates a new CloudTargetDeleteParams object with the ability to set a timeout on a request.
func (*CloudTargetDeleteParams) SetContext ¶
func (o *CloudTargetDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the cloud target delete params
func (*CloudTargetDeleteParams) SetDefaults ¶
func (o *CloudTargetDeleteParams) SetDefaults()
SetDefaults hydrates default values in the cloud target delete params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetDeleteParams) SetHTTPClient ¶
func (o *CloudTargetDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cloud target delete params
func (*CloudTargetDeleteParams) SetReturnTimeoutQueryParameter ¶
func (o *CloudTargetDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target delete params
func (*CloudTargetDeleteParams) SetTimeout ¶
func (o *CloudTargetDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cloud target delete params
func (*CloudTargetDeleteParams) SetUUIDPathParameter ¶
func (o *CloudTargetDeleteParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter adds the uuid to the cloud target delete params
func (*CloudTargetDeleteParams) WithContext ¶
func (o *CloudTargetDeleteParams) WithContext(ctx context.Context) *CloudTargetDeleteParams
WithContext adds the context to the cloud target delete params
func (*CloudTargetDeleteParams) WithDefaults ¶
func (o *CloudTargetDeleteParams) WithDefaults() *CloudTargetDeleteParams
WithDefaults hydrates default values in the cloud target delete params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetDeleteParams) WithHTTPClient ¶
func (o *CloudTargetDeleteParams) WithHTTPClient(client *http.Client) *CloudTargetDeleteParams
WithHTTPClient adds the HTTPClient to the cloud target delete params
func (*CloudTargetDeleteParams) WithReturnTimeoutQueryParameter ¶
func (o *CloudTargetDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetDeleteParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target delete params
func (*CloudTargetDeleteParams) WithTimeout ¶
func (o *CloudTargetDeleteParams) WithTimeout(timeout time.Duration) *CloudTargetDeleteParams
WithTimeout adds the timeout to the cloud target delete params
func (*CloudTargetDeleteParams) WithUUIDPathParameter ¶
func (o *CloudTargetDeleteParams) WithUUIDPathParameter(uuid string) *CloudTargetDeleteParams
WithUUIDPathParameter adds the uuid to the cloud target delete params
func (*CloudTargetDeleteParams) WriteToRequest ¶
func (o *CloudTargetDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloudTargetDeleteReader ¶
type CloudTargetDeleteReader struct {
// contains filtered or unexported fields
}
CloudTargetDeleteReader is a Reader for the CloudTargetDelete structure.
func (*CloudTargetDeleteReader) ReadResponse ¶
func (o *CloudTargetDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CloudTargetGetDefault ¶
type CloudTargetGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CloudTargetGetDefault describes a response with status code -1, with default header values.
Error
func NewCloudTargetGetDefault ¶
func NewCloudTargetGetDefault(code int) *CloudTargetGetDefault
NewCloudTargetGetDefault creates a CloudTargetGetDefault with default headers values
func (*CloudTargetGetDefault) Code ¶
func (o *CloudTargetGetDefault) Code() int
Code gets the status code for the cloud target get default response
func (*CloudTargetGetDefault) Error ¶
func (o *CloudTargetGetDefault) Error() string
func (*CloudTargetGetDefault) GetPayload ¶
func (o *CloudTargetGetDefault) GetPayload() *models.ErrorResponse
func (*CloudTargetGetDefault) IsClientError ¶
func (o *CloudTargetGetDefault) IsClientError() bool
IsClientError returns true when this cloud target get default response has a 4xx status code
func (*CloudTargetGetDefault) IsCode ¶
func (o *CloudTargetGetDefault) IsCode(code int) bool
IsCode returns true when this cloud target get default response a status code equal to that given
func (*CloudTargetGetDefault) IsRedirect ¶
func (o *CloudTargetGetDefault) IsRedirect() bool
IsRedirect returns true when this cloud target get default response has a 3xx status code
func (*CloudTargetGetDefault) IsServerError ¶
func (o *CloudTargetGetDefault) IsServerError() bool
IsServerError returns true when this cloud target get default response has a 5xx status code
func (*CloudTargetGetDefault) IsSuccess ¶
func (o *CloudTargetGetDefault) IsSuccess() bool
IsSuccess returns true when this cloud target get default response has a 2xx status code
func (*CloudTargetGetDefault) String ¶
func (o *CloudTargetGetDefault) String() string
type CloudTargetGetOK ¶
type CloudTargetGetOK struct {
Payload *models.CloudTarget
}
CloudTargetGetOK describes a response with status code 200, with default header values.
OK
func NewCloudTargetGetOK ¶
func NewCloudTargetGetOK() *CloudTargetGetOK
NewCloudTargetGetOK creates a CloudTargetGetOK with default headers values
func (*CloudTargetGetOK) Error ¶
func (o *CloudTargetGetOK) Error() string
func (*CloudTargetGetOK) GetPayload ¶
func (o *CloudTargetGetOK) GetPayload() *models.CloudTarget
func (*CloudTargetGetOK) IsClientError ¶
func (o *CloudTargetGetOK) IsClientError() bool
IsClientError returns true when this cloud target get o k response has a 4xx status code
func (*CloudTargetGetOK) IsCode ¶
func (o *CloudTargetGetOK) IsCode(code int) bool
IsCode returns true when this cloud target get o k response a status code equal to that given
func (*CloudTargetGetOK) IsRedirect ¶
func (o *CloudTargetGetOK) IsRedirect() bool
IsRedirect returns true when this cloud target get o k response has a 3xx status code
func (*CloudTargetGetOK) IsServerError ¶
func (o *CloudTargetGetOK) IsServerError() bool
IsServerError returns true when this cloud target get o k response has a 5xx status code
func (*CloudTargetGetOK) IsSuccess ¶
func (o *CloudTargetGetOK) IsSuccess() bool
IsSuccess returns true when this cloud target get o k response has a 2xx status code
func (*CloudTargetGetOK) String ¶
func (o *CloudTargetGetOK) String() string
type CloudTargetGetParams ¶
type CloudTargetGetParams struct { /* Fields. Specify the fields to return. */ FieldsQueryParameter []string /* UUID. Cloud target UUID */ UUIDPathParameter string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloudTargetGetParams contains all the parameters to send to the API endpoint
for the cloud target get operation. Typically these are written to a http.Request.
func NewCloudTargetGetParams ¶
func NewCloudTargetGetParams() *CloudTargetGetParams
NewCloudTargetGetParams creates a new CloudTargetGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloudTargetGetParamsWithContext ¶
func NewCloudTargetGetParamsWithContext(ctx context.Context) *CloudTargetGetParams
NewCloudTargetGetParamsWithContext creates a new CloudTargetGetParams object with the ability to set a context for a request.
func NewCloudTargetGetParamsWithHTTPClient ¶
func NewCloudTargetGetParamsWithHTTPClient(client *http.Client) *CloudTargetGetParams
NewCloudTargetGetParamsWithHTTPClient creates a new CloudTargetGetParams object with the ability to set a custom HTTPClient for a request.
func NewCloudTargetGetParamsWithTimeout ¶
func NewCloudTargetGetParamsWithTimeout(timeout time.Duration) *CloudTargetGetParams
NewCloudTargetGetParamsWithTimeout creates a new CloudTargetGetParams object with the ability to set a timeout on a request.
func (*CloudTargetGetParams) SetContext ¶
func (o *CloudTargetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the cloud target get params
func (*CloudTargetGetParams) SetDefaults ¶
func (o *CloudTargetGetParams) SetDefaults()
SetDefaults hydrates default values in the cloud target get params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetGetParams) SetFieldsQueryParameter ¶
func (o *CloudTargetGetParams) SetFieldsQueryParameter(fields []string)
SetFieldsQueryParameter adds the fields to the cloud target get params
func (*CloudTargetGetParams) SetHTTPClient ¶
func (o *CloudTargetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cloud target get params
func (*CloudTargetGetParams) SetTimeout ¶
func (o *CloudTargetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cloud target get params
func (*CloudTargetGetParams) SetUUIDPathParameter ¶
func (o *CloudTargetGetParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter adds the uuid to the cloud target get params
func (*CloudTargetGetParams) WithContext ¶
func (o *CloudTargetGetParams) WithContext(ctx context.Context) *CloudTargetGetParams
WithContext adds the context to the cloud target get params
func (*CloudTargetGetParams) WithDefaults ¶
func (o *CloudTargetGetParams) WithDefaults() *CloudTargetGetParams
WithDefaults hydrates default values in the cloud target get params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetGetParams) WithFieldsQueryParameter ¶
func (o *CloudTargetGetParams) WithFieldsQueryParameter(fields []string) *CloudTargetGetParams
WithFieldsQueryParameter adds the fields to the cloud target get params
func (*CloudTargetGetParams) WithHTTPClient ¶
func (o *CloudTargetGetParams) WithHTTPClient(client *http.Client) *CloudTargetGetParams
WithHTTPClient adds the HTTPClient to the cloud target get params
func (*CloudTargetGetParams) WithTimeout ¶
func (o *CloudTargetGetParams) WithTimeout(timeout time.Duration) *CloudTargetGetParams
WithTimeout adds the timeout to the cloud target get params
func (*CloudTargetGetParams) WithUUIDPathParameter ¶
func (o *CloudTargetGetParams) WithUUIDPathParameter(uuid string) *CloudTargetGetParams
WithUUIDPathParameter adds the uuid to the cloud target get params
func (*CloudTargetGetParams) WriteToRequest ¶
func (o *CloudTargetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloudTargetGetReader ¶
type CloudTargetGetReader struct {
// contains filtered or unexported fields
}
CloudTargetGetReader is a Reader for the CloudTargetGet structure.
func (*CloudTargetGetReader) ReadResponse ¶
func (o *CloudTargetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CloudTargetModifyAccepted ¶
type CloudTargetModifyAccepted struct {
Payload *models.JobLinkResponse
}
CloudTargetModifyAccepted describes a response with status code 202, with default header values.
Accepted
func NewCloudTargetModifyAccepted ¶
func NewCloudTargetModifyAccepted() *CloudTargetModifyAccepted
NewCloudTargetModifyAccepted creates a CloudTargetModifyAccepted with default headers values
func (*CloudTargetModifyAccepted) Error ¶
func (o *CloudTargetModifyAccepted) Error() string
func (*CloudTargetModifyAccepted) GetPayload ¶
func (o *CloudTargetModifyAccepted) GetPayload() *models.JobLinkResponse
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 (o *CloudTargetModifyDefault) GetPayload() *models.ErrorResponse
func (*CloudTargetModifyDefault) IsClientError ¶
func (o *CloudTargetModifyDefault) IsClientError() bool
IsClientError returns true when this cloud target modify default response has a 4xx status code
func (*CloudTargetModifyDefault) IsCode ¶
func (o *CloudTargetModifyDefault) IsCode(code int) bool
IsCode returns true when this cloud target modify default response a status code equal to that given
func (*CloudTargetModifyDefault) IsRedirect ¶
func (o *CloudTargetModifyDefault) IsRedirect() bool
IsRedirect returns true when this cloud target modify default response has a 3xx status code
func (*CloudTargetModifyDefault) IsServerError ¶
func (o *CloudTargetModifyDefault) IsServerError() bool
IsServerError returns true when this cloud target modify default response has a 5xx status code
func (*CloudTargetModifyDefault) IsSuccess ¶
func (o *CloudTargetModifyDefault) IsSuccess() bool
IsSuccess returns true when this cloud target modify default response has a 2xx status code
func (*CloudTargetModifyDefault) String ¶
func (o *CloudTargetModifyDefault) String() string
type CloudTargetModifyParams ¶
type CloudTargetModifyParams struct { /* CheckOnly. Do not modify the configuration, only check that the PATCH request succeeds. */ CheckOnlyQueryParameter *bool /* IgnoreWarnings. Specifies whether or not warnings should be ignored. */ IgnoreWarningsQueryParameter *bool /* Info. Info specification */ Info *models.CloudTarget /* ReturnTimeout. The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202. */ ReturnTimeoutQueryParameter *int64 /* UUID. Cloud target UUID */ UUIDPathParameter string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloudTargetModifyParams contains all the parameters to send to the API endpoint
for the cloud target modify operation. Typically these are written to a http.Request.
func NewCloudTargetModifyParams ¶
func NewCloudTargetModifyParams() *CloudTargetModifyParams
NewCloudTargetModifyParams creates a new CloudTargetModifyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloudTargetModifyParamsWithContext ¶
func NewCloudTargetModifyParamsWithContext(ctx context.Context) *CloudTargetModifyParams
NewCloudTargetModifyParamsWithContext creates a new CloudTargetModifyParams object with the ability to set a context for a request.
func NewCloudTargetModifyParamsWithHTTPClient ¶
func NewCloudTargetModifyParamsWithHTTPClient(client *http.Client) *CloudTargetModifyParams
NewCloudTargetModifyParamsWithHTTPClient creates a new CloudTargetModifyParams object with the ability to set a custom HTTPClient for a request.
func NewCloudTargetModifyParamsWithTimeout ¶
func NewCloudTargetModifyParamsWithTimeout(timeout time.Duration) *CloudTargetModifyParams
NewCloudTargetModifyParamsWithTimeout creates a new CloudTargetModifyParams object with the ability to set a timeout on a request.
func (*CloudTargetModifyParams) SetCheckOnlyQueryParameter ¶
func (o *CloudTargetModifyParams) SetCheckOnlyQueryParameter(checkOnly *bool)
SetCheckOnlyQueryParameter adds the checkOnly to the cloud target modify params
func (*CloudTargetModifyParams) SetContext ¶
func (o *CloudTargetModifyParams) SetContext(ctx context.Context)
SetContext adds the context to the cloud target modify params
func (*CloudTargetModifyParams) SetDefaults ¶
func (o *CloudTargetModifyParams) SetDefaults()
SetDefaults hydrates default values in the cloud target modify params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetModifyParams) SetHTTPClient ¶
func (o *CloudTargetModifyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cloud target modify params
func (*CloudTargetModifyParams) SetIgnoreWarningsQueryParameter ¶
func (o *CloudTargetModifyParams) SetIgnoreWarningsQueryParameter(ignoreWarnings *bool)
SetIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target modify params
func (*CloudTargetModifyParams) SetInfo ¶
func (o *CloudTargetModifyParams) SetInfo(info *models.CloudTarget)
SetInfo adds the info to the cloud target modify params
func (*CloudTargetModifyParams) SetReturnTimeoutQueryParameter ¶
func (o *CloudTargetModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
SetReturnTimeoutQueryParameter adds the returnTimeout to the cloud target modify params
func (*CloudTargetModifyParams) SetTimeout ¶
func (o *CloudTargetModifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cloud target modify params
func (*CloudTargetModifyParams) SetUUIDPathParameter ¶
func (o *CloudTargetModifyParams) SetUUIDPathParameter(uuid string)
SetUUIDPathParameter adds the uuid to the cloud target modify params
func (*CloudTargetModifyParams) WithCheckOnlyQueryParameter ¶
func (o *CloudTargetModifyParams) WithCheckOnlyQueryParameter(checkOnly *bool) *CloudTargetModifyParams
WithCheckOnlyQueryParameter adds the checkOnly to the cloud target modify params
func (*CloudTargetModifyParams) WithContext ¶
func (o *CloudTargetModifyParams) WithContext(ctx context.Context) *CloudTargetModifyParams
WithContext adds the context to the cloud target modify params
func (*CloudTargetModifyParams) WithDefaults ¶
func (o *CloudTargetModifyParams) WithDefaults() *CloudTargetModifyParams
WithDefaults hydrates default values in the cloud target modify params (not the query body).
All values with no default are reset to their zero value.
func (*CloudTargetModifyParams) WithHTTPClient ¶
func (o *CloudTargetModifyParams) WithHTTPClient(client *http.Client) *CloudTargetModifyParams
WithHTTPClient adds the HTTPClient to the cloud target modify params
func (*CloudTargetModifyParams) WithIgnoreWarningsQueryParameter ¶
func (o *CloudTargetModifyParams) WithIgnoreWarningsQueryParameter(ignoreWarnings *bool) *CloudTargetModifyParams
WithIgnoreWarningsQueryParameter adds the ignoreWarnings to the cloud target modify params
func (*CloudTargetModifyParams) WithInfo ¶
func (o *CloudTargetModifyParams) WithInfo(info *models.CloudTarget) *CloudTargetModifyParams
WithInfo adds the info to the cloud target modify params
func (*CloudTargetModifyParams) WithReturnTimeoutQueryParameter ¶
func (o *CloudTargetModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *CloudTargetModifyParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the cloud target modify params
func (*CloudTargetModifyParams) WithTimeout ¶
func (o *CloudTargetModifyParams) WithTimeout(timeout time.Duration) *CloudTargetModifyParams
WithTimeout adds the timeout to the cloud target modify params
func (*CloudTargetModifyParams) WithUUIDPathParameter ¶
func (o *CloudTargetModifyParams) WithUUIDPathParameter(uuid string) *CloudTargetModifyParams
WithUUIDPathParameter adds the uuid to the cloud target modify params
func (*CloudTargetModifyParams) WriteToRequest ¶
func (o *CloudTargetModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- cloud_client.go
- cloud_target_collection_get_parameters.go
- cloud_target_collection_get_responses.go
- cloud_target_create_parameters.go
- cloud_target_create_responses.go
- cloud_target_delete_parameters.go
- cloud_target_delete_responses.go
- cloud_target_get_parameters.go
- cloud_target_get_responses.go
- cloud_target_modify_parameters.go
- cloud_target_modify_responses.go