Documentation ¶
Index ¶
- Constants
- type AddAzureDatabaseBody
- type AddAzureDatabaseDefault
- type AddAzureDatabaseDefaultBody
- type AddAzureDatabaseOK
- type AddAzureDatabaseParams
- func NewAddAzureDatabaseParams() *AddAzureDatabaseParams
- func NewAddAzureDatabaseParamsWithContext(ctx context.Context) *AddAzureDatabaseParams
- func NewAddAzureDatabaseParamsWithHTTPClient(client *http.Client) *AddAzureDatabaseParams
- func NewAddAzureDatabaseParamsWithTimeout(timeout time.Duration) *AddAzureDatabaseParams
- func (o *AddAzureDatabaseParams) SetBody(body AddAzureDatabaseBody)
- func (o *AddAzureDatabaseParams) SetContext(ctx context.Context)
- func (o *AddAzureDatabaseParams) SetHTTPClient(client *http.Client)
- func (o *AddAzureDatabaseParams) SetTimeout(timeout time.Duration)
- func (o *AddAzureDatabaseParams) WithBody(body AddAzureDatabaseBody) *AddAzureDatabaseParams
- func (o *AddAzureDatabaseParams) WithContext(ctx context.Context) *AddAzureDatabaseParams
- func (o *AddAzureDatabaseParams) WithHTTPClient(client *http.Client) *AddAzureDatabaseParams
- func (o *AddAzureDatabaseParams) WithTimeout(timeout time.Duration) *AddAzureDatabaseParams
- func (o *AddAzureDatabaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAzureDatabaseReader
- type AzureDatabaseInstanceItems0
- type Client
- type ClientService
- type DetailsItems0
- type DiscoverAzureDatabaseBody
- type DiscoverAzureDatabaseDefault
- type DiscoverAzureDatabaseDefaultBody
- type DiscoverAzureDatabaseOK
- type DiscoverAzureDatabaseOKBody
- type DiscoverAzureDatabaseParams
- func NewDiscoverAzureDatabaseParams() *DiscoverAzureDatabaseParams
- func NewDiscoverAzureDatabaseParamsWithContext(ctx context.Context) *DiscoverAzureDatabaseParams
- func NewDiscoverAzureDatabaseParamsWithHTTPClient(client *http.Client) *DiscoverAzureDatabaseParams
- func NewDiscoverAzureDatabaseParamsWithTimeout(timeout time.Duration) *DiscoverAzureDatabaseParams
- func (o *DiscoverAzureDatabaseParams) SetBody(body DiscoverAzureDatabaseBody)
- func (o *DiscoverAzureDatabaseParams) SetContext(ctx context.Context)
- func (o *DiscoverAzureDatabaseParams) SetHTTPClient(client *http.Client)
- func (o *DiscoverAzureDatabaseParams) SetTimeout(timeout time.Duration)
- func (o *DiscoverAzureDatabaseParams) WithBody(body DiscoverAzureDatabaseBody) *DiscoverAzureDatabaseParams
- func (o *DiscoverAzureDatabaseParams) WithContext(ctx context.Context) *DiscoverAzureDatabaseParams
- func (o *DiscoverAzureDatabaseParams) WithHTTPClient(client *http.Client) *DiscoverAzureDatabaseParams
- func (o *DiscoverAzureDatabaseParams) WithTimeout(timeout time.Duration) *DiscoverAzureDatabaseParams
- func (o *DiscoverAzureDatabaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DiscoverAzureDatabaseReader
Constants ¶
const ( // AddAzureDatabaseBodyTypeDISCOVERAZUREDATABASETYPEINVALID captures enum value "DISCOVER_AZURE_DATABASE_TYPE_INVALID" AddAzureDatabaseBodyTypeDISCOVERAZUREDATABASETYPEINVALID string = "DISCOVER_AZURE_DATABASE_TYPE_INVALID" // AddAzureDatabaseBodyTypeDISCOVERAZUREDATABASETYPEMYSQL captures enum value "DISCOVER_AZURE_DATABASE_TYPE_MYSQL" AddAzureDatabaseBodyTypeDISCOVERAZUREDATABASETYPEMYSQL string = "DISCOVER_AZURE_DATABASE_TYPE_MYSQL" // AddAzureDatabaseBodyTypeDISCOVERAZUREDATABASETYPEPOSTGRESQL captures enum value "DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL" AddAzureDatabaseBodyTypeDISCOVERAZUREDATABASETYPEPOSTGRESQL string = "DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL" )
const ( // AzureDatabaseInstanceItems0TypeDISCOVERAZUREDATABASETYPEINVALID captures enum value "DISCOVER_AZURE_DATABASE_TYPE_INVALID" AzureDatabaseInstanceItems0TypeDISCOVERAZUREDATABASETYPEINVALID string = "DISCOVER_AZURE_DATABASE_TYPE_INVALID" // AzureDatabaseInstanceItems0TypeDISCOVERAZUREDATABASETYPEMYSQL captures enum value "DISCOVER_AZURE_DATABASE_TYPE_MYSQL" AzureDatabaseInstanceItems0TypeDISCOVERAZUREDATABASETYPEMYSQL string = "DISCOVER_AZURE_DATABASE_TYPE_MYSQL" // AzureDatabaseInstanceItems0TypeDISCOVERAZUREDATABASETYPEPOSTGRESQL captures enum value "DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL" AzureDatabaseInstanceItems0TypeDISCOVERAZUREDATABASETYPEPOSTGRESQL string = "DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAzureDatabaseBody ¶
type AddAzureDatabaseBody struct { // Azure database location. Region string `json:"region,omitempty"` // Azure database availability zone. Az string `json:"az,omitempty"` // Azure database instance ID. InstanceID string `json:"instance_id,omitempty"` // Represents a purchasable Stock Keeping Unit (SKU) under a product. // https://docs.microsoft.com/en-us/partner-center/develop/product-resources#sku. NodeModel string `json:"node_model,omitempty"` // Address used to connect to it. Address string `json:"address,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Unique across all Nodes user-defined name. Defaults to Azure Database instance ID. NodeName string `json:"node_name,omitempty"` // Unique across all Services user-defined name. Defaults to Azure Database instance ID. ServiceName string `json:"service_name,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Username for scraping metrics. Username string `json:"username,omitempty"` // Password for scraping metrics. Password string `json:"password,omitempty"` // Azure client ID. AzureClientID string `json:"azure_client_id,omitempty"` // Azure client secret. AzureClientSecret string `json:"azure_client_secret,omitempty"` // Azure tanant ID. AzureTenantID string `json:"azure_tenant_id,omitempty"` // Azure subscription ID. AzureSubscriptionID string `json:"azure_subscription_id,omitempty"` // Azure resource group. AzureResourceGroup string `json:"azure_resource_group,omitempty"` // If true, adds azure_database_exporter. AzureDatabaseExporter bool `json:"azure_database_exporter,omitempty"` // If true, adds qan-mysql-perfschema-agent or qan-postgresql-pgstatements-agent. QAN bool `json:"qan,omitempty"` // Custom user-assigned labels for Node and Service. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Skip connection check. SkipConnectionCheck bool `json:"skip_connection_check,omitempty"` // Use TLS for database connections. TLS bool `json:"tls,omitempty"` // Skip TLS certificate and hostname validation. TLSSkipVerify bool `json:"tls_skip_verify,omitempty"` // Disable query examples. DisableQueryExamples bool `json:"disable_query_examples,omitempty"` // Tablestats group collectors will be disabled if there are more than that number of tables. // If zero, server's default value is used. // Use negative value to disable them. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // DiscoverAzureDatabaseType describes supported Azure Database instance engines. // // - DISCOVER_AZURE_DATABASE_TYPE_MYSQL: MySQL type: microsoft.dbformysql or MariaDB type: microsoft.dbformariadb // - DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL: PostgreSQL type: microsoft.dbformysql // Enum: [DISCOVER_AZURE_DATABASE_TYPE_INVALID DISCOVER_AZURE_DATABASE_TYPE_MYSQL DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL] Type *string `json:"type,omitempty"` }
AddAzureDatabaseBody add azure database body swagger:model AddAzureDatabaseBody
func (*AddAzureDatabaseBody) MarshalBinary ¶
func (o *AddAzureDatabaseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAzureDatabaseBody) UnmarshalBinary ¶
func (o *AddAzureDatabaseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAzureDatabaseDefault ¶
type AddAzureDatabaseDefault struct { Payload *AddAzureDatabaseDefaultBody // contains filtered or unexported fields }
AddAzureDatabaseDefault handles this case with default header values.
An unexpected error response.
func NewAddAzureDatabaseDefault ¶
func NewAddAzureDatabaseDefault(code int) *AddAzureDatabaseDefault
NewAddAzureDatabaseDefault creates a AddAzureDatabaseDefault with default headers values
func (*AddAzureDatabaseDefault) Code ¶
func (o *AddAzureDatabaseDefault) Code() int
Code gets the status code for the add azure database default response
func (*AddAzureDatabaseDefault) Error ¶
func (o *AddAzureDatabaseDefault) Error() string
func (*AddAzureDatabaseDefault) GetPayload ¶
func (o *AddAzureDatabaseDefault) GetPayload() *AddAzureDatabaseDefaultBody
type AddAzureDatabaseDefaultBody ¶
type AddAzureDatabaseDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddAzureDatabaseDefaultBody add azure database default body swagger:model AddAzureDatabaseDefaultBody
func (*AddAzureDatabaseDefaultBody) MarshalBinary ¶
func (o *AddAzureDatabaseDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAzureDatabaseDefaultBody) UnmarshalBinary ¶
func (o *AddAzureDatabaseDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAzureDatabaseOK ¶
type AddAzureDatabaseOK struct {
Payload interface{}
}
AddAzureDatabaseOK handles this case with default header values.
A successful response.
func NewAddAzureDatabaseOK ¶
func NewAddAzureDatabaseOK() *AddAzureDatabaseOK
NewAddAzureDatabaseOK creates a AddAzureDatabaseOK with default headers values
func (*AddAzureDatabaseOK) Error ¶
func (o *AddAzureDatabaseOK) Error() string
func (*AddAzureDatabaseOK) GetPayload ¶
func (o *AddAzureDatabaseOK) GetPayload() interface{}
type AddAzureDatabaseParams ¶
type AddAzureDatabaseParams struct { /*Body*/ Body AddAzureDatabaseBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddAzureDatabaseParams contains all the parameters to send to the API endpoint for the add azure database operation typically these are written to a http.Request
func NewAddAzureDatabaseParams ¶
func NewAddAzureDatabaseParams() *AddAzureDatabaseParams
NewAddAzureDatabaseParams creates a new AddAzureDatabaseParams object with the default values initialized.
func NewAddAzureDatabaseParamsWithContext ¶
func NewAddAzureDatabaseParamsWithContext(ctx context.Context) *AddAzureDatabaseParams
NewAddAzureDatabaseParamsWithContext creates a new AddAzureDatabaseParams object with the default values initialized, and the ability to set a context for a request
func NewAddAzureDatabaseParamsWithHTTPClient ¶
func NewAddAzureDatabaseParamsWithHTTPClient(client *http.Client) *AddAzureDatabaseParams
NewAddAzureDatabaseParamsWithHTTPClient creates a new AddAzureDatabaseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddAzureDatabaseParamsWithTimeout ¶
func NewAddAzureDatabaseParamsWithTimeout(timeout time.Duration) *AddAzureDatabaseParams
NewAddAzureDatabaseParamsWithTimeout creates a new AddAzureDatabaseParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddAzureDatabaseParams) SetBody ¶
func (o *AddAzureDatabaseParams) SetBody(body AddAzureDatabaseBody)
SetBody adds the body to the add azure database params
func (*AddAzureDatabaseParams) SetContext ¶
func (o *AddAzureDatabaseParams) SetContext(ctx context.Context)
SetContext adds the context to the add azure database params
func (*AddAzureDatabaseParams) SetHTTPClient ¶
func (o *AddAzureDatabaseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add azure database params
func (*AddAzureDatabaseParams) SetTimeout ¶
func (o *AddAzureDatabaseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add azure database params
func (*AddAzureDatabaseParams) WithBody ¶
func (o *AddAzureDatabaseParams) WithBody(body AddAzureDatabaseBody) *AddAzureDatabaseParams
WithBody adds the body to the add azure database params
func (*AddAzureDatabaseParams) WithContext ¶
func (o *AddAzureDatabaseParams) WithContext(ctx context.Context) *AddAzureDatabaseParams
WithContext adds the context to the add azure database params
func (*AddAzureDatabaseParams) WithHTTPClient ¶
func (o *AddAzureDatabaseParams) WithHTTPClient(client *http.Client) *AddAzureDatabaseParams
WithHTTPClient adds the HTTPClient to the add azure database params
func (*AddAzureDatabaseParams) WithTimeout ¶
func (o *AddAzureDatabaseParams) WithTimeout(timeout time.Duration) *AddAzureDatabaseParams
WithTimeout adds the timeout to the add azure database params
func (*AddAzureDatabaseParams) WriteToRequest ¶
func (o *AddAzureDatabaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddAzureDatabaseReader ¶
type AddAzureDatabaseReader struct {
// contains filtered or unexported fields
}
AddAzureDatabaseReader is a Reader for the AddAzureDatabase structure.
func (*AddAzureDatabaseReader) ReadResponse ¶
func (o *AddAzureDatabaseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AzureDatabaseInstanceItems0 ¶
type AzureDatabaseInstanceItems0 struct { // Azure database instance ID. InstanceID string `json:"instance_id,omitempty"` // Azure database location. Region string `json:"region,omitempty"` // Azure database server name. ServiceName string `json:"service_name,omitempty"` // Database username. Username string `json:"username,omitempty"` // Address used to connect to it. Address string `json:"address,omitempty"` // Azure Resource group. AzureResourceGroup string `json:"azure_resource_group,omitempty"` // Environment tag. Environment string `json:"environment,omitempty"` // DiscoverAzureDatabaseType describes supported Azure Database instance engines. // // - DISCOVER_AZURE_DATABASE_TYPE_MYSQL: MySQL type: microsoft.dbformysql or MariaDB type: microsoft.dbformariadb // - DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL: PostgreSQL type: microsoft.dbformysql // Enum: [DISCOVER_AZURE_DATABASE_TYPE_INVALID DISCOVER_AZURE_DATABASE_TYPE_MYSQL DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL] Type *string `json:"type,omitempty"` // Azure database availability zone. Az string `json:"az,omitempty"` // Represents a purchasable Stock Keeping Unit (SKU) under a product. // https://docs.microsoft.com/en-us/partner-center/develop/product-resources#sku. NodeModel string `json:"node_model,omitempty"` }
AzureDatabaseInstanceItems0 DiscoverAzureDatabaseInstance models an unique Azure Database instance for the list of instances returned by Discovery. swagger:model AzureDatabaseInstanceItems0
func (*AzureDatabaseInstanceItems0) MarshalBinary ¶
func (o *AzureDatabaseInstanceItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureDatabaseInstanceItems0) UnmarshalBinary ¶
func (o *AzureDatabaseInstanceItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for azure database API
func (*Client) AddAzureDatabase ¶
func (a *Client) AddAzureDatabase(params *AddAzureDatabaseParams) (*AddAzureDatabaseOK, error)
AddAzureDatabase adds azure database adds azure database instance
func (*Client) DiscoverAzureDatabase ¶
func (a *Client) DiscoverAzureDatabase(params *DiscoverAzureDatabaseParams) (*DiscoverAzureDatabaseOK, error)
DiscoverAzureDatabase discovers azure database discovers azure database for my SQL maria DB and postgre SQL server instances
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AddAzureDatabase(params *AddAzureDatabaseParams) (*AddAzureDatabaseOK, error) DiscoverAzureDatabase(params *DiscoverAzureDatabaseParams) (*DiscoverAzureDatabaseOK, 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 azure database API client.
type DetailsItems0 ¶
type DetailsItems0 struct { // type url TypeURL string `json:"type_url,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 details items0 swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverAzureDatabaseBody ¶
type DiscoverAzureDatabaseBody struct { // Azure client ID. AzureClientID string `json:"azure_client_id,omitempty"` // Azure client secret. AzureClientSecret string `json:"azure_client_secret,omitempty"` // Azure tanant ID. AzureTenantID string `json:"azure_tenant_id,omitempty"` // Azure subscription ID. AzureSubscriptionID string `json:"azure_subscription_id,omitempty"` }
DiscoverAzureDatabaseBody DiscoverAzureDatabaseRequest discover azure databases request. swagger:model DiscoverAzureDatabaseBody
func (*DiscoverAzureDatabaseBody) MarshalBinary ¶
func (o *DiscoverAzureDatabaseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverAzureDatabaseBody) UnmarshalBinary ¶
func (o *DiscoverAzureDatabaseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverAzureDatabaseDefault ¶
type DiscoverAzureDatabaseDefault struct { Payload *DiscoverAzureDatabaseDefaultBody // contains filtered or unexported fields }
DiscoverAzureDatabaseDefault handles this case with default header values.
An unexpected error response.
func NewDiscoverAzureDatabaseDefault ¶
func NewDiscoverAzureDatabaseDefault(code int) *DiscoverAzureDatabaseDefault
NewDiscoverAzureDatabaseDefault creates a DiscoverAzureDatabaseDefault with default headers values
func (*DiscoverAzureDatabaseDefault) Code ¶
func (o *DiscoverAzureDatabaseDefault) Code() int
Code gets the status code for the discover azure database default response
func (*DiscoverAzureDatabaseDefault) Error ¶
func (o *DiscoverAzureDatabaseDefault) Error() string
func (*DiscoverAzureDatabaseDefault) GetPayload ¶
func (o *DiscoverAzureDatabaseDefault) GetPayload() *DiscoverAzureDatabaseDefaultBody
type DiscoverAzureDatabaseDefaultBody ¶
type DiscoverAzureDatabaseDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
DiscoverAzureDatabaseDefaultBody discover azure database default body swagger:model DiscoverAzureDatabaseDefaultBody
func (*DiscoverAzureDatabaseDefaultBody) MarshalBinary ¶
func (o *DiscoverAzureDatabaseDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverAzureDatabaseDefaultBody) UnmarshalBinary ¶
func (o *DiscoverAzureDatabaseDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverAzureDatabaseOK ¶
type DiscoverAzureDatabaseOK struct {
Payload *DiscoverAzureDatabaseOKBody
}
DiscoverAzureDatabaseOK handles this case with default header values.
A successful response.
func NewDiscoverAzureDatabaseOK ¶
func NewDiscoverAzureDatabaseOK() *DiscoverAzureDatabaseOK
NewDiscoverAzureDatabaseOK creates a DiscoverAzureDatabaseOK with default headers values
func (*DiscoverAzureDatabaseOK) Error ¶
func (o *DiscoverAzureDatabaseOK) Error() string
func (*DiscoverAzureDatabaseOK) GetPayload ¶
func (o *DiscoverAzureDatabaseOK) GetPayload() *DiscoverAzureDatabaseOKBody
type DiscoverAzureDatabaseOKBody ¶
type DiscoverAzureDatabaseOKBody struct { // azure database instance AzureDatabaseInstance []*AzureDatabaseInstanceItems0 `json:"azure_database_instance"` }
DiscoverAzureDatabaseOKBody DiscoverAzureDatabaseResponse discover azure databases response. swagger:model DiscoverAzureDatabaseOKBody
func (*DiscoverAzureDatabaseOKBody) MarshalBinary ¶
func (o *DiscoverAzureDatabaseOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverAzureDatabaseOKBody) UnmarshalBinary ¶
func (o *DiscoverAzureDatabaseOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverAzureDatabaseParams ¶
type DiscoverAzureDatabaseParams struct { /*Body*/ Body DiscoverAzureDatabaseBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DiscoverAzureDatabaseParams contains all the parameters to send to the API endpoint for the discover azure database operation typically these are written to a http.Request
func NewDiscoverAzureDatabaseParams ¶
func NewDiscoverAzureDatabaseParams() *DiscoverAzureDatabaseParams
NewDiscoverAzureDatabaseParams creates a new DiscoverAzureDatabaseParams object with the default values initialized.
func NewDiscoverAzureDatabaseParamsWithContext ¶
func NewDiscoverAzureDatabaseParamsWithContext(ctx context.Context) *DiscoverAzureDatabaseParams
NewDiscoverAzureDatabaseParamsWithContext creates a new DiscoverAzureDatabaseParams object with the default values initialized, and the ability to set a context for a request
func NewDiscoverAzureDatabaseParamsWithHTTPClient ¶
func NewDiscoverAzureDatabaseParamsWithHTTPClient(client *http.Client) *DiscoverAzureDatabaseParams
NewDiscoverAzureDatabaseParamsWithHTTPClient creates a new DiscoverAzureDatabaseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDiscoverAzureDatabaseParamsWithTimeout ¶
func NewDiscoverAzureDatabaseParamsWithTimeout(timeout time.Duration) *DiscoverAzureDatabaseParams
NewDiscoverAzureDatabaseParamsWithTimeout creates a new DiscoverAzureDatabaseParams object with the default values initialized, and the ability to set a timeout on a request
func (*DiscoverAzureDatabaseParams) SetBody ¶
func (o *DiscoverAzureDatabaseParams) SetBody(body DiscoverAzureDatabaseBody)
SetBody adds the body to the discover azure database params
func (*DiscoverAzureDatabaseParams) SetContext ¶
func (o *DiscoverAzureDatabaseParams) SetContext(ctx context.Context)
SetContext adds the context to the discover azure database params
func (*DiscoverAzureDatabaseParams) SetHTTPClient ¶
func (o *DiscoverAzureDatabaseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the discover azure database params
func (*DiscoverAzureDatabaseParams) SetTimeout ¶
func (o *DiscoverAzureDatabaseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the discover azure database params
func (*DiscoverAzureDatabaseParams) WithBody ¶
func (o *DiscoverAzureDatabaseParams) WithBody(body DiscoverAzureDatabaseBody) *DiscoverAzureDatabaseParams
WithBody adds the body to the discover azure database params
func (*DiscoverAzureDatabaseParams) WithContext ¶
func (o *DiscoverAzureDatabaseParams) WithContext(ctx context.Context) *DiscoverAzureDatabaseParams
WithContext adds the context to the discover azure database params
func (*DiscoverAzureDatabaseParams) WithHTTPClient ¶
func (o *DiscoverAzureDatabaseParams) WithHTTPClient(client *http.Client) *DiscoverAzureDatabaseParams
WithHTTPClient adds the HTTPClient to the discover azure database params
func (*DiscoverAzureDatabaseParams) WithTimeout ¶
func (o *DiscoverAzureDatabaseParams) WithTimeout(timeout time.Duration) *DiscoverAzureDatabaseParams
WithTimeout adds the timeout to the discover azure database params
func (*DiscoverAzureDatabaseParams) WriteToRequest ¶
func (o *DiscoverAzureDatabaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DiscoverAzureDatabaseReader ¶
type DiscoverAzureDatabaseReader struct {
// contains filtered or unexported fields
}
DiscoverAzureDatabaseReader is a Reader for the DiscoverAzureDatabase structure.
func (*DiscoverAzureDatabaseReader) ReadResponse ¶
func (o *DiscoverAzureDatabaseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.