Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetAzureDiskEncryptionSetsForbidden
- func (o *GetAzureDiskEncryptionSetsForbidden) Error() string
- func (o *GetAzureDiskEncryptionSetsForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetAzureDiskEncryptionSetsForbidden) IsClientError() bool
- func (o *GetAzureDiskEncryptionSetsForbidden) IsCode(code int) bool
- func (o *GetAzureDiskEncryptionSetsForbidden) IsRedirect() bool
- func (o *GetAzureDiskEncryptionSetsForbidden) IsServerError() bool
- func (o *GetAzureDiskEncryptionSetsForbidden) IsSuccess() bool
- func (o *GetAzureDiskEncryptionSetsForbidden) String() string
- type GetAzureDiskEncryptionSetsNotFound
- func (o *GetAzureDiskEncryptionSetsNotFound) Error() string
- func (o *GetAzureDiskEncryptionSetsNotFound) GetPayload() *models.Error
- func (o *GetAzureDiskEncryptionSetsNotFound) IsClientError() bool
- func (o *GetAzureDiskEncryptionSetsNotFound) IsCode(code int) bool
- func (o *GetAzureDiskEncryptionSetsNotFound) IsRedirect() bool
- func (o *GetAzureDiskEncryptionSetsNotFound) IsServerError() bool
- func (o *GetAzureDiskEncryptionSetsNotFound) IsSuccess() bool
- func (o *GetAzureDiskEncryptionSetsNotFound) String() string
- type GetAzureDiskEncryptionSetsOK
- func (o *GetAzureDiskEncryptionSetsOK) Error() string
- func (o *GetAzureDiskEncryptionSetsOK) GetPayload() *models.DiskEncryptionSetList
- func (o *GetAzureDiskEncryptionSetsOK) IsClientError() bool
- func (o *GetAzureDiskEncryptionSetsOK) IsCode(code int) bool
- func (o *GetAzureDiskEncryptionSetsOK) IsRedirect() bool
- func (o *GetAzureDiskEncryptionSetsOK) IsServerError() bool
- func (o *GetAzureDiskEncryptionSetsOK) IsSuccess() bool
- func (o *GetAzureDiskEncryptionSetsOK) String() string
- type GetAzureDiskEncryptionSetsParams
- func NewGetAzureDiskEncryptionSetsParams() *GetAzureDiskEncryptionSetsParams
- func NewGetAzureDiskEncryptionSetsParamsWithContext(ctx context.Context) *GetAzureDiskEncryptionSetsParams
- func NewGetAzureDiskEncryptionSetsParamsWithHTTPClient(client *http.Client) *GetAzureDiskEncryptionSetsParams
- func NewGetAzureDiskEncryptionSetsParamsWithTimeout(timeout time.Duration) *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetAzureDiskEncryptionSetsParams) SetContext(ctx context.Context)
- func (o *GetAzureDiskEncryptionSetsParams) SetDefaults()
- func (o *GetAzureDiskEncryptionSetsParams) SetHTTPClient(client *http.Client)
- func (o *GetAzureDiskEncryptionSetsParams) SetRegionID(regionID string)
- func (o *GetAzureDiskEncryptionSetsParams) SetTimeout(timeout time.Duration)
- func (o *GetAzureDiskEncryptionSetsParams) WithAPIVersion(aPIVersion *string) *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) WithContext(ctx context.Context) *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) WithDefaults() *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) WithHTTPClient(client *http.Client) *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) WithRegionID(regionID string) *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) WithTimeout(timeout time.Duration) *GetAzureDiskEncryptionSetsParams
- func (o *GetAzureDiskEncryptionSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAzureDiskEncryptionSetsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for fabric azure disk encryption sets API
func (*Client) GetAzureDiskEncryptionSets ¶
func (a *Client) GetAzureDiskEncryptionSets(params *GetAzureDiskEncryptionSetsParams, opts ...ClientOption) (*GetAzureDiskEncryptionSetsOK, error)
GetAzureDiskEncryptionSets gets azure disk encryption sets
Get all Azure disk encryption sets
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAzureDiskEncryptionSets(params *GetAzureDiskEncryptionSetsParams, opts ...ClientOption) (*GetAzureDiskEncryptionSetsOK, 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 fabric azure disk encryption sets API client.
type GetAzureDiskEncryptionSetsForbidden ¶
type GetAzureDiskEncryptionSetsForbidden struct {
Payload *models.ServiceErrorResponse
}
GetAzureDiskEncryptionSetsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAzureDiskEncryptionSetsForbidden ¶
func NewGetAzureDiskEncryptionSetsForbidden() *GetAzureDiskEncryptionSetsForbidden
NewGetAzureDiskEncryptionSetsForbidden creates a GetAzureDiskEncryptionSetsForbidden with default headers values
func (*GetAzureDiskEncryptionSetsForbidden) Error ¶
func (o *GetAzureDiskEncryptionSetsForbidden) Error() string
func (*GetAzureDiskEncryptionSetsForbidden) GetPayload ¶
func (o *GetAzureDiskEncryptionSetsForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetAzureDiskEncryptionSetsForbidden) IsClientError ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsForbidden) IsClientError() bool
IsClientError returns true when this get azure disk encryption sets forbidden response has a 4xx status code
func (*GetAzureDiskEncryptionSetsForbidden) IsCode ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsForbidden) IsCode(code int) bool
IsCode returns true when this get azure disk encryption sets forbidden response a status code equal to that given
func (*GetAzureDiskEncryptionSetsForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsForbidden) IsRedirect() bool
IsRedirect returns true when this get azure disk encryption sets forbidden response has a 3xx status code
func (*GetAzureDiskEncryptionSetsForbidden) IsServerError ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsForbidden) IsServerError() bool
IsServerError returns true when this get azure disk encryption sets forbidden response has a 5xx status code
func (*GetAzureDiskEncryptionSetsForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsForbidden) IsSuccess() bool
IsSuccess returns true when this get azure disk encryption sets forbidden response has a 2xx status code
func (*GetAzureDiskEncryptionSetsForbidden) String ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsForbidden) String() string
type GetAzureDiskEncryptionSetsNotFound ¶
GetAzureDiskEncryptionSetsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAzureDiskEncryptionSetsNotFound ¶
func NewGetAzureDiskEncryptionSetsNotFound() *GetAzureDiskEncryptionSetsNotFound
NewGetAzureDiskEncryptionSetsNotFound creates a GetAzureDiskEncryptionSetsNotFound with default headers values
func (*GetAzureDiskEncryptionSetsNotFound) Error ¶
func (o *GetAzureDiskEncryptionSetsNotFound) Error() string
func (*GetAzureDiskEncryptionSetsNotFound) GetPayload ¶
func (o *GetAzureDiskEncryptionSetsNotFound) GetPayload() *models.Error
func (*GetAzureDiskEncryptionSetsNotFound) IsClientError ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsNotFound) IsClientError() bool
IsClientError returns true when this get azure disk encryption sets not found response has a 4xx status code
func (*GetAzureDiskEncryptionSetsNotFound) IsCode ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsNotFound) IsCode(code int) bool
IsCode returns true when this get azure disk encryption sets not found response a status code equal to that given
func (*GetAzureDiskEncryptionSetsNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsNotFound) IsRedirect() bool
IsRedirect returns true when this get azure disk encryption sets not found response has a 3xx status code
func (*GetAzureDiskEncryptionSetsNotFound) IsServerError ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsNotFound) IsServerError() bool
IsServerError returns true when this get azure disk encryption sets not found response has a 5xx status code
func (*GetAzureDiskEncryptionSetsNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsNotFound) IsSuccess() bool
IsSuccess returns true when this get azure disk encryption sets not found response has a 2xx status code
func (*GetAzureDiskEncryptionSetsNotFound) String ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsNotFound) String() string
type GetAzureDiskEncryptionSetsOK ¶
type GetAzureDiskEncryptionSetsOK struct {
Payload *models.DiskEncryptionSetList
}
GetAzureDiskEncryptionSetsOK describes a response with status code 200, with default header values.
successful operation
func NewGetAzureDiskEncryptionSetsOK ¶
func NewGetAzureDiskEncryptionSetsOK() *GetAzureDiskEncryptionSetsOK
NewGetAzureDiskEncryptionSetsOK creates a GetAzureDiskEncryptionSetsOK with default headers values
func (*GetAzureDiskEncryptionSetsOK) Error ¶
func (o *GetAzureDiskEncryptionSetsOK) Error() string
func (*GetAzureDiskEncryptionSetsOK) GetPayload ¶
func (o *GetAzureDiskEncryptionSetsOK) GetPayload() *models.DiskEncryptionSetList
func (*GetAzureDiskEncryptionSetsOK) IsClientError ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsOK) IsClientError() bool
IsClientError returns true when this get azure disk encryption sets o k response has a 4xx status code
func (*GetAzureDiskEncryptionSetsOK) IsCode ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsOK) IsCode(code int) bool
IsCode returns true when this get azure disk encryption sets o k response a status code equal to that given
func (*GetAzureDiskEncryptionSetsOK) IsRedirect ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsOK) IsRedirect() bool
IsRedirect returns true when this get azure disk encryption sets o k response has a 3xx status code
func (*GetAzureDiskEncryptionSetsOK) IsServerError ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsOK) IsServerError() bool
IsServerError returns true when this get azure disk encryption sets o k response has a 5xx status code
func (*GetAzureDiskEncryptionSetsOK) IsSuccess ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsOK) IsSuccess() bool
IsSuccess returns true when this get azure disk encryption sets o k response has a 2xx status code
func (*GetAzureDiskEncryptionSetsOK) String ¶ added in v0.5.0
func (o *GetAzureDiskEncryptionSetsOK) String() string
type GetAzureDiskEncryptionSetsParams ¶
type GetAzureDiskEncryptionSetsParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /* RegionID. Region id */ RegionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAzureDiskEncryptionSetsParams contains all the parameters to send to the API endpoint
for the get azure disk encryption sets operation. Typically these are written to a http.Request.
func NewGetAzureDiskEncryptionSetsParams ¶
func NewGetAzureDiskEncryptionSetsParams() *GetAzureDiskEncryptionSetsParams
NewGetAzureDiskEncryptionSetsParams creates a new GetAzureDiskEncryptionSetsParams 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 NewGetAzureDiskEncryptionSetsParamsWithContext ¶
func NewGetAzureDiskEncryptionSetsParamsWithContext(ctx context.Context) *GetAzureDiskEncryptionSetsParams
NewGetAzureDiskEncryptionSetsParamsWithContext creates a new GetAzureDiskEncryptionSetsParams object with the ability to set a context for a request.
func NewGetAzureDiskEncryptionSetsParamsWithHTTPClient ¶
func NewGetAzureDiskEncryptionSetsParamsWithHTTPClient(client *http.Client) *GetAzureDiskEncryptionSetsParams
NewGetAzureDiskEncryptionSetsParamsWithHTTPClient creates a new GetAzureDiskEncryptionSetsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAzureDiskEncryptionSetsParamsWithTimeout ¶
func NewGetAzureDiskEncryptionSetsParamsWithTimeout(timeout time.Duration) *GetAzureDiskEncryptionSetsParams
NewGetAzureDiskEncryptionSetsParamsWithTimeout creates a new GetAzureDiskEncryptionSetsParams object with the ability to set a timeout on a request.
func (*GetAzureDiskEncryptionSetsParams) SetAPIVersion ¶
func (o *GetAzureDiskEncryptionSetsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) SetContext ¶
func (o *GetAzureDiskEncryptionSetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) SetDefaults ¶
func (o *GetAzureDiskEncryptionSetsParams) SetDefaults()
SetDefaults hydrates default values in the get azure disk encryption sets params (not the query body).
All values with no default are reset to their zero value.
func (*GetAzureDiskEncryptionSetsParams) SetHTTPClient ¶
func (o *GetAzureDiskEncryptionSetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) SetRegionID ¶
func (o *GetAzureDiskEncryptionSetsParams) SetRegionID(regionID string)
SetRegionID adds the regionId to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) SetTimeout ¶
func (o *GetAzureDiskEncryptionSetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) WithAPIVersion ¶
func (o *GetAzureDiskEncryptionSetsParams) WithAPIVersion(aPIVersion *string) *GetAzureDiskEncryptionSetsParams
WithAPIVersion adds the aPIVersion to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) WithContext ¶
func (o *GetAzureDiskEncryptionSetsParams) WithContext(ctx context.Context) *GetAzureDiskEncryptionSetsParams
WithContext adds the context to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) WithDefaults ¶
func (o *GetAzureDiskEncryptionSetsParams) WithDefaults() *GetAzureDiskEncryptionSetsParams
WithDefaults hydrates default values in the get azure disk encryption sets params (not the query body).
All values with no default are reset to their zero value.
func (*GetAzureDiskEncryptionSetsParams) WithHTTPClient ¶
func (o *GetAzureDiskEncryptionSetsParams) WithHTTPClient(client *http.Client) *GetAzureDiskEncryptionSetsParams
WithHTTPClient adds the HTTPClient to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) WithRegionID ¶
func (o *GetAzureDiskEncryptionSetsParams) WithRegionID(regionID string) *GetAzureDiskEncryptionSetsParams
WithRegionID adds the regionID to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) WithTimeout ¶
func (o *GetAzureDiskEncryptionSetsParams) WithTimeout(timeout time.Duration) *GetAzureDiskEncryptionSetsParams
WithTimeout adds the timeout to the get azure disk encryption sets params
func (*GetAzureDiskEncryptionSetsParams) WriteToRequest ¶
func (o *GetAzureDiskEncryptionSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAzureDiskEncryptionSetsReader ¶
type GetAzureDiskEncryptionSetsReader struct {
// contains filtered or unexported fields
}
GetAzureDiskEncryptionSetsReader is a Reader for the GetAzureDiskEncryptionSets structure.
func (*GetAzureDiskEncryptionSetsReader) ReadResponse ¶
func (o *GetAzureDiskEncryptionSetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.