Documentation
¶
Index ¶
- type CertificateAddCreated
- type CertificateAddDefault
- type CertificateAddParams
- func (o *CertificateAddParams) SetAPIVersion(aPIVersion string)
- func (o *CertificateAddParams) SetCertificate(certificate *models.CertificateAddParameter)
- func (o *CertificateAddParams) SetClientRequestID(clientRequestID *string)
- func (o *CertificateAddParams) SetContext(ctx context.Context)
- func (o *CertificateAddParams) SetOcpDate(ocpDate *string)
- func (o *CertificateAddParams) SetRequestTimeout(timeout time.Duration)
- func (o *CertificateAddParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *CertificateAddParams) SetTimeout(timeout *int32)
- func (o *CertificateAddParams) WithAPIVersion(aPIVersion string) *CertificateAddParams
- func (o *CertificateAddParams) WithCertificate(certificate *models.CertificateAddParameter) *CertificateAddParams
- func (o *CertificateAddParams) WithClientRequestID(clientRequestID *string) *CertificateAddParams
- func (o *CertificateAddParams) WithContext(ctx context.Context) *CertificateAddParams
- func (o *CertificateAddParams) WithOcpDate(ocpDate *string) *CertificateAddParams
- func (o *CertificateAddParams) WithRequestTimeout(timeout time.Duration) *CertificateAddParams
- func (o *CertificateAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateAddParams
- func (o *CertificateAddParams) WithTimeout(timeout *int32) *CertificateAddParams
- func (o *CertificateAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CertificateAddReader
- type CertificateCancelDeletionDefault
- type CertificateCancelDeletionNoContent
- type CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) SetAPIVersion(aPIVersion string)
- func (o *CertificateCancelDeletionParams) SetClientRequestID(clientRequestID *string)
- func (o *CertificateCancelDeletionParams) SetContext(ctx context.Context)
- func (o *CertificateCancelDeletionParams) SetOcpDate(ocpDate *string)
- func (o *CertificateCancelDeletionParams) SetRequestTimeout(timeout time.Duration)
- func (o *CertificateCancelDeletionParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *CertificateCancelDeletionParams) SetThumbprint(thumbprint string)
- func (o *CertificateCancelDeletionParams) SetThumbprintAlgorithm(thumbprintAlgorithm string)
- func (o *CertificateCancelDeletionParams) SetTimeout(timeout *int32)
- func (o *CertificateCancelDeletionParams) WithAPIVersion(aPIVersion string) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithClientRequestID(clientRequestID *string) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithContext(ctx context.Context) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithOcpDate(ocpDate *string) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithRequestTimeout(timeout time.Duration) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithThumbprint(thumbprint string) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithThumbprintAlgorithm(thumbprintAlgorithm string) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WithTimeout(timeout *int32) *CertificateCancelDeletionParams
- func (o *CertificateCancelDeletionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CertificateCancelDeletionReader
- type CertificateDeleteAccepted
- type CertificateDeleteDefault
- type CertificateDeleteParams
- func (o *CertificateDeleteParams) SetAPIVersion(aPIVersion string)
- func (o *CertificateDeleteParams) SetClientRequestID(clientRequestID *string)
- func (o *CertificateDeleteParams) SetContext(ctx context.Context)
- func (o *CertificateDeleteParams) SetOcpDate(ocpDate *string)
- func (o *CertificateDeleteParams) SetRequestTimeout(timeout time.Duration)
- func (o *CertificateDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *CertificateDeleteParams) SetThumbprint(thumbprint string)
- func (o *CertificateDeleteParams) SetThumbprintAlgorithm(thumbprintAlgorithm string)
- func (o *CertificateDeleteParams) SetTimeout(timeout *int32)
- func (o *CertificateDeleteParams) WithAPIVersion(aPIVersion string) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithClientRequestID(clientRequestID *string) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithContext(ctx context.Context) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithOcpDate(ocpDate *string) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithRequestTimeout(timeout time.Duration) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithThumbprint(thumbprint string) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithThumbprintAlgorithm(thumbprintAlgorithm string) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WithTimeout(timeout *int32) *CertificateDeleteParams
- func (o *CertificateDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CertificateDeleteReader
- type CertificateGetDefault
- type CertificateGetOK
- type CertificateGetParams
- func (o *CertificateGetParams) SetAPIVersion(aPIVersion string)
- func (o *CertificateGetParams) SetClientRequestID(clientRequestID *string)
- func (o *CertificateGetParams) SetContext(ctx context.Context)
- func (o *CertificateGetParams) SetDollarSelect(dollarSelect *string)
- func (o *CertificateGetParams) SetOcpDate(ocpDate *string)
- func (o *CertificateGetParams) SetRequestTimeout(timeout time.Duration)
- func (o *CertificateGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *CertificateGetParams) SetThumbprint(thumbprint string)
- func (o *CertificateGetParams) SetThumbprintAlgorithm(thumbprintAlgorithm string)
- func (o *CertificateGetParams) SetTimeout(timeout *int32)
- func (o *CertificateGetParams) WithAPIVersion(aPIVersion string) *CertificateGetParams
- func (o *CertificateGetParams) WithClientRequestID(clientRequestID *string) *CertificateGetParams
- func (o *CertificateGetParams) WithContext(ctx context.Context) *CertificateGetParams
- func (o *CertificateGetParams) WithDollarSelect(dollarSelect *string) *CertificateGetParams
- func (o *CertificateGetParams) WithOcpDate(ocpDate *string) *CertificateGetParams
- func (o *CertificateGetParams) WithRequestTimeout(timeout time.Duration) *CertificateGetParams
- func (o *CertificateGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateGetParams
- func (o *CertificateGetParams) WithThumbprint(thumbprint string) *CertificateGetParams
- func (o *CertificateGetParams) WithThumbprintAlgorithm(thumbprintAlgorithm string) *CertificateGetParams
- func (o *CertificateGetParams) WithTimeout(timeout *int32) *CertificateGetParams
- func (o *CertificateGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CertificateGetReader
- type CertificateListDefault
- type CertificateListOK
- type CertificateListParams
- func (o *CertificateListParams) SetAPIVersion(aPIVersion string)
- func (o *CertificateListParams) SetClientRequestID(clientRequestID *string)
- func (o *CertificateListParams) SetContext(ctx context.Context)
- func (o *CertificateListParams) SetDollarFilter(dollarFilter *string)
- func (o *CertificateListParams) SetDollarSelect(dollarSelect *string)
- func (o *CertificateListParams) SetMaxresults(maxresults *int32)
- func (o *CertificateListParams) SetOcpDate(ocpDate *string)
- func (o *CertificateListParams) SetRequestTimeout(timeout time.Duration)
- func (o *CertificateListParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *CertificateListParams) SetTimeout(timeout *int32)
- func (o *CertificateListParams) WithAPIVersion(aPIVersion string) *CertificateListParams
- func (o *CertificateListParams) WithClientRequestID(clientRequestID *string) *CertificateListParams
- func (o *CertificateListParams) WithContext(ctx context.Context) *CertificateListParams
- func (o *CertificateListParams) WithDollarFilter(dollarFilter *string) *CertificateListParams
- func (o *CertificateListParams) WithDollarSelect(dollarSelect *string) *CertificateListParams
- func (o *CertificateListParams) WithMaxresults(maxresults *int32) *CertificateListParams
- func (o *CertificateListParams) WithOcpDate(ocpDate *string) *CertificateListParams
- func (o *CertificateListParams) WithRequestTimeout(timeout time.Duration) *CertificateListParams
- func (o *CertificateListParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateListParams
- func (o *CertificateListParams) WithTimeout(timeout *int32) *CertificateListParams
- func (o *CertificateListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CertificateListReader
- type Client
- func (a *Client) CertificateAdd(params *CertificateAddParams) (*CertificateAddCreated, error)
- func (a *Client) CertificateCancelDeletion(params *CertificateCancelDeletionParams) (*CertificateCancelDeletionNoContent, error)
- func (a *Client) CertificateDelete(params *CertificateDeleteParams) (*CertificateDeleteAccepted, error)
- func (a *Client) CertificateGet(params *CertificateGetParams) (*CertificateGetOK, error)
- func (a *Client) CertificateList(params *CertificateListParams) (*CertificateListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateAddCreated ¶
type CertificateAddCreated struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
CertificateAddCreated handles this case with default header values.
The request to the Batch service was successful.
func NewCertificateAddCreated ¶
func NewCertificateAddCreated() *CertificateAddCreated
NewCertificateAddCreated creates a CertificateAddCreated with default headers values
func (*CertificateAddCreated) Error ¶
func (o *CertificateAddCreated) Error() string
type CertificateAddDefault ¶
type CertificateAddDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
CertificateAddDefault handles this case with default header values.
The error from the Batch service.
func NewCertificateAddDefault ¶
func NewCertificateAddDefault(code int) *CertificateAddDefault
NewCertificateAddDefault creates a CertificateAddDefault with default headers values
func (*CertificateAddDefault) Code ¶
func (o *CertificateAddDefault) Code() int
Code gets the status code for the certificate add default response
func (*CertificateAddDefault) Error ¶
func (o *CertificateAddDefault) Error() string
type CertificateAddParams ¶
type CertificateAddParams struct { /*Certificate The certificate to be added. */ Certificate *models.CertificateAddParameter /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CertificateAddParams contains all the parameters to send to the API endpoint for the certificate add operation typically these are written to a http.Request
func NewCertificateAddParams ¶
func NewCertificateAddParams() *CertificateAddParams
NewCertificateAddParams creates a new CertificateAddParams object with the default values initialized.
func NewCertificateAddParamsWithContext ¶
func NewCertificateAddParamsWithContext(ctx context.Context) *CertificateAddParams
NewCertificateAddParamsWithContext creates a new CertificateAddParams object with the default values initialized, and the ability to set a context for a request
func NewCertificateAddParamsWithTimeout ¶
func NewCertificateAddParamsWithTimeout(timeout time.Duration) *CertificateAddParams
NewCertificateAddParamsWithTimeout creates a new CertificateAddParams object with the default values initialized, and the ability to set a timeout on a request
func (*CertificateAddParams) SetAPIVersion ¶
func (o *CertificateAddParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the certificate add params
func (*CertificateAddParams) SetCertificate ¶
func (o *CertificateAddParams) SetCertificate(certificate *models.CertificateAddParameter)
SetCertificate adds the certificate to the certificate add params
func (*CertificateAddParams) SetClientRequestID ¶
func (o *CertificateAddParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the certificate add params
func (*CertificateAddParams) SetContext ¶
func (o *CertificateAddParams) SetContext(ctx context.Context)
SetContext adds the context to the certificate add params
func (*CertificateAddParams) SetOcpDate ¶
func (o *CertificateAddParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the certificate add params
func (*CertificateAddParams) SetRequestTimeout ¶
func (o *CertificateAddParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the certificate add params
func (*CertificateAddParams) SetReturnClientRequestID ¶
func (o *CertificateAddParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the certificate add params
func (*CertificateAddParams) SetTimeout ¶
func (o *CertificateAddParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the certificate add params
func (*CertificateAddParams) WithAPIVersion ¶
func (o *CertificateAddParams) WithAPIVersion(aPIVersion string) *CertificateAddParams
WithAPIVersion adds the aPIVersion to the certificate add params
func (*CertificateAddParams) WithCertificate ¶
func (o *CertificateAddParams) WithCertificate(certificate *models.CertificateAddParameter) *CertificateAddParams
WithCertificate adds the certificate to the certificate add params
func (*CertificateAddParams) WithClientRequestID ¶
func (o *CertificateAddParams) WithClientRequestID(clientRequestID *string) *CertificateAddParams
WithClientRequestID adds the clientRequestID to the certificate add params
func (*CertificateAddParams) WithContext ¶
func (o *CertificateAddParams) WithContext(ctx context.Context) *CertificateAddParams
WithContext adds the context to the certificate add params
func (*CertificateAddParams) WithOcpDate ¶
func (o *CertificateAddParams) WithOcpDate(ocpDate *string) *CertificateAddParams
WithOcpDate adds the ocpDate to the certificate add params
func (*CertificateAddParams) WithRequestTimeout ¶
func (o *CertificateAddParams) WithRequestTimeout(timeout time.Duration) *CertificateAddParams
WithRequestTimeout adds the timeout to the certificate add params
func (*CertificateAddParams) WithReturnClientRequestID ¶
func (o *CertificateAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateAddParams
WithReturnClientRequestID adds the returnClientRequestID to the certificate add params
func (*CertificateAddParams) WithTimeout ¶
func (o *CertificateAddParams) WithTimeout(timeout *int32) *CertificateAddParams
WithTimeout adds the timeout to the certificate add params
func (*CertificateAddParams) WriteToRequest ¶
func (o *CertificateAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CertificateAddReader ¶
type CertificateAddReader struct {
// contains filtered or unexported fields
}
CertificateAddReader is a Reader for the CertificateAdd structure.
func (*CertificateAddReader) ReadResponse ¶
func (o *CertificateAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CertificateCancelDeletionDefault ¶
type CertificateCancelDeletionDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
CertificateCancelDeletionDefault handles this case with default header values.
The error from the Batch service.
func NewCertificateCancelDeletionDefault ¶
func NewCertificateCancelDeletionDefault(code int) *CertificateCancelDeletionDefault
NewCertificateCancelDeletionDefault creates a CertificateCancelDeletionDefault with default headers values
func (*CertificateCancelDeletionDefault) Code ¶
func (o *CertificateCancelDeletionDefault) Code() int
Code gets the status code for the certificate cancel deletion default response
func (*CertificateCancelDeletionDefault) Error ¶
func (o *CertificateCancelDeletionDefault) Error() string
type CertificateCancelDeletionNoContent ¶
type CertificateCancelDeletionNoContent struct { /*The OData ID of the resource to which the request applied. */ DataServiceID string /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
CertificateCancelDeletionNoContent handles this case with default header values.
The request to the Batch service was successful.
func NewCertificateCancelDeletionNoContent ¶
func NewCertificateCancelDeletionNoContent() *CertificateCancelDeletionNoContent
NewCertificateCancelDeletionNoContent creates a CertificateCancelDeletionNoContent with default headers values
func (*CertificateCancelDeletionNoContent) Error ¶
func (o *CertificateCancelDeletionNoContent) Error() string
type CertificateCancelDeletionParams ¶
type CertificateCancelDeletionParams struct { /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Thumbprint The thumbprint of the certificate being deleted. */ Thumbprint string /*ThumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. */ ThumbprintAlgorithm string /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CertificateCancelDeletionParams contains all the parameters to send to the API endpoint for the certificate cancel deletion operation typically these are written to a http.Request
func NewCertificateCancelDeletionParams ¶
func NewCertificateCancelDeletionParams() *CertificateCancelDeletionParams
NewCertificateCancelDeletionParams creates a new CertificateCancelDeletionParams object with the default values initialized.
func NewCertificateCancelDeletionParamsWithContext ¶
func NewCertificateCancelDeletionParamsWithContext(ctx context.Context) *CertificateCancelDeletionParams
NewCertificateCancelDeletionParamsWithContext creates a new CertificateCancelDeletionParams object with the default values initialized, and the ability to set a context for a request
func NewCertificateCancelDeletionParamsWithTimeout ¶
func NewCertificateCancelDeletionParamsWithTimeout(timeout time.Duration) *CertificateCancelDeletionParams
NewCertificateCancelDeletionParamsWithTimeout creates a new CertificateCancelDeletionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CertificateCancelDeletionParams) SetAPIVersion ¶
func (o *CertificateCancelDeletionParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetClientRequestID ¶
func (o *CertificateCancelDeletionParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetContext ¶
func (o *CertificateCancelDeletionParams) SetContext(ctx context.Context)
SetContext adds the context to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetOcpDate ¶
func (o *CertificateCancelDeletionParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetRequestTimeout ¶
func (o *CertificateCancelDeletionParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetReturnClientRequestID ¶
func (o *CertificateCancelDeletionParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetThumbprint ¶
func (o *CertificateCancelDeletionParams) SetThumbprint(thumbprint string)
SetThumbprint adds the thumbprint to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetThumbprintAlgorithm ¶
func (o *CertificateCancelDeletionParams) SetThumbprintAlgorithm(thumbprintAlgorithm string)
SetThumbprintAlgorithm adds the thumbprintAlgorithm to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) SetTimeout ¶
func (o *CertificateCancelDeletionParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithAPIVersion ¶
func (o *CertificateCancelDeletionParams) WithAPIVersion(aPIVersion string) *CertificateCancelDeletionParams
WithAPIVersion adds the aPIVersion to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithClientRequestID ¶
func (o *CertificateCancelDeletionParams) WithClientRequestID(clientRequestID *string) *CertificateCancelDeletionParams
WithClientRequestID adds the clientRequestID to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithContext ¶
func (o *CertificateCancelDeletionParams) WithContext(ctx context.Context) *CertificateCancelDeletionParams
WithContext adds the context to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithOcpDate ¶
func (o *CertificateCancelDeletionParams) WithOcpDate(ocpDate *string) *CertificateCancelDeletionParams
WithOcpDate adds the ocpDate to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithRequestTimeout ¶
func (o *CertificateCancelDeletionParams) WithRequestTimeout(timeout time.Duration) *CertificateCancelDeletionParams
WithRequestTimeout adds the timeout to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithReturnClientRequestID ¶
func (o *CertificateCancelDeletionParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateCancelDeletionParams
WithReturnClientRequestID adds the returnClientRequestID to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithThumbprint ¶
func (o *CertificateCancelDeletionParams) WithThumbprint(thumbprint string) *CertificateCancelDeletionParams
WithThumbprint adds the thumbprint to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithThumbprintAlgorithm ¶
func (o *CertificateCancelDeletionParams) WithThumbprintAlgorithm(thumbprintAlgorithm string) *CertificateCancelDeletionParams
WithThumbprintAlgorithm adds the thumbprintAlgorithm to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WithTimeout ¶
func (o *CertificateCancelDeletionParams) WithTimeout(timeout *int32) *CertificateCancelDeletionParams
WithTimeout adds the timeout to the certificate cancel deletion params
func (*CertificateCancelDeletionParams) WriteToRequest ¶
func (o *CertificateCancelDeletionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CertificateCancelDeletionReader ¶
type CertificateCancelDeletionReader struct {
// contains filtered or unexported fields
}
CertificateCancelDeletionReader is a Reader for the CertificateCancelDeletion structure.
func (*CertificateCancelDeletionReader) ReadResponse ¶
func (o *CertificateCancelDeletionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CertificateDeleteAccepted ¶
type CertificateDeleteAccepted struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string }
CertificateDeleteAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewCertificateDeleteAccepted ¶
func NewCertificateDeleteAccepted() *CertificateDeleteAccepted
NewCertificateDeleteAccepted creates a CertificateDeleteAccepted with default headers values
func (*CertificateDeleteAccepted) Error ¶
func (o *CertificateDeleteAccepted) Error() string
type CertificateDeleteDefault ¶
type CertificateDeleteDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
CertificateDeleteDefault handles this case with default header values.
The error from the Batch service.
func NewCertificateDeleteDefault ¶
func NewCertificateDeleteDefault(code int) *CertificateDeleteDefault
NewCertificateDeleteDefault creates a CertificateDeleteDefault with default headers values
func (*CertificateDeleteDefault) Code ¶
func (o *CertificateDeleteDefault) Code() int
Code gets the status code for the certificate delete default response
func (*CertificateDeleteDefault) Error ¶
func (o *CertificateDeleteDefault) Error() string
type CertificateDeleteParams ¶
type CertificateDeleteParams struct { /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Thumbprint The thumbprint of the certificate to be deleted. */ Thumbprint string /*ThumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. */ ThumbprintAlgorithm string /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CertificateDeleteParams contains all the parameters to send to the API endpoint for the certificate delete operation typically these are written to a http.Request
func NewCertificateDeleteParams ¶
func NewCertificateDeleteParams() *CertificateDeleteParams
NewCertificateDeleteParams creates a new CertificateDeleteParams object with the default values initialized.
func NewCertificateDeleteParamsWithContext ¶
func NewCertificateDeleteParamsWithContext(ctx context.Context) *CertificateDeleteParams
NewCertificateDeleteParamsWithContext creates a new CertificateDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewCertificateDeleteParamsWithTimeout ¶
func NewCertificateDeleteParamsWithTimeout(timeout time.Duration) *CertificateDeleteParams
NewCertificateDeleteParamsWithTimeout creates a new CertificateDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*CertificateDeleteParams) SetAPIVersion ¶
func (o *CertificateDeleteParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the certificate delete params
func (*CertificateDeleteParams) SetClientRequestID ¶
func (o *CertificateDeleteParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the certificate delete params
func (*CertificateDeleteParams) SetContext ¶
func (o *CertificateDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the certificate delete params
func (*CertificateDeleteParams) SetOcpDate ¶
func (o *CertificateDeleteParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the certificate delete params
func (*CertificateDeleteParams) SetRequestTimeout ¶
func (o *CertificateDeleteParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the certificate delete params
func (*CertificateDeleteParams) SetReturnClientRequestID ¶
func (o *CertificateDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the certificate delete params
func (*CertificateDeleteParams) SetThumbprint ¶
func (o *CertificateDeleteParams) SetThumbprint(thumbprint string)
SetThumbprint adds the thumbprint to the certificate delete params
func (*CertificateDeleteParams) SetThumbprintAlgorithm ¶
func (o *CertificateDeleteParams) SetThumbprintAlgorithm(thumbprintAlgorithm string)
SetThumbprintAlgorithm adds the thumbprintAlgorithm to the certificate delete params
func (*CertificateDeleteParams) SetTimeout ¶
func (o *CertificateDeleteParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the certificate delete params
func (*CertificateDeleteParams) WithAPIVersion ¶
func (o *CertificateDeleteParams) WithAPIVersion(aPIVersion string) *CertificateDeleteParams
WithAPIVersion adds the aPIVersion to the certificate delete params
func (*CertificateDeleteParams) WithClientRequestID ¶
func (o *CertificateDeleteParams) WithClientRequestID(clientRequestID *string) *CertificateDeleteParams
WithClientRequestID adds the clientRequestID to the certificate delete params
func (*CertificateDeleteParams) WithContext ¶
func (o *CertificateDeleteParams) WithContext(ctx context.Context) *CertificateDeleteParams
WithContext adds the context to the certificate delete params
func (*CertificateDeleteParams) WithOcpDate ¶
func (o *CertificateDeleteParams) WithOcpDate(ocpDate *string) *CertificateDeleteParams
WithOcpDate adds the ocpDate to the certificate delete params
func (*CertificateDeleteParams) WithRequestTimeout ¶
func (o *CertificateDeleteParams) WithRequestTimeout(timeout time.Duration) *CertificateDeleteParams
WithRequestTimeout adds the timeout to the certificate delete params
func (*CertificateDeleteParams) WithReturnClientRequestID ¶
func (o *CertificateDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateDeleteParams
WithReturnClientRequestID adds the returnClientRequestID to the certificate delete params
func (*CertificateDeleteParams) WithThumbprint ¶
func (o *CertificateDeleteParams) WithThumbprint(thumbprint string) *CertificateDeleteParams
WithThumbprint adds the thumbprint to the certificate delete params
func (*CertificateDeleteParams) WithThumbprintAlgorithm ¶
func (o *CertificateDeleteParams) WithThumbprintAlgorithm(thumbprintAlgorithm string) *CertificateDeleteParams
WithThumbprintAlgorithm adds the thumbprintAlgorithm to the certificate delete params
func (*CertificateDeleteParams) WithTimeout ¶
func (o *CertificateDeleteParams) WithTimeout(timeout *int32) *CertificateDeleteParams
WithTimeout adds the timeout to the certificate delete params
func (*CertificateDeleteParams) WriteToRequest ¶
func (o *CertificateDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CertificateDeleteReader ¶
type CertificateDeleteReader struct {
// contains filtered or unexported fields
}
CertificateDeleteReader is a Reader for the CertificateDelete structure.
func (*CertificateDeleteReader) ReadResponse ¶
func (o *CertificateDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CertificateGetDefault ¶
type CertificateGetDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
CertificateGetDefault handles this case with default header values.
The error from the Batch service.
func NewCertificateGetDefault ¶
func NewCertificateGetDefault(code int) *CertificateGetDefault
NewCertificateGetDefault creates a CertificateGetDefault with default headers values
func (*CertificateGetDefault) Code ¶
func (o *CertificateGetDefault) Code() int
Code gets the status code for the certificate get default response
func (*CertificateGetDefault) Error ¶
func (o *CertificateGetDefault) Error() string
type CertificateGetOK ¶
type CertificateGetOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.Certificate }
CertificateGetOK handles this case with default header values.
A response containing the certificate.
func NewCertificateGetOK ¶
func NewCertificateGetOK() *CertificateGetOK
NewCertificateGetOK creates a CertificateGetOK with default headers values
func (*CertificateGetOK) Error ¶
func (o *CertificateGetOK) Error() string
type CertificateGetParams ¶
type CertificateGetParams struct { /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Thumbprint The thumbprint of the certificate to get. */ Thumbprint string /*ThumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. */ ThumbprintAlgorithm string /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CertificateGetParams contains all the parameters to send to the API endpoint for the certificate get operation typically these are written to a http.Request
func NewCertificateGetParams ¶
func NewCertificateGetParams() *CertificateGetParams
NewCertificateGetParams creates a new CertificateGetParams object with the default values initialized.
func NewCertificateGetParamsWithContext ¶
func NewCertificateGetParamsWithContext(ctx context.Context) *CertificateGetParams
NewCertificateGetParamsWithContext creates a new CertificateGetParams object with the default values initialized, and the ability to set a context for a request
func NewCertificateGetParamsWithTimeout ¶
func NewCertificateGetParamsWithTimeout(timeout time.Duration) *CertificateGetParams
NewCertificateGetParamsWithTimeout creates a new CertificateGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CertificateGetParams) SetAPIVersion ¶
func (o *CertificateGetParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the certificate get params
func (*CertificateGetParams) SetClientRequestID ¶
func (o *CertificateGetParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the certificate get params
func (*CertificateGetParams) SetContext ¶
func (o *CertificateGetParams) SetContext(ctx context.Context)
SetContext adds the context to the certificate get params
func (*CertificateGetParams) SetDollarSelect ¶
func (o *CertificateGetParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the certificate get params
func (*CertificateGetParams) SetOcpDate ¶
func (o *CertificateGetParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the certificate get params
func (*CertificateGetParams) SetRequestTimeout ¶
func (o *CertificateGetParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the certificate get params
func (*CertificateGetParams) SetReturnClientRequestID ¶
func (o *CertificateGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the certificate get params
func (*CertificateGetParams) SetThumbprint ¶
func (o *CertificateGetParams) SetThumbprint(thumbprint string)
SetThumbprint adds the thumbprint to the certificate get params
func (*CertificateGetParams) SetThumbprintAlgorithm ¶
func (o *CertificateGetParams) SetThumbprintAlgorithm(thumbprintAlgorithm string)
SetThumbprintAlgorithm adds the thumbprintAlgorithm to the certificate get params
func (*CertificateGetParams) SetTimeout ¶
func (o *CertificateGetParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the certificate get params
func (*CertificateGetParams) WithAPIVersion ¶
func (o *CertificateGetParams) WithAPIVersion(aPIVersion string) *CertificateGetParams
WithAPIVersion adds the aPIVersion to the certificate get params
func (*CertificateGetParams) WithClientRequestID ¶
func (o *CertificateGetParams) WithClientRequestID(clientRequestID *string) *CertificateGetParams
WithClientRequestID adds the clientRequestID to the certificate get params
func (*CertificateGetParams) WithContext ¶
func (o *CertificateGetParams) WithContext(ctx context.Context) *CertificateGetParams
WithContext adds the context to the certificate get params
func (*CertificateGetParams) WithDollarSelect ¶
func (o *CertificateGetParams) WithDollarSelect(dollarSelect *string) *CertificateGetParams
WithDollarSelect adds the dollarSelect to the certificate get params
func (*CertificateGetParams) WithOcpDate ¶
func (o *CertificateGetParams) WithOcpDate(ocpDate *string) *CertificateGetParams
WithOcpDate adds the ocpDate to the certificate get params
func (*CertificateGetParams) WithRequestTimeout ¶
func (o *CertificateGetParams) WithRequestTimeout(timeout time.Duration) *CertificateGetParams
WithRequestTimeout adds the timeout to the certificate get params
func (*CertificateGetParams) WithReturnClientRequestID ¶
func (o *CertificateGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateGetParams
WithReturnClientRequestID adds the returnClientRequestID to the certificate get params
func (*CertificateGetParams) WithThumbprint ¶
func (o *CertificateGetParams) WithThumbprint(thumbprint string) *CertificateGetParams
WithThumbprint adds the thumbprint to the certificate get params
func (*CertificateGetParams) WithThumbprintAlgorithm ¶
func (o *CertificateGetParams) WithThumbprintAlgorithm(thumbprintAlgorithm string) *CertificateGetParams
WithThumbprintAlgorithm adds the thumbprintAlgorithm to the certificate get params
func (*CertificateGetParams) WithTimeout ¶
func (o *CertificateGetParams) WithTimeout(timeout *int32) *CertificateGetParams
WithTimeout adds the timeout to the certificate get params
func (*CertificateGetParams) WriteToRequest ¶
func (o *CertificateGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CertificateGetReader ¶
type CertificateGetReader struct {
// contains filtered or unexported fields
}
CertificateGetReader is a Reader for the CertificateGet structure.
func (*CertificateGetReader) ReadResponse ¶
func (o *CertificateGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CertificateListDefault ¶
type CertificateListDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
CertificateListDefault handles this case with default header values.
The error from the Batch service.
func NewCertificateListDefault ¶
func NewCertificateListDefault(code int) *CertificateListDefault
NewCertificateListDefault creates a CertificateListDefault with default headers values
func (*CertificateListDefault) Code ¶
func (o *CertificateListDefault) Code() int
Code gets the status code for the certificate list default response
func (*CertificateListDefault) Error ¶
func (o *CertificateListDefault) Error() string
type CertificateListOK ¶
type CertificateListOK struct { /*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. */ ETag string /*The time at which the resource was last modified. */ LastModified string /*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true. */ ClientRequestID string /*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in. */ RequestID string Payload *models.CertificateListResult }
CertificateListOK handles this case with default header values.
A response containing the list of certificates.
func NewCertificateListOK ¶
func NewCertificateListOK() *CertificateListOK
NewCertificateListOK creates a CertificateListOK with default headers values
func (*CertificateListOK) Error ¶
func (o *CertificateListOK) Error() string
type CertificateListParams ¶
type CertificateListParams struct { /*NrDollarFilter An OData $filter clause. */ DollarFilter *string /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*Maxresults The maximum number of items to return in the response. A maximum of 1000 certificates can be returned. */ Maxresults *int32 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CertificateListParams contains all the parameters to send to the API endpoint for the certificate list operation typically these are written to a http.Request
func NewCertificateListParams ¶
func NewCertificateListParams() *CertificateListParams
NewCertificateListParams creates a new CertificateListParams object with the default values initialized.
func NewCertificateListParamsWithContext ¶
func NewCertificateListParamsWithContext(ctx context.Context) *CertificateListParams
NewCertificateListParamsWithContext creates a new CertificateListParams object with the default values initialized, and the ability to set a context for a request
func NewCertificateListParamsWithTimeout ¶
func NewCertificateListParamsWithTimeout(timeout time.Duration) *CertificateListParams
NewCertificateListParamsWithTimeout creates a new CertificateListParams object with the default values initialized, and the ability to set a timeout on a request
func (*CertificateListParams) SetAPIVersion ¶
func (o *CertificateListParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the certificate list params
func (*CertificateListParams) SetClientRequestID ¶
func (o *CertificateListParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the certificate list params
func (*CertificateListParams) SetContext ¶
func (o *CertificateListParams) SetContext(ctx context.Context)
SetContext adds the context to the certificate list params
func (*CertificateListParams) SetDollarFilter ¶
func (o *CertificateListParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the certificate list params
func (*CertificateListParams) SetDollarSelect ¶
func (o *CertificateListParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the certificate list params
func (*CertificateListParams) SetMaxresults ¶
func (o *CertificateListParams) SetMaxresults(maxresults *int32)
SetMaxresults adds the maxresults to the certificate list params
func (*CertificateListParams) SetOcpDate ¶
func (o *CertificateListParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the certificate list params
func (*CertificateListParams) SetRequestTimeout ¶
func (o *CertificateListParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the certificate list params
func (*CertificateListParams) SetReturnClientRequestID ¶
func (o *CertificateListParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the certificate list params
func (*CertificateListParams) SetTimeout ¶
func (o *CertificateListParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the certificate list params
func (*CertificateListParams) WithAPIVersion ¶
func (o *CertificateListParams) WithAPIVersion(aPIVersion string) *CertificateListParams
WithAPIVersion adds the aPIVersion to the certificate list params
func (*CertificateListParams) WithClientRequestID ¶
func (o *CertificateListParams) WithClientRequestID(clientRequestID *string) *CertificateListParams
WithClientRequestID adds the clientRequestID to the certificate list params
func (*CertificateListParams) WithContext ¶
func (o *CertificateListParams) WithContext(ctx context.Context) *CertificateListParams
WithContext adds the context to the certificate list params
func (*CertificateListParams) WithDollarFilter ¶
func (o *CertificateListParams) WithDollarFilter(dollarFilter *string) *CertificateListParams
WithDollarFilter adds the dollarFilter to the certificate list params
func (*CertificateListParams) WithDollarSelect ¶
func (o *CertificateListParams) WithDollarSelect(dollarSelect *string) *CertificateListParams
WithDollarSelect adds the dollarSelect to the certificate list params
func (*CertificateListParams) WithMaxresults ¶
func (o *CertificateListParams) WithMaxresults(maxresults *int32) *CertificateListParams
WithMaxresults adds the maxresults to the certificate list params
func (*CertificateListParams) WithOcpDate ¶
func (o *CertificateListParams) WithOcpDate(ocpDate *string) *CertificateListParams
WithOcpDate adds the ocpDate to the certificate list params
func (*CertificateListParams) WithRequestTimeout ¶
func (o *CertificateListParams) WithRequestTimeout(timeout time.Duration) *CertificateListParams
WithRequestTimeout adds the timeout to the certificate list params
func (*CertificateListParams) WithReturnClientRequestID ¶
func (o *CertificateListParams) WithReturnClientRequestID(returnClientRequestID *bool) *CertificateListParams
WithReturnClientRequestID adds the returnClientRequestID to the certificate list params
func (*CertificateListParams) WithTimeout ¶
func (o *CertificateListParams) WithTimeout(timeout *int32) *CertificateListParams
WithTimeout adds the timeout to the certificate list params
func (*CertificateListParams) WriteToRequest ¶
func (o *CertificateListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CertificateListReader ¶
type CertificateListReader struct {
// contains filtered or unexported fields
}
CertificateListReader is a Reader for the CertificateList structure.
func (*CertificateListReader) ReadResponse ¶
func (o *CertificateListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for certificates API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new certificates API client.
func (*Client) CertificateAdd ¶
func (a *Client) CertificateAdd(params *CertificateAddParams) (*CertificateAddCreated, error)
CertificateAdd adds a certificate to the specified account
func (*Client) CertificateCancelDeletion ¶
func (a *Client) CertificateCancelDeletion(params *CertificateCancelDeletionParams) (*CertificateCancelDeletionNoContent, error)
CertificateCancelDeletion cancels a failed deletion of a certificate from the specified account
If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deletefailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.
func (*Client) CertificateDelete ¶
func (a *Client) CertificateDelete(params *CertificateDeleteParams) (*CertificateDeleteAccepted, error)
CertificateDelete deletes a certificate from the specified account
You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deletefailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.
func (*Client) CertificateGet ¶
func (a *Client) CertificateGet(params *CertificateGetParams) (*CertificateGetOK, error)
CertificateGet Gets information about the specified certificate.
func (*Client) CertificateList ¶
func (a *Client) CertificateList(params *CertificateListParams) (*CertificateListOK, error)
CertificateList lists all of the certificates that have been added to the specified account
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
Source Files
¶
- certificate_add_parameters.go
- certificate_add_responses.go
- certificate_cancel_deletion_parameters.go
- certificate_cancel_deletion_responses.go
- certificate_delete_parameters.go
- certificate_delete_responses.go
- certificate_get_parameters.go
- certificate_get_responses.go
- certificate_list_parameters.go
- certificate_list_responses.go
- certificates_client.go