Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TagsCreateOrUpdate(params *TagsCreateOrUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*TagsCreateOrUpdateOK, *TagsCreateOrUpdateCreated, error)
- func (a *Client) TagsCreateOrUpdateValue(params *TagsCreateOrUpdateValueParams, authInfo runtime.ClientAuthInfoWriter) (*TagsCreateOrUpdateValueOK, *TagsCreateOrUpdateValueCreated, error)
- func (a *Client) TagsDelete(params *TagsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*TagsDeleteOK, *TagsDeleteNoContent, error)
- func (a *Client) TagsDeleteValue(params *TagsDeleteValueParams, authInfo runtime.ClientAuthInfoWriter) (*TagsDeleteValueOK, *TagsDeleteValueNoContent, error)
- func (a *Client) TagsList(params *TagsListParams, authInfo runtime.ClientAuthInfoWriter) (*TagsListOK, error)
- type TagsCreateOrUpdateCreated
- type TagsCreateOrUpdateOK
- type TagsCreateOrUpdateParams
- func NewTagsCreateOrUpdateParams() *TagsCreateOrUpdateParams
- func NewTagsCreateOrUpdateParamsWithContext(ctx context.Context) *TagsCreateOrUpdateParams
- func NewTagsCreateOrUpdateParamsWithHTTPClient(client *http.Client) *TagsCreateOrUpdateParams
- func NewTagsCreateOrUpdateParamsWithTimeout(timeout time.Duration) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) SetAPIVersion(aPIVersion string)
- func (o *TagsCreateOrUpdateParams) SetContext(ctx context.Context)
- func (o *TagsCreateOrUpdateParams) SetHTTPClient(client *http.Client)
- func (o *TagsCreateOrUpdateParams) SetSubscriptionID(subscriptionID string)
- func (o *TagsCreateOrUpdateParams) SetTagName(tagName string)
- func (o *TagsCreateOrUpdateParams) SetTimeout(timeout time.Duration)
- func (o *TagsCreateOrUpdateParams) WithAPIVersion(aPIVersion string) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) WithContext(ctx context.Context) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) WithHTTPClient(client *http.Client) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) WithSubscriptionID(subscriptionID string) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) WithTagName(tagName string) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) WithTimeout(timeout time.Duration) *TagsCreateOrUpdateParams
- func (o *TagsCreateOrUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TagsCreateOrUpdateReader
- type TagsCreateOrUpdateValueCreated
- type TagsCreateOrUpdateValueOK
- type TagsCreateOrUpdateValueParams
- func NewTagsCreateOrUpdateValueParams() *TagsCreateOrUpdateValueParams
- func NewTagsCreateOrUpdateValueParamsWithContext(ctx context.Context) *TagsCreateOrUpdateValueParams
- func NewTagsCreateOrUpdateValueParamsWithHTTPClient(client *http.Client) *TagsCreateOrUpdateValueParams
- func NewTagsCreateOrUpdateValueParamsWithTimeout(timeout time.Duration) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) SetAPIVersion(aPIVersion string)
- func (o *TagsCreateOrUpdateValueParams) SetContext(ctx context.Context)
- func (o *TagsCreateOrUpdateValueParams) SetHTTPClient(client *http.Client)
- func (o *TagsCreateOrUpdateValueParams) SetSubscriptionID(subscriptionID string)
- func (o *TagsCreateOrUpdateValueParams) SetTagName(tagName string)
- func (o *TagsCreateOrUpdateValueParams) SetTagValue(tagValue string)
- func (o *TagsCreateOrUpdateValueParams) SetTimeout(timeout time.Duration)
- func (o *TagsCreateOrUpdateValueParams) WithAPIVersion(aPIVersion string) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WithContext(ctx context.Context) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WithHTTPClient(client *http.Client) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WithSubscriptionID(subscriptionID string) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WithTagName(tagName string) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WithTagValue(tagValue string) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WithTimeout(timeout time.Duration) *TagsCreateOrUpdateValueParams
- func (o *TagsCreateOrUpdateValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TagsCreateOrUpdateValueReader
- type TagsDeleteNoContent
- type TagsDeleteOK
- type TagsDeleteParams
- func (o *TagsDeleteParams) SetAPIVersion(aPIVersion string)
- func (o *TagsDeleteParams) SetContext(ctx context.Context)
- func (o *TagsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *TagsDeleteParams) SetSubscriptionID(subscriptionID string)
- func (o *TagsDeleteParams) SetTagName(tagName string)
- func (o *TagsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *TagsDeleteParams) WithAPIVersion(aPIVersion string) *TagsDeleteParams
- func (o *TagsDeleteParams) WithContext(ctx context.Context) *TagsDeleteParams
- func (o *TagsDeleteParams) WithHTTPClient(client *http.Client) *TagsDeleteParams
- func (o *TagsDeleteParams) WithSubscriptionID(subscriptionID string) *TagsDeleteParams
- func (o *TagsDeleteParams) WithTagName(tagName string) *TagsDeleteParams
- func (o *TagsDeleteParams) WithTimeout(timeout time.Duration) *TagsDeleteParams
- func (o *TagsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TagsDeleteReader
- type TagsDeleteValueNoContent
- type TagsDeleteValueOK
- type TagsDeleteValueParams
- func NewTagsDeleteValueParams() *TagsDeleteValueParams
- func NewTagsDeleteValueParamsWithContext(ctx context.Context) *TagsDeleteValueParams
- func NewTagsDeleteValueParamsWithHTTPClient(client *http.Client) *TagsDeleteValueParams
- func NewTagsDeleteValueParamsWithTimeout(timeout time.Duration) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) SetAPIVersion(aPIVersion string)
- func (o *TagsDeleteValueParams) SetContext(ctx context.Context)
- func (o *TagsDeleteValueParams) SetHTTPClient(client *http.Client)
- func (o *TagsDeleteValueParams) SetSubscriptionID(subscriptionID string)
- func (o *TagsDeleteValueParams) SetTagName(tagName string)
- func (o *TagsDeleteValueParams) SetTagValue(tagValue string)
- func (o *TagsDeleteValueParams) SetTimeout(timeout time.Duration)
- func (o *TagsDeleteValueParams) WithAPIVersion(aPIVersion string) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WithContext(ctx context.Context) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WithHTTPClient(client *http.Client) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WithSubscriptionID(subscriptionID string) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WithTagName(tagName string) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WithTagValue(tagValue string) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WithTimeout(timeout time.Duration) *TagsDeleteValueParams
- func (o *TagsDeleteValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TagsDeleteValueReader
- type TagsListOK
- type TagsListParams
- func (o *TagsListParams) SetAPIVersion(aPIVersion string)
- func (o *TagsListParams) SetContext(ctx context.Context)
- func (o *TagsListParams) SetHTTPClient(client *http.Client)
- func (o *TagsListParams) SetSubscriptionID(subscriptionID string)
- func (o *TagsListParams) SetTimeout(timeout time.Duration)
- func (o *TagsListParams) WithAPIVersion(aPIVersion string) *TagsListParams
- func (o *TagsListParams) WithContext(ctx context.Context) *TagsListParams
- func (o *TagsListParams) WithHTTPClient(client *http.Client) *TagsListParams
- func (o *TagsListParams) WithSubscriptionID(subscriptionID string) *TagsListParams
- func (o *TagsListParams) WithTimeout(timeout time.Duration) *TagsListParams
- func (o *TagsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TagsListReader
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 tags API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new tags API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TagsCreateOrUpdate ¶
func (a *Client) TagsCreateOrUpdate(params *TagsCreateOrUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*TagsCreateOrUpdateOK, *TagsCreateOrUpdateCreated, error)
TagsCreateOrUpdate creates a tag in the subscription
The tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes.
func (*Client) TagsCreateOrUpdateValue ¶
func (a *Client) TagsCreateOrUpdateValue(params *TagsCreateOrUpdateValueParams, authInfo runtime.ClientAuthInfoWriter) (*TagsCreateOrUpdateValueOK, *TagsCreateOrUpdateValueCreated, error)
TagsCreateOrUpdateValue Creates a tag value. The name of the tag must already exist.
func (*Client) TagsDelete ¶
func (a *Client) TagsDelete(params *TagsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*TagsDeleteOK, *TagsDeleteNoContent, error)
TagsDelete deletes a tag from the subscription
You must remove all values from a resource tag before you can delete it.
func (*Client) TagsDeleteValue ¶
func (a *Client) TagsDeleteValue(params *TagsDeleteValueParams, authInfo runtime.ClientAuthInfoWriter) (*TagsDeleteValueOK, *TagsDeleteValueNoContent, error)
TagsDeleteValue Deletes a tag value.
func (*Client) TagsList ¶
func (a *Client) TagsList(params *TagsListParams, authInfo runtime.ClientAuthInfoWriter) (*TagsListOK, error)
TagsList Gets the names and values of all resource tags that are defined in a subscription.
type TagsCreateOrUpdateCreated ¶
type TagsCreateOrUpdateCreated struct {
Payload *models.TagDetails
}
TagsCreateOrUpdateCreated handles this case with default header values.
Created - Returns information about the tag.
func NewTagsCreateOrUpdateCreated ¶
func NewTagsCreateOrUpdateCreated() *TagsCreateOrUpdateCreated
NewTagsCreateOrUpdateCreated creates a TagsCreateOrUpdateCreated with default headers values
func (*TagsCreateOrUpdateCreated) Error ¶
func (o *TagsCreateOrUpdateCreated) Error() string
type TagsCreateOrUpdateOK ¶
type TagsCreateOrUpdateOK struct {
Payload *models.TagDetails
}
TagsCreateOrUpdateOK handles this case with default header values.
OK - Returns information about the tag.
func NewTagsCreateOrUpdateOK ¶
func NewTagsCreateOrUpdateOK() *TagsCreateOrUpdateOK
NewTagsCreateOrUpdateOK creates a TagsCreateOrUpdateOK with default headers values
func (*TagsCreateOrUpdateOK) Error ¶
func (o *TagsCreateOrUpdateOK) Error() string
type TagsCreateOrUpdateParams ¶
type TagsCreateOrUpdateParams struct { /*APIVersion The API version to use for this operation. */ APIVersion string /*SubscriptionID The ID of the target subscription. */ SubscriptionID string /*TagName The name of the tag to create. */ TagName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TagsCreateOrUpdateParams contains all the parameters to send to the API endpoint for the tags create or update operation typically these are written to a http.Request
func NewTagsCreateOrUpdateParams ¶
func NewTagsCreateOrUpdateParams() *TagsCreateOrUpdateParams
NewTagsCreateOrUpdateParams creates a new TagsCreateOrUpdateParams object with the default values initialized.
func NewTagsCreateOrUpdateParamsWithContext ¶
func NewTagsCreateOrUpdateParamsWithContext(ctx context.Context) *TagsCreateOrUpdateParams
NewTagsCreateOrUpdateParamsWithContext creates a new TagsCreateOrUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewTagsCreateOrUpdateParamsWithHTTPClient ¶
func NewTagsCreateOrUpdateParamsWithHTTPClient(client *http.Client) *TagsCreateOrUpdateParams
NewTagsCreateOrUpdateParamsWithHTTPClient creates a new TagsCreateOrUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTagsCreateOrUpdateParamsWithTimeout ¶
func NewTagsCreateOrUpdateParamsWithTimeout(timeout time.Duration) *TagsCreateOrUpdateParams
NewTagsCreateOrUpdateParamsWithTimeout creates a new TagsCreateOrUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*TagsCreateOrUpdateParams) SetAPIVersion ¶
func (o *TagsCreateOrUpdateParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the tags create or update params
func (*TagsCreateOrUpdateParams) SetContext ¶
func (o *TagsCreateOrUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the tags create or update params
func (*TagsCreateOrUpdateParams) SetHTTPClient ¶
func (o *TagsCreateOrUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the tags create or update params
func (*TagsCreateOrUpdateParams) SetSubscriptionID ¶
func (o *TagsCreateOrUpdateParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the tags create or update params
func (*TagsCreateOrUpdateParams) SetTagName ¶
func (o *TagsCreateOrUpdateParams) SetTagName(tagName string)
SetTagName adds the tagName to the tags create or update params
func (*TagsCreateOrUpdateParams) SetTimeout ¶
func (o *TagsCreateOrUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the tags create or update params
func (*TagsCreateOrUpdateParams) WithAPIVersion ¶
func (o *TagsCreateOrUpdateParams) WithAPIVersion(aPIVersion string) *TagsCreateOrUpdateParams
WithAPIVersion adds the aPIVersion to the tags create or update params
func (*TagsCreateOrUpdateParams) WithContext ¶
func (o *TagsCreateOrUpdateParams) WithContext(ctx context.Context) *TagsCreateOrUpdateParams
WithContext adds the context to the tags create or update params
func (*TagsCreateOrUpdateParams) WithHTTPClient ¶
func (o *TagsCreateOrUpdateParams) WithHTTPClient(client *http.Client) *TagsCreateOrUpdateParams
WithHTTPClient adds the HTTPClient to the tags create or update params
func (*TagsCreateOrUpdateParams) WithSubscriptionID ¶
func (o *TagsCreateOrUpdateParams) WithSubscriptionID(subscriptionID string) *TagsCreateOrUpdateParams
WithSubscriptionID adds the subscriptionID to the tags create or update params
func (*TagsCreateOrUpdateParams) WithTagName ¶
func (o *TagsCreateOrUpdateParams) WithTagName(tagName string) *TagsCreateOrUpdateParams
WithTagName adds the tagName to the tags create or update params
func (*TagsCreateOrUpdateParams) WithTimeout ¶
func (o *TagsCreateOrUpdateParams) WithTimeout(timeout time.Duration) *TagsCreateOrUpdateParams
WithTimeout adds the timeout to the tags create or update params
func (*TagsCreateOrUpdateParams) WriteToRequest ¶
func (o *TagsCreateOrUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TagsCreateOrUpdateReader ¶
type TagsCreateOrUpdateReader struct {
// contains filtered or unexported fields
}
TagsCreateOrUpdateReader is a Reader for the TagsCreateOrUpdate structure.
func (*TagsCreateOrUpdateReader) ReadResponse ¶
func (o *TagsCreateOrUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TagsCreateOrUpdateValueCreated ¶
TagsCreateOrUpdateValueCreated handles this case with default header values.
Created - Returns information about the tag value.
func NewTagsCreateOrUpdateValueCreated ¶
func NewTagsCreateOrUpdateValueCreated() *TagsCreateOrUpdateValueCreated
NewTagsCreateOrUpdateValueCreated creates a TagsCreateOrUpdateValueCreated with default headers values
func (*TagsCreateOrUpdateValueCreated) Error ¶
func (o *TagsCreateOrUpdateValueCreated) Error() string
type TagsCreateOrUpdateValueOK ¶
TagsCreateOrUpdateValueOK handles this case with default header values.
OK - Returns information about the tag value.
func NewTagsCreateOrUpdateValueOK ¶
func NewTagsCreateOrUpdateValueOK() *TagsCreateOrUpdateValueOK
NewTagsCreateOrUpdateValueOK creates a TagsCreateOrUpdateValueOK with default headers values
func (*TagsCreateOrUpdateValueOK) Error ¶
func (o *TagsCreateOrUpdateValueOK) Error() string
type TagsCreateOrUpdateValueParams ¶
type TagsCreateOrUpdateValueParams struct { /*APIVersion The API version to use for this operation. */ APIVersion string /*SubscriptionID The ID of the target subscription. */ SubscriptionID string /*TagName The name of the tag. */ TagName string /*TagValue The value of the tag to create. */ TagValue string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TagsCreateOrUpdateValueParams contains all the parameters to send to the API endpoint for the tags create or update value operation typically these are written to a http.Request
func NewTagsCreateOrUpdateValueParams ¶
func NewTagsCreateOrUpdateValueParams() *TagsCreateOrUpdateValueParams
NewTagsCreateOrUpdateValueParams creates a new TagsCreateOrUpdateValueParams object with the default values initialized.
func NewTagsCreateOrUpdateValueParamsWithContext ¶
func NewTagsCreateOrUpdateValueParamsWithContext(ctx context.Context) *TagsCreateOrUpdateValueParams
NewTagsCreateOrUpdateValueParamsWithContext creates a new TagsCreateOrUpdateValueParams object with the default values initialized, and the ability to set a context for a request
func NewTagsCreateOrUpdateValueParamsWithHTTPClient ¶
func NewTagsCreateOrUpdateValueParamsWithHTTPClient(client *http.Client) *TagsCreateOrUpdateValueParams
NewTagsCreateOrUpdateValueParamsWithHTTPClient creates a new TagsCreateOrUpdateValueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTagsCreateOrUpdateValueParamsWithTimeout ¶
func NewTagsCreateOrUpdateValueParamsWithTimeout(timeout time.Duration) *TagsCreateOrUpdateValueParams
NewTagsCreateOrUpdateValueParamsWithTimeout creates a new TagsCreateOrUpdateValueParams object with the default values initialized, and the ability to set a timeout on a request
func (*TagsCreateOrUpdateValueParams) SetAPIVersion ¶
func (o *TagsCreateOrUpdateValueParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) SetContext ¶
func (o *TagsCreateOrUpdateValueParams) SetContext(ctx context.Context)
SetContext adds the context to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) SetHTTPClient ¶
func (o *TagsCreateOrUpdateValueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) SetSubscriptionID ¶
func (o *TagsCreateOrUpdateValueParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) SetTagName ¶
func (o *TagsCreateOrUpdateValueParams) SetTagName(tagName string)
SetTagName adds the tagName to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) SetTagValue ¶
func (o *TagsCreateOrUpdateValueParams) SetTagValue(tagValue string)
SetTagValue adds the tagValue to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) SetTimeout ¶
func (o *TagsCreateOrUpdateValueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithAPIVersion ¶
func (o *TagsCreateOrUpdateValueParams) WithAPIVersion(aPIVersion string) *TagsCreateOrUpdateValueParams
WithAPIVersion adds the aPIVersion to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithContext ¶
func (o *TagsCreateOrUpdateValueParams) WithContext(ctx context.Context) *TagsCreateOrUpdateValueParams
WithContext adds the context to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithHTTPClient ¶
func (o *TagsCreateOrUpdateValueParams) WithHTTPClient(client *http.Client) *TagsCreateOrUpdateValueParams
WithHTTPClient adds the HTTPClient to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithSubscriptionID ¶
func (o *TagsCreateOrUpdateValueParams) WithSubscriptionID(subscriptionID string) *TagsCreateOrUpdateValueParams
WithSubscriptionID adds the subscriptionID to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithTagName ¶
func (o *TagsCreateOrUpdateValueParams) WithTagName(tagName string) *TagsCreateOrUpdateValueParams
WithTagName adds the tagName to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithTagValue ¶
func (o *TagsCreateOrUpdateValueParams) WithTagValue(tagValue string) *TagsCreateOrUpdateValueParams
WithTagValue adds the tagValue to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WithTimeout ¶
func (o *TagsCreateOrUpdateValueParams) WithTimeout(timeout time.Duration) *TagsCreateOrUpdateValueParams
WithTimeout adds the timeout to the tags create or update value params
func (*TagsCreateOrUpdateValueParams) WriteToRequest ¶
func (o *TagsCreateOrUpdateValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TagsCreateOrUpdateValueReader ¶
type TagsCreateOrUpdateValueReader struct {
// contains filtered or unexported fields
}
TagsCreateOrUpdateValueReader is a Reader for the TagsCreateOrUpdateValue structure.
func (*TagsCreateOrUpdateValueReader) ReadResponse ¶
func (o *TagsCreateOrUpdateValueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TagsDeleteNoContent ¶
type TagsDeleteNoContent struct { }
TagsDeleteNoContent handles this case with default header values.
No Content
func NewTagsDeleteNoContent ¶
func NewTagsDeleteNoContent() *TagsDeleteNoContent
NewTagsDeleteNoContent creates a TagsDeleteNoContent with default headers values
func (*TagsDeleteNoContent) Error ¶
func (o *TagsDeleteNoContent) Error() string
type TagsDeleteOK ¶
type TagsDeleteOK struct { }
TagsDeleteOK handles this case with default header values.
OK
func NewTagsDeleteOK ¶
func NewTagsDeleteOK() *TagsDeleteOK
NewTagsDeleteOK creates a TagsDeleteOK with default headers values
func (*TagsDeleteOK) Error ¶
func (o *TagsDeleteOK) Error() string
type TagsDeleteParams ¶
type TagsDeleteParams struct { /*APIVersion The API version to use for this operation. */ APIVersion string /*SubscriptionID The ID of the target subscription. */ SubscriptionID string /*TagName The name of the tag. */ TagName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TagsDeleteParams contains all the parameters to send to the API endpoint for the tags delete operation typically these are written to a http.Request
func NewTagsDeleteParams ¶
func NewTagsDeleteParams() *TagsDeleteParams
NewTagsDeleteParams creates a new TagsDeleteParams object with the default values initialized.
func NewTagsDeleteParamsWithContext ¶
func NewTagsDeleteParamsWithContext(ctx context.Context) *TagsDeleteParams
NewTagsDeleteParamsWithContext creates a new TagsDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewTagsDeleteParamsWithHTTPClient ¶
func NewTagsDeleteParamsWithHTTPClient(client *http.Client) *TagsDeleteParams
NewTagsDeleteParamsWithHTTPClient creates a new TagsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTagsDeleteParamsWithTimeout ¶
func NewTagsDeleteParamsWithTimeout(timeout time.Duration) *TagsDeleteParams
NewTagsDeleteParamsWithTimeout creates a new TagsDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*TagsDeleteParams) SetAPIVersion ¶
func (o *TagsDeleteParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the tags delete params
func (*TagsDeleteParams) SetContext ¶
func (o *TagsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the tags delete params
func (*TagsDeleteParams) SetHTTPClient ¶
func (o *TagsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the tags delete params
func (*TagsDeleteParams) SetSubscriptionID ¶
func (o *TagsDeleteParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the tags delete params
func (*TagsDeleteParams) SetTagName ¶
func (o *TagsDeleteParams) SetTagName(tagName string)
SetTagName adds the tagName to the tags delete params
func (*TagsDeleteParams) SetTimeout ¶
func (o *TagsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the tags delete params
func (*TagsDeleteParams) WithAPIVersion ¶
func (o *TagsDeleteParams) WithAPIVersion(aPIVersion string) *TagsDeleteParams
WithAPIVersion adds the aPIVersion to the tags delete params
func (*TagsDeleteParams) WithContext ¶
func (o *TagsDeleteParams) WithContext(ctx context.Context) *TagsDeleteParams
WithContext adds the context to the tags delete params
func (*TagsDeleteParams) WithHTTPClient ¶
func (o *TagsDeleteParams) WithHTTPClient(client *http.Client) *TagsDeleteParams
WithHTTPClient adds the HTTPClient to the tags delete params
func (*TagsDeleteParams) WithSubscriptionID ¶
func (o *TagsDeleteParams) WithSubscriptionID(subscriptionID string) *TagsDeleteParams
WithSubscriptionID adds the subscriptionID to the tags delete params
func (*TagsDeleteParams) WithTagName ¶
func (o *TagsDeleteParams) WithTagName(tagName string) *TagsDeleteParams
WithTagName adds the tagName to the tags delete params
func (*TagsDeleteParams) WithTimeout ¶
func (o *TagsDeleteParams) WithTimeout(timeout time.Duration) *TagsDeleteParams
WithTimeout adds the timeout to the tags delete params
func (*TagsDeleteParams) WriteToRequest ¶
func (o *TagsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TagsDeleteReader ¶
type TagsDeleteReader struct {
// contains filtered or unexported fields
}
TagsDeleteReader is a Reader for the TagsDelete structure.
func (*TagsDeleteReader) ReadResponse ¶
func (o *TagsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TagsDeleteValueNoContent ¶
type TagsDeleteValueNoContent struct { }
TagsDeleteValueNoContent handles this case with default header values.
No Content
func NewTagsDeleteValueNoContent ¶
func NewTagsDeleteValueNoContent() *TagsDeleteValueNoContent
NewTagsDeleteValueNoContent creates a TagsDeleteValueNoContent with default headers values
func (*TagsDeleteValueNoContent) Error ¶
func (o *TagsDeleteValueNoContent) Error() string
type TagsDeleteValueOK ¶
type TagsDeleteValueOK struct { }
TagsDeleteValueOK handles this case with default header values.
OK
func NewTagsDeleteValueOK ¶
func NewTagsDeleteValueOK() *TagsDeleteValueOK
NewTagsDeleteValueOK creates a TagsDeleteValueOK with default headers values
func (*TagsDeleteValueOK) Error ¶
func (o *TagsDeleteValueOK) Error() string
type TagsDeleteValueParams ¶
type TagsDeleteValueParams struct { /*APIVersion The API version to use for this operation. */ APIVersion string /*SubscriptionID The ID of the target subscription. */ SubscriptionID string /*TagName The name of the tag. */ TagName string /*TagValue The value of the tag to delete. */ TagValue string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TagsDeleteValueParams contains all the parameters to send to the API endpoint for the tags delete value operation typically these are written to a http.Request
func NewTagsDeleteValueParams ¶
func NewTagsDeleteValueParams() *TagsDeleteValueParams
NewTagsDeleteValueParams creates a new TagsDeleteValueParams object with the default values initialized.
func NewTagsDeleteValueParamsWithContext ¶
func NewTagsDeleteValueParamsWithContext(ctx context.Context) *TagsDeleteValueParams
NewTagsDeleteValueParamsWithContext creates a new TagsDeleteValueParams object with the default values initialized, and the ability to set a context for a request
func NewTagsDeleteValueParamsWithHTTPClient ¶
func NewTagsDeleteValueParamsWithHTTPClient(client *http.Client) *TagsDeleteValueParams
NewTagsDeleteValueParamsWithHTTPClient creates a new TagsDeleteValueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTagsDeleteValueParamsWithTimeout ¶
func NewTagsDeleteValueParamsWithTimeout(timeout time.Duration) *TagsDeleteValueParams
NewTagsDeleteValueParamsWithTimeout creates a new TagsDeleteValueParams object with the default values initialized, and the ability to set a timeout on a request
func (*TagsDeleteValueParams) SetAPIVersion ¶
func (o *TagsDeleteValueParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the tags delete value params
func (*TagsDeleteValueParams) SetContext ¶
func (o *TagsDeleteValueParams) SetContext(ctx context.Context)
SetContext adds the context to the tags delete value params
func (*TagsDeleteValueParams) SetHTTPClient ¶
func (o *TagsDeleteValueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the tags delete value params
func (*TagsDeleteValueParams) SetSubscriptionID ¶
func (o *TagsDeleteValueParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the tags delete value params
func (*TagsDeleteValueParams) SetTagName ¶
func (o *TagsDeleteValueParams) SetTagName(tagName string)
SetTagName adds the tagName to the tags delete value params
func (*TagsDeleteValueParams) SetTagValue ¶
func (o *TagsDeleteValueParams) SetTagValue(tagValue string)
SetTagValue adds the tagValue to the tags delete value params
func (*TagsDeleteValueParams) SetTimeout ¶
func (o *TagsDeleteValueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the tags delete value params
func (*TagsDeleteValueParams) WithAPIVersion ¶
func (o *TagsDeleteValueParams) WithAPIVersion(aPIVersion string) *TagsDeleteValueParams
WithAPIVersion adds the aPIVersion to the tags delete value params
func (*TagsDeleteValueParams) WithContext ¶
func (o *TagsDeleteValueParams) WithContext(ctx context.Context) *TagsDeleteValueParams
WithContext adds the context to the tags delete value params
func (*TagsDeleteValueParams) WithHTTPClient ¶
func (o *TagsDeleteValueParams) WithHTTPClient(client *http.Client) *TagsDeleteValueParams
WithHTTPClient adds the HTTPClient to the tags delete value params
func (*TagsDeleteValueParams) WithSubscriptionID ¶
func (o *TagsDeleteValueParams) WithSubscriptionID(subscriptionID string) *TagsDeleteValueParams
WithSubscriptionID adds the subscriptionID to the tags delete value params
func (*TagsDeleteValueParams) WithTagName ¶
func (o *TagsDeleteValueParams) WithTagName(tagName string) *TagsDeleteValueParams
WithTagName adds the tagName to the tags delete value params
func (*TagsDeleteValueParams) WithTagValue ¶
func (o *TagsDeleteValueParams) WithTagValue(tagValue string) *TagsDeleteValueParams
WithTagValue adds the tagValue to the tags delete value params
func (*TagsDeleteValueParams) WithTimeout ¶
func (o *TagsDeleteValueParams) WithTimeout(timeout time.Duration) *TagsDeleteValueParams
WithTimeout adds the timeout to the tags delete value params
func (*TagsDeleteValueParams) WriteToRequest ¶
func (o *TagsDeleteValueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TagsDeleteValueReader ¶
type TagsDeleteValueReader struct {
// contains filtered or unexported fields
}
TagsDeleteValueReader is a Reader for the TagsDeleteValue structure.
func (*TagsDeleteValueReader) ReadResponse ¶
func (o *TagsDeleteValueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TagsListOK ¶
type TagsListOK struct {
Payload *models.TagsListResult
}
TagsListOK handles this case with default header values.
OK - Returns an array of tag names and values.
func NewTagsListOK ¶
func NewTagsListOK() *TagsListOK
NewTagsListOK creates a TagsListOK with default headers values
func (*TagsListOK) Error ¶
func (o *TagsListOK) Error() string
type TagsListParams ¶
type TagsListParams struct { /*APIVersion The API version to use for this operation. */ APIVersion string /*SubscriptionID The ID of the target subscription. */ SubscriptionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TagsListParams contains all the parameters to send to the API endpoint for the tags list operation typically these are written to a http.Request
func NewTagsListParams ¶
func NewTagsListParams() *TagsListParams
NewTagsListParams creates a new TagsListParams object with the default values initialized.
func NewTagsListParamsWithContext ¶
func NewTagsListParamsWithContext(ctx context.Context) *TagsListParams
NewTagsListParamsWithContext creates a new TagsListParams object with the default values initialized, and the ability to set a context for a request
func NewTagsListParamsWithHTTPClient ¶
func NewTagsListParamsWithHTTPClient(client *http.Client) *TagsListParams
NewTagsListParamsWithHTTPClient creates a new TagsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTagsListParamsWithTimeout ¶
func NewTagsListParamsWithTimeout(timeout time.Duration) *TagsListParams
NewTagsListParamsWithTimeout creates a new TagsListParams object with the default values initialized, and the ability to set a timeout on a request
func (*TagsListParams) SetAPIVersion ¶
func (o *TagsListParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the tags list params
func (*TagsListParams) SetContext ¶
func (o *TagsListParams) SetContext(ctx context.Context)
SetContext adds the context to the tags list params
func (*TagsListParams) SetHTTPClient ¶
func (o *TagsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the tags list params
func (*TagsListParams) SetSubscriptionID ¶
func (o *TagsListParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the tags list params
func (*TagsListParams) SetTimeout ¶
func (o *TagsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the tags list params
func (*TagsListParams) WithAPIVersion ¶
func (o *TagsListParams) WithAPIVersion(aPIVersion string) *TagsListParams
WithAPIVersion adds the aPIVersion to the tags list params
func (*TagsListParams) WithContext ¶
func (o *TagsListParams) WithContext(ctx context.Context) *TagsListParams
WithContext adds the context to the tags list params
func (*TagsListParams) WithHTTPClient ¶
func (o *TagsListParams) WithHTTPClient(client *http.Client) *TagsListParams
WithHTTPClient adds the HTTPClient to the tags list params
func (*TagsListParams) WithSubscriptionID ¶
func (o *TagsListParams) WithSubscriptionID(subscriptionID string) *TagsListParams
WithSubscriptionID adds the subscriptionID to the tags list params
func (*TagsListParams) WithTimeout ¶
func (o *TagsListParams) WithTimeout(timeout time.Duration) *TagsListParams
WithTimeout adds the timeout to the tags list params
func (*TagsListParams) WriteToRequest ¶
func (o *TagsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TagsListReader ¶
type TagsListReader struct {
// contains filtered or unexported fields
}
TagsListReader is a Reader for the TagsList structure.
func (*TagsListReader) ReadResponse ¶
func (o *TagsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- tags_client.go
- tags_create_or_update_parameters.go
- tags_create_or_update_responses.go
- tags_create_or_update_value_parameters.go
- tags_create_or_update_value_responses.go
- tags_delete_parameters.go
- tags_delete_responses.go
- tags_delete_value_parameters.go
- tags_delete_value_responses.go
- tags_list_parameters.go
- tags_list_responses.go