Documentation
¶
Index ¶
- func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- type Client
- func (a *Client) CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetCollectionGetOK, error)
- func (a *Client) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetCreateCreated, *CloudTargetCreateAccepted, error)
- func (a *Client) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetDeleteOK, *CloudTargetDeleteAccepted, error)
- func (a *Client) CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetGetOK, error)
- func (a *Client) CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloudTargetModifyOK, *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) Code() int
- 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) SetAccessKey(accessKey *string)
- func (o *CloudTargetCollectionGetParams) SetAuthenticationType(authenticationType *string)
- func (o *CloudTargetCollectionGetParams) SetAzureAccount(azureAccount *string)
- func (o *CloudTargetCollectionGetParams) SetCapURL(capURL *string)
- func (o *CloudTargetCollectionGetParams) SetCertificateValidationEnabled(certificateValidationEnabled *bool)
- func (o *CloudTargetCollectionGetParams) SetClusterName(clusterName *string)
- func (o *CloudTargetCollectionGetParams) SetClusterUUID(clusterUUID *string)
- func (o *CloudTargetCollectionGetParams) SetContainer(container *string)
- func (o *CloudTargetCollectionGetParams) SetContext(ctx context.Context)
- func (o *CloudTargetCollectionGetParams) SetDefaults()
- func (o *CloudTargetCollectionGetParams) SetFields(fields []string)
- func (o *CloudTargetCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetCollectionGetParams) SetIpspaceName(ipspaceName *string)
- func (o *CloudTargetCollectionGetParams) SetIpspaceUUID(ipspaceUUID *string)
- func (o *CloudTargetCollectionGetParams) SetMaxRecords(maxRecords *int64)
- func (o *CloudTargetCollectionGetParams) SetName(name *string)
- func (o *CloudTargetCollectionGetParams) SetOrderBy(orderBy []string)
- func (o *CloudTargetCollectionGetParams) SetOwner(owner *string)
- func (o *CloudTargetCollectionGetParams) SetPort(port *int64)
- func (o *CloudTargetCollectionGetParams) SetProviderType(providerType *string)
- func (o *CloudTargetCollectionGetParams) SetReadLatencyWarningThreshold(readLatencyWarningThreshold *int64)
- func (o *CloudTargetCollectionGetParams) SetReturnRecords(returnRecords *bool)
- func (o *CloudTargetCollectionGetParams) SetReturnTimeout(returnTimeout *int64)
- func (o *CloudTargetCollectionGetParams) SetScope(scope *string)
- func (o *CloudTargetCollectionGetParams) SetServer(server *string)
- func (o *CloudTargetCollectionGetParams) SetServerSideEncryption(serverSideEncryption *string)
- func (o *CloudTargetCollectionGetParams) SetSnapmirrorUse(snapmirrorUse *string)
- func (o *CloudTargetCollectionGetParams) SetSslEnabled(sslEnabled *bool)
- func (o *CloudTargetCollectionGetParams) SetSvmName(svmName *string)
- func (o *CloudTargetCollectionGetParams) SetSvmUUID(svmUUID *string)
- func (o *CloudTargetCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetCollectionGetParams) SetURLStyle(uRLStyle *string)
- func (o *CloudTargetCollectionGetParams) SetUUID(uuid *string)
- func (o *CloudTargetCollectionGetParams) SetUseHTTPProxy(useHTTPProxy *bool)
- func (o *CloudTargetCollectionGetParams) SetUsed(used *int64)
- func (o *CloudTargetCollectionGetParams) WithAccessKey(accessKey *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithAuthenticationType(authenticationType *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithAzureAccount(azureAccount *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithCapURL(capURL *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithCertificateValidationEnabled(certificateValidationEnabled *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithClusterName(clusterName *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithClusterUUID(clusterUUID *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithContainer(container *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithContext(ctx context.Context) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithDefaults() *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithFields(fields []string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithHTTPClient(client *http.Client) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithIpspaceName(ipspaceName *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithIpspaceUUID(ipspaceUUID *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithMaxRecords(maxRecords *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithName(name *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithOrderBy(orderBy []string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithOwner(owner *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithPort(port *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithProviderType(providerType *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithReadLatencyWarningThreshold(readLatencyWarningThreshold *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithReturnRecords(returnRecords *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithScope(scope *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithServer(server *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithServerSideEncryption(serverSideEncryption *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSnapmirrorUse(snapmirrorUse *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSslEnabled(sslEnabled *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSvmName(svmName *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithSvmUUID(svmUUID *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithTimeout(timeout time.Duration) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithURLStyle(uRLStyle *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithUUID(uuid *string) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithUseHTTPProxy(useHTTPProxy *bool) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WithUsed(used *int64) *CloudTargetCollectionGetParams
- func (o *CloudTargetCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetCollectionGetReader
- type CloudTargetCreateAccepted
- func (o *CloudTargetCreateAccepted) Code() int
- 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 CloudTargetCreateCreated
- func (o *CloudTargetCreateCreated) Code() int
- func (o *CloudTargetCreateCreated) Error() string
- func (o *CloudTargetCreateCreated) GetPayload() *models.JobLinkResponse
- func (o *CloudTargetCreateCreated) IsClientError() bool
- func (o *CloudTargetCreateCreated) IsCode(code int) bool
- func (o *CloudTargetCreateCreated) IsRedirect() bool
- func (o *CloudTargetCreateCreated) IsServerError() bool
- func (o *CloudTargetCreateCreated) IsSuccess() bool
- func (o *CloudTargetCreateCreated) 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) SetCheckOnly(checkOnly *bool)
- func (o *CloudTargetCreateParams) SetContext(ctx context.Context)
- func (o *CloudTargetCreateParams) SetDefaults()
- func (o *CloudTargetCreateParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetCreateParams) SetIgnoreWarnings(ignoreWarnings *bool)
- func (o *CloudTargetCreateParams) SetInfo(info *models.CloudTarget)
- func (o *CloudTargetCreateParams) SetReturnRecords(returnRecords *bool)
- func (o *CloudTargetCreateParams) SetReturnTimeout(returnTimeout *int64)
- func (o *CloudTargetCreateParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetCreateParams) WithCheckOnly(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) WithIgnoreWarnings(ignoreWarnings *bool) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithInfo(info *models.CloudTarget) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithReturnRecords(returnRecords *bool) *CloudTargetCreateParams
- func (o *CloudTargetCreateParams) WithReturnTimeout(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) Code() int
- 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 CloudTargetDeleteOK
- func (o *CloudTargetDeleteOK) Code() int
- func (o *CloudTargetDeleteOK) Error() string
- func (o *CloudTargetDeleteOK) GetPayload() *models.JobLinkResponse
- func (o *CloudTargetDeleteOK) IsClientError() bool
- func (o *CloudTargetDeleteOK) IsCode(code int) bool
- func (o *CloudTargetDeleteOK) IsRedirect() bool
- func (o *CloudTargetDeleteOK) IsServerError() bool
- func (o *CloudTargetDeleteOK) IsSuccess() bool
- func (o *CloudTargetDeleteOK) 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) SetReturnTimeout(returnTimeout *int64)
- func (o *CloudTargetDeleteParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetDeleteParams) SetUUID(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) WithReturnTimeout(returnTimeout *int64) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithTimeout(timeout time.Duration) *CloudTargetDeleteParams
- func (o *CloudTargetDeleteParams) WithUUID(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) Code() int
- 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) SetFields(fields []string)
- func (o *CloudTargetGetParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetGetParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetGetParams) SetUUID(uuid string)
- func (o *CloudTargetGetParams) WithContext(ctx context.Context) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithDefaults() *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithFields(fields []string) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithHTTPClient(client *http.Client) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithTimeout(timeout time.Duration) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WithUUID(uuid string) *CloudTargetGetParams
- func (o *CloudTargetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloudTargetGetReader
- type CloudTargetModifyAccepted
- func (o *CloudTargetModifyAccepted) Code() int
- 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 CloudTargetModifyOK
- func (o *CloudTargetModifyOK) Code() int
- func (o *CloudTargetModifyOK) Error() string
- func (o *CloudTargetModifyOK) GetPayload() *models.JobLinkResponse
- func (o *CloudTargetModifyOK) IsClientError() bool
- func (o *CloudTargetModifyOK) IsCode(code int) bool
- func (o *CloudTargetModifyOK) IsRedirect() bool
- func (o *CloudTargetModifyOK) IsServerError() bool
- func (o *CloudTargetModifyOK) IsSuccess() bool
- func (o *CloudTargetModifyOK) 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) SetCheckOnly(checkOnly *bool)
- func (o *CloudTargetModifyParams) SetContext(ctx context.Context)
- func (o *CloudTargetModifyParams) SetDefaults()
- func (o *CloudTargetModifyParams) SetHTTPClient(client *http.Client)
- func (o *CloudTargetModifyParams) SetIgnoreWarnings(ignoreWarnings *bool)
- func (o *CloudTargetModifyParams) SetInfo(info *models.CloudTarget)
- func (o *CloudTargetModifyParams) SetReturnTimeout(returnTimeout *int64)
- func (o *CloudTargetModifyParams) SetTimeout(timeout time.Duration)
- func (o *CloudTargetModifyParams) SetUUID(uuid string)
- func (o *CloudTargetModifyParams) WithCheckOnly(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) WithIgnoreWarnings(ignoreWarnings *bool) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithInfo(info *models.CloudTarget) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithReturnTimeout(returnTimeout *int64) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithTimeout(timeout time.Duration) *CloudTargetModifyParams
- func (o *CloudTargetModifyParams) WithUUID(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 ¶
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 ¶
func (a *Client) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCreateCreated, *CloudTargetCreateAccepted, error)
CloudTargetCreate Creates a cloud target.
### Required properties * `name` - Name for the cloud target. * `owner` - Owner of the target: _fabricpool_, _snapmirror_. * `provider_type` - Type of cloud provider: _AWS_S3_, _Azure_Cloud_, _SGWS_, _IBM_COS_, _AliCloud_, _GoogleCloud_, _ONTAP_S3_. * `server` - Fully qualified domain name of the object store server. Required when `provider_type` is one of the following: _SGWS_, _IBM_COS_, _AliCloud_. * `container` - Data bucket/container name. * `access_key` - Access key ID if `provider_type` is not _Azure_Cloud_ and `authentication_type` is _key_. * `secret_password` - Secret access key if `provider_type` is not _Azure_Cloud_ and `authentication_type` is _key_. * `azure_account` - Azure account if `provider_type` is _Azure_Cloud_. * `azure_private_key` - Azure access key if `provider_type` is _Azure_Cloud_. * `cap_url` - Full URL of the request to a CAP server for retrieving temporary credentials if `authentication_type` is _cap_. * `snapmirror_use` - Use of the cloud target if `owner` is _snapmirror_: data, metadata. ### Recommended optional properties * `authentication_type` - Authentication used to access the target: _key_, _cap_, _ec2_iam_, _gcp_sa_, _azure_msi_. * `ssl_enabled` - SSL/HTTPS enabled or disabled. * `port` - Port number of the object store that ONTAP uses when establishing a connection. * `ipspace` - IPspace to use in order to reach the cloud target. * `use_http_proxy` - Use the HTTP proxy when connecting to the object store server. * `azure_sas_token` - Shared access signature to grant limited access to Azure storage account resources. * `svm.name` or `svm.uuid` - Name or UUID of SVM if `owner` is _snapmirror_. * `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 ¶
func (a *Client) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetDeleteOK, *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) (*CloudTargetModifyOK, *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 may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface { CloudTargetCollectionGet(params *CloudTargetCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCollectionGetOK, error) CloudTargetCreate(params *CloudTargetCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetCreateCreated, *CloudTargetCreateAccepted, error) CloudTargetDelete(params *CloudTargetDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetDeleteOK, *CloudTargetDeleteAccepted, error) CloudTargetGet(params *CloudTargetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetGetOK, error) CloudTargetModify(params *CloudTargetModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloudTargetModifyOK, *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.
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 ¶
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) Code ¶
func (o *CloudTargetCollectionGetOK) Code() int
Code gets the status code for the cloud target collection get o k response
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 */ 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 ¶
func (o *CloudTargetCollectionGetParams) WithAccessKey(accessKey *string) *CloudTargetCollectionGetParams
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 ¶
func (o *CloudTargetCollectionGetParams) WithCapURL(capURL *string) *CloudTargetCollectionGetParams
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 ¶
func (o *CloudTargetCollectionGetParams) WithContainer(container *string) *CloudTargetCollectionGetParams
WithContainer 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) WithFields ¶
func (o *CloudTargetCollectionGetParams) WithFields(fields []string) *CloudTargetCollectionGetParams
WithFields 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) 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 ¶
func (o *CloudTargetCollectionGetParams) WithMaxRecords(maxRecords *int64) *CloudTargetCollectionGetParams
WithMaxRecords adds the maxRecords to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithName ¶
func (o *CloudTargetCollectionGetParams) WithName(name *string) *CloudTargetCollectionGetParams
WithName adds the name to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithOrderBy ¶
func (o *CloudTargetCollectionGetParams) WithOrderBy(orderBy []string) *CloudTargetCollectionGetParams
WithOrderBy adds the orderBy to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithOwner ¶
func (o *CloudTargetCollectionGetParams) WithOwner(owner *string) *CloudTargetCollectionGetParams
WithOwner adds the owner to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithPort ¶
func (o *CloudTargetCollectionGetParams) WithPort(port *int64) *CloudTargetCollectionGetParams
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 ¶
func (o *CloudTargetCollectionGetParams) WithScope(scope *string) *CloudTargetCollectionGetParams
WithScope adds the scope to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithServer ¶
func (o *CloudTargetCollectionGetParams) WithServer(server *string) *CloudTargetCollectionGetParams
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 ¶
func (o *CloudTargetCollectionGetParams) WithSvmName(svmName *string) *CloudTargetCollectionGetParams
WithSvmName adds the svmName to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithSvmUUID ¶
func (o *CloudTargetCollectionGetParams) WithSvmUUID(svmUUID *string) *CloudTargetCollectionGetParams
WithSvmUUID adds the svmUUID 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) WithURLStyle ¶
func (o *CloudTargetCollectionGetParams) WithURLStyle(uRLStyle *string) *CloudTargetCollectionGetParams
WithURLStyle adds the uRLStyle to the cloud target collection get params
func (*CloudTargetCollectionGetParams) WithUUID ¶
func (o *CloudTargetCollectionGetParams) WithUUID(uuid *string) *CloudTargetCollectionGetParams
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 ¶
func (o *CloudTargetCollectionGetParams) WithUsed(used *int64) *CloudTargetCollectionGetParams
WithUsed 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 { /* 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 (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 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 (o *CloudTargetCreateCreated) GetPayload() *models.JobLinkResponse
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 (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. */ 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 ¶
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) WithIgnoreWarnings ¶
func (o *CloudTargetCreateParams) WithIgnoreWarnings(ignoreWarnings *bool) *CloudTargetCreateParams
WithIgnoreWarnings 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) 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 ¶
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) 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 (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. 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 (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 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 ¶
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) WithReturnTimeout ¶
func (o *CloudTargetDeleteParams) WithReturnTimeout(returnTimeout *int64) *CloudTargetDeleteParams
WithReturnTimeout 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) WithUUID ¶
func (o *CloudTargetDeleteParams) WithUUID(uuid string) *CloudTargetDeleteParams
WithUUID 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) 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 ¶
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) 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 ¶
func (o *CloudTargetGetParams) WithUUID(uuid string) *CloudTargetGetParams
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 (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. 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 (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 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 ¶
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) WithIgnoreWarnings ¶
func (o *CloudTargetModifyParams) WithIgnoreWarnings(ignoreWarnings *bool) *CloudTargetModifyParams
WithIgnoreWarnings 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) WithReturnTimeout ¶
func (o *CloudTargetModifyParams) WithReturnTimeout(returnTimeout *int64) *CloudTargetModifyParams
WithReturnTimeout 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) WithUUID ¶
func (o *CloudTargetModifyParams) WithUUID(uuid string) *CloudTargetModifyParams
WithUUID 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