Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateResourceGroup(params *CreateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateResourceGroupOK, error)
- func (a *Client) DeleteResourceGroup(params *DeleteResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteResourceGroupOK, error)
- func (a *Client) GetResourceGroup(params *GetResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceGroupOK, error)
- func (a *Client) GetResourceGroupByName(params *GetResourceGroupByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceGroupByNameOK, error)
- func (a *Client) GetResourceGroupEvents(params *GetResourceGroupEventsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceGroupEventsOK, error)
- func (a *Client) GetResourceGroupEventsByName(params *GetResourceGroupEventsByNameParams, ...) (*GetResourceGroupEventsByNameOK, error)
- func (a *Client) GetResourceGroupResourceMetricsByID(params *GetResourceGroupResourceMetricsByIDParams, ...) (*GetResourceGroupResourceMetricsByIDOK, error)
- func (a *Client) GetResourceGroupResourceMetricsByName(params *GetResourceGroupResourceMetricsByNameParams, ...) (*GetResourceGroupResourceMetricsByNameOK, error)
- func (a *Client) QueryResourceGroups(params *QueryResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryResourceGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateResourceGroup(params *UpdateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateResourceGroupOK, error)
- type ClientOption
- type ClientService
- type CreateResourceGroupBadRequest
- type CreateResourceGroupConflict
- type CreateResourceGroupForbidden
- type CreateResourceGroupGatewayTimeout
- type CreateResourceGroupInternalServerError
- type CreateResourceGroupOK
- type CreateResourceGroupParams
- func NewCreateResourceGroupParams() *CreateResourceGroupParams
- func NewCreateResourceGroupParamsWithContext(ctx context.Context) *CreateResourceGroupParams
- func NewCreateResourceGroupParamsWithHTTPClient(client *http.Client) *CreateResourceGroupParams
- func NewCreateResourceGroupParamsWithTimeout(timeout time.Duration) *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) SetBody(body *swagger_models.Tag)
- func (o *CreateResourceGroupParams) SetContext(ctx context.Context)
- func (o *CreateResourceGroupParams) SetDefaults()
- func (o *CreateResourceGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateResourceGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateResourceGroupParams) SetXRequestID(xRequestID *string)
- func (o *CreateResourceGroupParams) WithBody(body *swagger_models.Tag) *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) WithContext(ctx context.Context) *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) WithDefaults() *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) WithHTTPClient(client *http.Client) *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) WithTimeout(timeout time.Duration) *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) WithXRequestID(xRequestID *string) *CreateResourceGroupParams
- func (o *CreateResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateResourceGroupReader
- type CreateResourceGroupUnauthorized
- type DeleteResourceGroupForbidden
- type DeleteResourceGroupGatewayTimeout
- type DeleteResourceGroupInternalServerError
- type DeleteResourceGroupNotFound
- type DeleteResourceGroupOK
- type DeleteResourceGroupParams
- func NewDeleteResourceGroupParams() *DeleteResourceGroupParams
- func NewDeleteResourceGroupParamsWithContext(ctx context.Context) *DeleteResourceGroupParams
- func NewDeleteResourceGroupParamsWithHTTPClient(client *http.Client) *DeleteResourceGroupParams
- func NewDeleteResourceGroupParamsWithTimeout(timeout time.Duration) *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) SetContext(ctx context.Context)
- func (o *DeleteResourceGroupParams) SetDefaults()
- func (o *DeleteResourceGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResourceGroupParams) SetID(id string)
- func (o *DeleteResourceGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResourceGroupParams) SetXRequestID(xRequestID *string)
- func (o *DeleteResourceGroupParams) WithContext(ctx context.Context) *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) WithDefaults() *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) WithHTTPClient(client *http.Client) *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) WithID(id string) *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) WithTimeout(timeout time.Duration) *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) WithXRequestID(xRequestID *string) *DeleteResourceGroupParams
- func (o *DeleteResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResourceGroupReader
- type DeleteResourceGroupUnauthorized
- type GetResourceGroupByNameForbidden
- type GetResourceGroupByNameGatewayTimeout
- type GetResourceGroupByNameInternalServerError
- type GetResourceGroupByNameNotFound
- type GetResourceGroupByNameOK
- type GetResourceGroupByNameParams
- func NewGetResourceGroupByNameParams() *GetResourceGroupByNameParams
- func NewGetResourceGroupByNameParamsWithContext(ctx context.Context) *GetResourceGroupByNameParams
- func NewGetResourceGroupByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupByNameParams
- func NewGetResourceGroupByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) SetContext(ctx context.Context)
- func (o *GetResourceGroupByNameParams) SetDefaults()
- func (o *GetResourceGroupByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceGroupByNameParams) SetName(name string)
- func (o *GetResourceGroupByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceGroupByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceGroupByNameParams) WithContext(ctx context.Context) *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) WithDefaults() *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) WithHTTPClient(client *http.Client) *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) WithName(name string) *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) WithTimeout(timeout time.Duration) *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupByNameParams
- func (o *GetResourceGroupByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceGroupByNameReader
- type GetResourceGroupByNameUnauthorized
- type GetResourceGroupEventsByNameForbidden
- type GetResourceGroupEventsByNameGatewayTimeout
- type GetResourceGroupEventsByNameInternalServerError
- type GetResourceGroupEventsByNameNotFound
- type GetResourceGroupEventsByNameOK
- type GetResourceGroupEventsByNameParams
- func NewGetResourceGroupEventsByNameParams() *GetResourceGroupEventsByNameParams
- func NewGetResourceGroupEventsByNameParamsWithContext(ctx context.Context) *GetResourceGroupEventsByNameParams
- func NewGetResourceGroupEventsByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupEventsByNameParams
- func NewGetResourceGroupEventsByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) SetContext(ctx context.Context)
- func (o *GetResourceGroupEventsByNameParams) SetDefaults()
- func (o *GetResourceGroupEventsByNameParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetResourceGroupEventsByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceGroupEventsByNameParams) SetObjid(objid *string)
- func (o *GetResourceGroupEventsByNameParams) SetObjname(objname string)
- func (o *GetResourceGroupEventsByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceGroupEventsByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceGroupEventsByNameParams) WithContext(ctx context.Context) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithDefaults() *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithHTTPClient(client *http.Client) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithObjid(objid *string) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithObjname(objname string) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithTimeout(timeout time.Duration) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupEventsByNameParams
- func (o *GetResourceGroupEventsByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceGroupEventsByNameReader
- type GetResourceGroupEventsByNameUnauthorized
- type GetResourceGroupEventsForbidden
- type GetResourceGroupEventsGatewayTimeout
- type GetResourceGroupEventsInternalServerError
- type GetResourceGroupEventsNotFound
- type GetResourceGroupEventsOK
- type GetResourceGroupEventsParams
- func NewGetResourceGroupEventsParams() *GetResourceGroupEventsParams
- func NewGetResourceGroupEventsParamsWithContext(ctx context.Context) *GetResourceGroupEventsParams
- func NewGetResourceGroupEventsParamsWithHTTPClient(client *http.Client) *GetResourceGroupEventsParams
- func NewGetResourceGroupEventsParamsWithTimeout(timeout time.Duration) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) SetContext(ctx context.Context)
- func (o *GetResourceGroupEventsParams) SetDefaults()
- func (o *GetResourceGroupEventsParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetResourceGroupEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceGroupEventsParams) SetObjid(objid string)
- func (o *GetResourceGroupEventsParams) SetObjname(objname *string)
- func (o *GetResourceGroupEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceGroupEventsParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceGroupEventsParams) WithContext(ctx context.Context) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithDefaults() *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithHTTPClient(client *http.Client) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithObjid(objid string) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithObjname(objname *string) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithTimeout(timeout time.Duration) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WithXRequestID(xRequestID *string) *GetResourceGroupEventsParams
- func (o *GetResourceGroupEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceGroupEventsReader
- type GetResourceGroupEventsUnauthorized
- type GetResourceGroupForbidden
- type GetResourceGroupGatewayTimeout
- type GetResourceGroupInternalServerError
- type GetResourceGroupNotFound
- type GetResourceGroupOK
- type GetResourceGroupParams
- func NewGetResourceGroupParams() *GetResourceGroupParams
- func NewGetResourceGroupParamsWithContext(ctx context.Context) *GetResourceGroupParams
- func NewGetResourceGroupParamsWithHTTPClient(client *http.Client) *GetResourceGroupParams
- func NewGetResourceGroupParamsWithTimeout(timeout time.Duration) *GetResourceGroupParams
- func (o *GetResourceGroupParams) SetContext(ctx context.Context)
- func (o *GetResourceGroupParams) SetDefaults()
- func (o *GetResourceGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceGroupParams) SetID(id string)
- func (o *GetResourceGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceGroupParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceGroupParams) WithContext(ctx context.Context) *GetResourceGroupParams
- func (o *GetResourceGroupParams) WithDefaults() *GetResourceGroupParams
- func (o *GetResourceGroupParams) WithHTTPClient(client *http.Client) *GetResourceGroupParams
- func (o *GetResourceGroupParams) WithID(id string) *GetResourceGroupParams
- func (o *GetResourceGroupParams) WithTimeout(timeout time.Duration) *GetResourceGroupParams
- func (o *GetResourceGroupParams) WithXRequestID(xRequestID *string) *GetResourceGroupParams
- func (o *GetResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceGroupReader
- type GetResourceGroupResourceMetricsByIDForbidden
- type GetResourceGroupResourceMetricsByIDGatewayTimeout
- type GetResourceGroupResourceMetricsByIDInternalServerError
- type GetResourceGroupResourceMetricsByIDNotFound
- type GetResourceGroupResourceMetricsByIDOK
- type GetResourceGroupResourceMetricsByIDParams
- func NewGetResourceGroupResourceMetricsByIDParams() *GetResourceGroupResourceMetricsByIDParams
- func NewGetResourceGroupResourceMetricsByIDParamsWithContext(ctx context.Context) *GetResourceGroupResourceMetricsByIDParams
- func NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByIDParams
- func NewGetResourceGroupResourceMetricsByIDParamsWithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) SetContext(ctx context.Context)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetDefaults()
- func (o *GetResourceGroupResourceMetricsByIDParams) SetEndTime(endTime *strfmt.DateTime)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetInterval(interval *strfmt.DateTime)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetMType(mType string)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetObjid(objid string)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetObjname(objname *string)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetObjtype(objtype *string)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetStartTime(startTime *strfmt.DateTime)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceGroupResourceMetricsByIDParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceGroupResourceMetricsByIDParams) WithContext(ctx context.Context) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithDefaults() *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithEndTime(endTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithInterval(interval *strfmt.DateTime) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithMType(mType string) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithObjid(objid string) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithObjname(objname *string) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithObjtype(objtype *string) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithStartTime(startTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WithXRequestID(xRequestID *string) *GetResourceGroupResourceMetricsByIDParams
- func (o *GetResourceGroupResourceMetricsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceGroupResourceMetricsByIDReader
- type GetResourceGroupResourceMetricsByIDUnauthorized
- type GetResourceGroupResourceMetricsByNameForbidden
- type GetResourceGroupResourceMetricsByNameGatewayTimeout
- type GetResourceGroupResourceMetricsByNameInternalServerError
- type GetResourceGroupResourceMetricsByNameNotFound
- type GetResourceGroupResourceMetricsByNameOK
- type GetResourceGroupResourceMetricsByNameParams
- func NewGetResourceGroupResourceMetricsByNameParams() *GetResourceGroupResourceMetricsByNameParams
- func NewGetResourceGroupResourceMetricsByNameParamsWithContext(ctx context.Context) *GetResourceGroupResourceMetricsByNameParams
- func NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByNameParams
- func NewGetResourceGroupResourceMetricsByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) SetContext(ctx context.Context)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetDefaults()
- func (o *GetResourceGroupResourceMetricsByNameParams) SetEndTime(endTime *strfmt.DateTime)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetInterval(interval *strfmt.DateTime)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetMType(mType string)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetObjid(objid *string)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetObjname(objname string)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetObjtype(objtype *string)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetStartTime(startTime *strfmt.DateTime)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceGroupResourceMetricsByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceGroupResourceMetricsByNameParams) WithContext(ctx context.Context) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithDefaults() *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithEndTime(endTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithInterval(interval *strfmt.DateTime) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithMType(mType string) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithObjid(objid *string) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithObjname(objname string) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithObjtype(objtype *string) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithStartTime(startTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupResourceMetricsByNameParams
- func (o *GetResourceGroupResourceMetricsByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceGroupResourceMetricsByNameReader
- type GetResourceGroupResourceMetricsByNameUnauthorized
- type GetResourceGroupUnauthorized
- type QueryResourceGroupsBadRequest
- type QueryResourceGroupsForbidden
- type QueryResourceGroupsGatewayTimeout
- type QueryResourceGroupsInternalServerError
- type QueryResourceGroupsOK
- type QueryResourceGroupsParams
- func NewQueryResourceGroupsParams() *QueryResourceGroupsParams
- func NewQueryResourceGroupsParamsWithContext(ctx context.Context) *QueryResourceGroupsParams
- func NewQueryResourceGroupsParamsWithHTTPClient(client *http.Client) *QueryResourceGroupsParams
- func NewQueryResourceGroupsParamsWithTimeout(timeout time.Duration) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) SetContext(ctx context.Context)
- func (o *QueryResourceGroupsParams) SetDefaults()
- func (o *QueryResourceGroupsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *QueryResourceGroupsParams) SetFilterType(filterType *string)
- func (o *QueryResourceGroupsParams) SetHTTPClient(client *http.Client)
- func (o *QueryResourceGroupsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryResourceGroupsParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryResourceGroupsParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryResourceGroupsParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryResourceGroupsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryResourceGroupsParams) SetSummary(summary *bool)
- func (o *QueryResourceGroupsParams) SetTimeout(timeout time.Duration)
- func (o *QueryResourceGroupsParams) SetXRequestID(xRequestID *string)
- func (o *QueryResourceGroupsParams) WithContext(ctx context.Context) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithDefaults() *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithFilterNamePattern(filterNamePattern *string) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithFilterType(filterType *string) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithHTTPClient(client *http.Client) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithNextOrderBy(nextOrderBy *string) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithNextPageNum(nextPageNum *int64) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithNextPageSize(nextPageSize *int64) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithNextPageToken(nextPageToken *string) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithNextTotalPages(nextTotalPages *int64) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithSummary(summary *bool) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithTimeout(timeout time.Duration) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WithXRequestID(xRequestID *string) *QueryResourceGroupsParams
- func (o *QueryResourceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryResourceGroupsReader
- type QueryResourceGroupsUnauthorized
- type UpdateResourceGroupConflict
- type UpdateResourceGroupForbidden
- type UpdateResourceGroupGatewayTimeout
- type UpdateResourceGroupInternalServerError
- type UpdateResourceGroupNotFound
- type UpdateResourceGroupOK
- type UpdateResourceGroupParams
- func NewUpdateResourceGroupParams() *UpdateResourceGroupParams
- func NewUpdateResourceGroupParamsWithContext(ctx context.Context) *UpdateResourceGroupParams
- func NewUpdateResourceGroupParamsWithHTTPClient(client *http.Client) *UpdateResourceGroupParams
- func NewUpdateResourceGroupParamsWithTimeout(timeout time.Duration) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) SetBody(body *swagger_models.Tag)
- func (o *UpdateResourceGroupParams) SetContext(ctx context.Context)
- func (o *UpdateResourceGroupParams) SetDefaults()
- func (o *UpdateResourceGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateResourceGroupParams) SetID(id string)
- func (o *UpdateResourceGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateResourceGroupParams) SetXRequestID(xRequestID *string)
- func (o *UpdateResourceGroupParams) WithBody(body *swagger_models.Tag) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WithContext(ctx context.Context) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WithDefaults() *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WithHTTPClient(client *http.Client) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WithID(id string) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WithTimeout(timeout time.Duration) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WithXRequestID(xRequestID *string) *UpdateResourceGroupParams
- func (o *UpdateResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateResourceGroupReader
- type UpdateResourceGroupUnauthorized
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 resource group API
func (*Client) CreateResourceGroup ¶
func (a *Client) CreateResourceGroup(params *CreateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateResourceGroupOK, error)
CreateResourceGroup creates resource group
Create a resource group record.
func (*Client) DeleteResourceGroup ¶
func (a *Client) DeleteResourceGroup(params *DeleteResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourceGroupOK, error)
DeleteResourceGroup deletes resource group
Delete a resource group record.
func (*Client) GetResourceGroup ¶
func (a *Client) GetResourceGroup(params *GetResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupOK, error)
GetResourceGroup gets resource group
Get the configuration (without security details) of a resource group record.
func (*Client) GetResourceGroupByName ¶
func (a *Client) GetResourceGroupByName(params *GetResourceGroupByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupByNameOK, error)
GetResourceGroupByName gets resource group
Get the configuration (without security details) of a resource group record.
func (*Client) GetResourceGroupEvents ¶
func (a *Client) GetResourceGroupEvents(params *GetResourceGroupEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsOK, error)
GetResourceGroupEvents gets resource group events by id
Get configuration and status events of a resource group by id.
func (*Client) GetResourceGroupEventsByName ¶
func (a *Client) GetResourceGroupEventsByName(params *GetResourceGroupEventsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsByNameOK, error)
GetResourceGroupEventsByName gets resource group events by name
Get configuration and status events of a resource group by name.
func (*Client) GetResourceGroupResourceMetricsByID ¶
func (a *Client) GetResourceGroupResourceMetricsByID(params *GetResourceGroupResourceMetricsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByIDOK, error)
GetResourceGroupResourceMetricsByID gets resource group resource usage timeline
Get the resource usage timeline of a resource group as reported by the edge nodes in the resource group
func (*Client) GetResourceGroupResourceMetricsByName ¶
func (a *Client) GetResourceGroupResourceMetricsByName(params *GetResourceGroupResourceMetricsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByNameOK, error)
GetResourceGroupResourceMetricsByName gets resource group resource usage timeline
Get the resource usage timeline of a resource group as reported by the edge nodes in the resource group
func (*Client) QueryResourceGroups ¶
func (a *Client) QueryResourceGroups(params *QueryResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryResourceGroupsOK, error)
QueryResourceGroups queries resource groups
Query the resource group records.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateResourceGroup ¶
func (a *Client) UpdateResourceGroup(params *UpdateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateResourceGroupOK, error)
UpdateResourceGroup updates resource group
Update a resource group record. The usual pattern to update a resource group record is to retrieve the record and update with the modified values in a new body to update the resource group record.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateResourceGroup(params *CreateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateResourceGroupOK, error) DeleteResourceGroup(params *DeleteResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteResourceGroupOK, error) GetResourceGroup(params *GetResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupOK, error) GetResourceGroupByName(params *GetResourceGroupByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupByNameOK, error) GetResourceGroupEvents(params *GetResourceGroupEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsOK, error) GetResourceGroupEventsByName(params *GetResourceGroupEventsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupEventsByNameOK, error) GetResourceGroupResourceMetricsByID(params *GetResourceGroupResourceMetricsByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByIDOK, error) GetResourceGroupResourceMetricsByName(params *GetResourceGroupResourceMetricsByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceGroupResourceMetricsByNameOK, error) QueryResourceGroups(params *QueryResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryResourceGroupsOK, error) UpdateResourceGroup(params *UpdateResourceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateResourceGroupOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new resource group API client.
type CreateResourceGroupBadRequest ¶
type CreateResourceGroupBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.
func NewCreateResourceGroupBadRequest ¶
func NewCreateResourceGroupBadRequest() *CreateResourceGroupBadRequest
NewCreateResourceGroupBadRequest creates a CreateResourceGroupBadRequest with default headers values
func (*CreateResourceGroupBadRequest) Error ¶
func (o *CreateResourceGroupBadRequest) Error() string
func (*CreateResourceGroupBadRequest) GetPayload ¶
func (o *CreateResourceGroupBadRequest) GetPayload() *swagger_models.ZsrvResponse
type CreateResourceGroupConflict ¶
type CreateResourceGroupConflict struct {
Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this resource group record will conflict with an already existing resource group record.
func NewCreateResourceGroupConflict ¶
func NewCreateResourceGroupConflict() *CreateResourceGroupConflict
NewCreateResourceGroupConflict creates a CreateResourceGroupConflict with default headers values
func (*CreateResourceGroupConflict) Error ¶
func (o *CreateResourceGroupConflict) Error() string
func (*CreateResourceGroupConflict) GetPayload ¶
func (o *CreateResourceGroupConflict) GetPayload() *swagger_models.ZsrvResponse
type CreateResourceGroupForbidden ¶
type CreateResourceGroupForbidden struct {
Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewCreateResourceGroupForbidden ¶
func NewCreateResourceGroupForbidden() *CreateResourceGroupForbidden
NewCreateResourceGroupForbidden creates a CreateResourceGroupForbidden with default headers values
func (*CreateResourceGroupForbidden) Error ¶
func (o *CreateResourceGroupForbidden) Error() string
func (*CreateResourceGroupForbidden) GetPayload ¶
func (o *CreateResourceGroupForbidden) GetPayload() *swagger_models.ZsrvResponse
type CreateResourceGroupGatewayTimeout ¶
type CreateResourceGroupGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewCreateResourceGroupGatewayTimeout ¶
func NewCreateResourceGroupGatewayTimeout() *CreateResourceGroupGatewayTimeout
NewCreateResourceGroupGatewayTimeout creates a CreateResourceGroupGatewayTimeout with default headers values
func (*CreateResourceGroupGatewayTimeout) Error ¶
func (o *CreateResourceGroupGatewayTimeout) Error() string
func (*CreateResourceGroupGatewayTimeout) GetPayload ¶
func (o *CreateResourceGroupGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type CreateResourceGroupInternalServerError ¶
type CreateResourceGroupInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewCreateResourceGroupInternalServerError ¶
func NewCreateResourceGroupInternalServerError() *CreateResourceGroupInternalServerError
NewCreateResourceGroupInternalServerError creates a CreateResourceGroupInternalServerError with default headers values
func (*CreateResourceGroupInternalServerError) Error ¶
func (o *CreateResourceGroupInternalServerError) Error() string
func (*CreateResourceGroupInternalServerError) GetPayload ¶
func (o *CreateResourceGroupInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type CreateResourceGroupOK ¶
type CreateResourceGroupOK struct {
Payload *swagger_models.ZsrvResponse
}
CreateResourceGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateResourceGroupOK ¶
func NewCreateResourceGroupOK() *CreateResourceGroupOK
NewCreateResourceGroupOK creates a CreateResourceGroupOK with default headers values
func (*CreateResourceGroupOK) Error ¶
func (o *CreateResourceGroupOK) Error() string
func (*CreateResourceGroupOK) GetPayload ¶
func (o *CreateResourceGroupOK) GetPayload() *swagger_models.ZsrvResponse
type CreateResourceGroupParams ¶
type CreateResourceGroupParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *swagger_models.Tag Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateResourceGroupParams contains all the parameters to send to the API endpoint
for the create resource group operation. Typically these are written to a http.Request.
func NewCreateResourceGroupParams ¶
func NewCreateResourceGroupParams() *CreateResourceGroupParams
NewCreateResourceGroupParams creates a new CreateResourceGroupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateResourceGroupParamsWithContext ¶
func NewCreateResourceGroupParamsWithContext(ctx context.Context) *CreateResourceGroupParams
NewCreateResourceGroupParamsWithContext creates a new CreateResourceGroupParams object with the ability to set a context for a request.
func NewCreateResourceGroupParamsWithHTTPClient ¶
func NewCreateResourceGroupParamsWithHTTPClient(client *http.Client) *CreateResourceGroupParams
NewCreateResourceGroupParamsWithHTTPClient creates a new CreateResourceGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateResourceGroupParamsWithTimeout ¶
func NewCreateResourceGroupParamsWithTimeout(timeout time.Duration) *CreateResourceGroupParams
NewCreateResourceGroupParamsWithTimeout creates a new CreateResourceGroupParams object with the ability to set a timeout on a request.
func (*CreateResourceGroupParams) SetBody ¶
func (o *CreateResourceGroupParams) SetBody(body *swagger_models.Tag)
SetBody adds the body to the create resource group params
func (*CreateResourceGroupParams) SetContext ¶
func (o *CreateResourceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create resource group params
func (*CreateResourceGroupParams) SetDefaults ¶
func (o *CreateResourceGroupParams) SetDefaults()
SetDefaults hydrates default values in the create resource group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateResourceGroupParams) SetHTTPClient ¶
func (o *CreateResourceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create resource group params
func (*CreateResourceGroupParams) SetTimeout ¶
func (o *CreateResourceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create resource group params
func (*CreateResourceGroupParams) SetXRequestID ¶
func (o *CreateResourceGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create resource group params
func (*CreateResourceGroupParams) WithBody ¶
func (o *CreateResourceGroupParams) WithBody(body *swagger_models.Tag) *CreateResourceGroupParams
WithBody adds the body to the create resource group params
func (*CreateResourceGroupParams) WithContext ¶
func (o *CreateResourceGroupParams) WithContext(ctx context.Context) *CreateResourceGroupParams
WithContext adds the context to the create resource group params
func (*CreateResourceGroupParams) WithDefaults ¶
func (o *CreateResourceGroupParams) WithDefaults() *CreateResourceGroupParams
WithDefaults hydrates default values in the create resource group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateResourceGroupParams) WithHTTPClient ¶
func (o *CreateResourceGroupParams) WithHTTPClient(client *http.Client) *CreateResourceGroupParams
WithHTTPClient adds the HTTPClient to the create resource group params
func (*CreateResourceGroupParams) WithTimeout ¶
func (o *CreateResourceGroupParams) WithTimeout(timeout time.Duration) *CreateResourceGroupParams
WithTimeout adds the timeout to the create resource group params
func (*CreateResourceGroupParams) WithXRequestID ¶
func (o *CreateResourceGroupParams) WithXRequestID(xRequestID *string) *CreateResourceGroupParams
WithXRequestID adds the xRequestID to the create resource group params
func (*CreateResourceGroupParams) WriteToRequest ¶
func (o *CreateResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateResourceGroupReader ¶
type CreateResourceGroupReader struct {
// contains filtered or unexported fields
}
CreateResourceGroupReader is a Reader for the CreateResourceGroup structure.
func (*CreateResourceGroupReader) ReadResponse ¶
func (o *CreateResourceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateResourceGroupUnauthorized ¶
type CreateResourceGroupUnauthorized struct {
}CreateResourceGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewCreateResourceGroupUnauthorized ¶
func NewCreateResourceGroupUnauthorized() *CreateResourceGroupUnauthorized
NewCreateResourceGroupUnauthorized creates a CreateResourceGroupUnauthorized with default headers values
func (*CreateResourceGroupUnauthorized) Error ¶
func (o *CreateResourceGroupUnauthorized) Error() string
func (*CreateResourceGroupUnauthorized) GetPayload ¶
func (o *CreateResourceGroupUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type DeleteResourceGroupForbidden ¶
type DeleteResourceGroupForbidden struct {
Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewDeleteResourceGroupForbidden ¶
func NewDeleteResourceGroupForbidden() *DeleteResourceGroupForbidden
NewDeleteResourceGroupForbidden creates a DeleteResourceGroupForbidden with default headers values
func (*DeleteResourceGroupForbidden) Error ¶
func (o *DeleteResourceGroupForbidden) Error() string
func (*DeleteResourceGroupForbidden) GetPayload ¶
func (o *DeleteResourceGroupForbidden) GetPayload() *swagger_models.ZsrvResponse
type DeleteResourceGroupGatewayTimeout ¶
type DeleteResourceGroupGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewDeleteResourceGroupGatewayTimeout ¶
func NewDeleteResourceGroupGatewayTimeout() *DeleteResourceGroupGatewayTimeout
NewDeleteResourceGroupGatewayTimeout creates a DeleteResourceGroupGatewayTimeout with default headers values
func (*DeleteResourceGroupGatewayTimeout) Error ¶
func (o *DeleteResourceGroupGatewayTimeout) Error() string
func (*DeleteResourceGroupGatewayTimeout) GetPayload ¶
func (o *DeleteResourceGroupGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type DeleteResourceGroupInternalServerError ¶
type DeleteResourceGroupInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewDeleteResourceGroupInternalServerError ¶
func NewDeleteResourceGroupInternalServerError() *DeleteResourceGroupInternalServerError
NewDeleteResourceGroupInternalServerError creates a DeleteResourceGroupInternalServerError with default headers values
func (*DeleteResourceGroupInternalServerError) Error ¶
func (o *DeleteResourceGroupInternalServerError) Error() string
func (*DeleteResourceGroupInternalServerError) GetPayload ¶
func (o *DeleteResourceGroupInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type DeleteResourceGroupNotFound ¶
type DeleteResourceGroupNotFound struct {
Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewDeleteResourceGroupNotFound ¶
func NewDeleteResourceGroupNotFound() *DeleteResourceGroupNotFound
NewDeleteResourceGroupNotFound creates a DeleteResourceGroupNotFound with default headers values
func (*DeleteResourceGroupNotFound) Error ¶
func (o *DeleteResourceGroupNotFound) Error() string
func (*DeleteResourceGroupNotFound) GetPayload ¶
func (o *DeleteResourceGroupNotFound) GetPayload() *swagger_models.ZsrvResponse
type DeleteResourceGroupOK ¶
type DeleteResourceGroupOK struct {
Payload *swagger_models.ZsrvResponse
}
DeleteResourceGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteResourceGroupOK ¶
func NewDeleteResourceGroupOK() *DeleteResourceGroupOK
NewDeleteResourceGroupOK creates a DeleteResourceGroupOK with default headers values
func (*DeleteResourceGroupOK) Error ¶
func (o *DeleteResourceGroupOK) Error() string
func (*DeleteResourceGroupOK) GetPayload ¶
func (o *DeleteResourceGroupOK) GetPayload() *swagger_models.ZsrvResponse
type DeleteResourceGroupParams ¶
type DeleteResourceGroupParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. System defined universally unique Id of the resource group */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteResourceGroupParams contains all the parameters to send to the API endpoint
for the delete resource group operation. Typically these are written to a http.Request.
func NewDeleteResourceGroupParams ¶
func NewDeleteResourceGroupParams() *DeleteResourceGroupParams
NewDeleteResourceGroupParams creates a new DeleteResourceGroupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteResourceGroupParamsWithContext ¶
func NewDeleteResourceGroupParamsWithContext(ctx context.Context) *DeleteResourceGroupParams
NewDeleteResourceGroupParamsWithContext creates a new DeleteResourceGroupParams object with the ability to set a context for a request.
func NewDeleteResourceGroupParamsWithHTTPClient ¶
func NewDeleteResourceGroupParamsWithHTTPClient(client *http.Client) *DeleteResourceGroupParams
NewDeleteResourceGroupParamsWithHTTPClient creates a new DeleteResourceGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteResourceGroupParamsWithTimeout ¶
func NewDeleteResourceGroupParamsWithTimeout(timeout time.Duration) *DeleteResourceGroupParams
NewDeleteResourceGroupParamsWithTimeout creates a new DeleteResourceGroupParams object with the ability to set a timeout on a request.
func (*DeleteResourceGroupParams) SetContext ¶
func (o *DeleteResourceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete resource group params
func (*DeleteResourceGroupParams) SetDefaults ¶
func (o *DeleteResourceGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete resource group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteResourceGroupParams) SetHTTPClient ¶
func (o *DeleteResourceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete resource group params
func (*DeleteResourceGroupParams) SetID ¶
func (o *DeleteResourceGroupParams) SetID(id string)
SetID adds the id to the delete resource group params
func (*DeleteResourceGroupParams) SetTimeout ¶
func (o *DeleteResourceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete resource group params
func (*DeleteResourceGroupParams) SetXRequestID ¶
func (o *DeleteResourceGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete resource group params
func (*DeleteResourceGroupParams) WithContext ¶
func (o *DeleteResourceGroupParams) WithContext(ctx context.Context) *DeleteResourceGroupParams
WithContext adds the context to the delete resource group params
func (*DeleteResourceGroupParams) WithDefaults ¶
func (o *DeleteResourceGroupParams) WithDefaults() *DeleteResourceGroupParams
WithDefaults hydrates default values in the delete resource group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteResourceGroupParams) WithHTTPClient ¶
func (o *DeleteResourceGroupParams) WithHTTPClient(client *http.Client) *DeleteResourceGroupParams
WithHTTPClient adds the HTTPClient to the delete resource group params
func (*DeleteResourceGroupParams) WithID ¶
func (o *DeleteResourceGroupParams) WithID(id string) *DeleteResourceGroupParams
WithID adds the id to the delete resource group params
func (*DeleteResourceGroupParams) WithTimeout ¶
func (o *DeleteResourceGroupParams) WithTimeout(timeout time.Duration) *DeleteResourceGroupParams
WithTimeout adds the timeout to the delete resource group params
func (*DeleteResourceGroupParams) WithXRequestID ¶
func (o *DeleteResourceGroupParams) WithXRequestID(xRequestID *string) *DeleteResourceGroupParams
WithXRequestID adds the xRequestID to the delete resource group params
func (*DeleteResourceGroupParams) WriteToRequest ¶
func (o *DeleteResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteResourceGroupReader ¶
type DeleteResourceGroupReader struct {
// contains filtered or unexported fields
}
DeleteResourceGroupReader is a Reader for the DeleteResourceGroup structure.
func (*DeleteResourceGroupReader) ReadResponse ¶
func (o *DeleteResourceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteResourceGroupUnauthorized ¶
type DeleteResourceGroupUnauthorized struct {
}DeleteResourceGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewDeleteResourceGroupUnauthorized ¶
func NewDeleteResourceGroupUnauthorized() *DeleteResourceGroupUnauthorized
NewDeleteResourceGroupUnauthorized creates a DeleteResourceGroupUnauthorized with default headers values
func (*DeleteResourceGroupUnauthorized) Error ¶
func (o *DeleteResourceGroupUnauthorized) Error() string
func (*DeleteResourceGroupUnauthorized) GetPayload ¶
func (o *DeleteResourceGroupUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupByNameForbidden ¶
type GetResourceGroupByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetResourceGroupByNameForbidden ¶
func NewGetResourceGroupByNameForbidden() *GetResourceGroupByNameForbidden
NewGetResourceGroupByNameForbidden creates a GetResourceGroupByNameForbidden with default headers values
func (*GetResourceGroupByNameForbidden) Error ¶
func (o *GetResourceGroupByNameForbidden) Error() string
func (*GetResourceGroupByNameForbidden) GetPayload ¶
func (o *GetResourceGroupByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupByNameGatewayTimeout ¶
type GetResourceGroupByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetResourceGroupByNameGatewayTimeout ¶
func NewGetResourceGroupByNameGatewayTimeout() *GetResourceGroupByNameGatewayTimeout
NewGetResourceGroupByNameGatewayTimeout creates a GetResourceGroupByNameGatewayTimeout with default headers values
func (*GetResourceGroupByNameGatewayTimeout) Error ¶
func (o *GetResourceGroupByNameGatewayTimeout) Error() string
func (*GetResourceGroupByNameGatewayTimeout) GetPayload ¶
func (o *GetResourceGroupByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupByNameInternalServerError ¶
type GetResourceGroupByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetResourceGroupByNameInternalServerError ¶
func NewGetResourceGroupByNameInternalServerError() *GetResourceGroupByNameInternalServerError
NewGetResourceGroupByNameInternalServerError creates a GetResourceGroupByNameInternalServerError with default headers values
func (*GetResourceGroupByNameInternalServerError) Error ¶
func (o *GetResourceGroupByNameInternalServerError) Error() string
func (*GetResourceGroupByNameInternalServerError) GetPayload ¶
func (o *GetResourceGroupByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupByNameNotFound ¶
type GetResourceGroupByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupByNameNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetResourceGroupByNameNotFound ¶
func NewGetResourceGroupByNameNotFound() *GetResourceGroupByNameNotFound
NewGetResourceGroupByNameNotFound creates a GetResourceGroupByNameNotFound with default headers values
func (*GetResourceGroupByNameNotFound) Error ¶
func (o *GetResourceGroupByNameNotFound) Error() string
func (*GetResourceGroupByNameNotFound) GetPayload ¶
func (o *GetResourceGroupByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupByNameOK ¶
type GetResourceGroupByNameOK struct {
Payload *swagger_models.Tag
}
GetResourceGroupByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetResourceGroupByNameOK ¶
func NewGetResourceGroupByNameOK() *GetResourceGroupByNameOK
NewGetResourceGroupByNameOK creates a GetResourceGroupByNameOK with default headers values
func (*GetResourceGroupByNameOK) Error ¶
func (o *GetResourceGroupByNameOK) Error() string
func (*GetResourceGroupByNameOK) GetPayload ¶
func (o *GetResourceGroupByNameOK) GetPayload() *swagger_models.Tag
type GetResourceGroupByNameParams ¶
type GetResourceGroupByNameParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* Name. User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceGroupByNameParams contains all the parameters to send to the API endpoint
for the get resource group by name operation. Typically these are written to a http.Request.
func NewGetResourceGroupByNameParams ¶
func NewGetResourceGroupByNameParams() *GetResourceGroupByNameParams
NewGetResourceGroupByNameParams creates a new GetResourceGroupByNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceGroupByNameParamsWithContext ¶
func NewGetResourceGroupByNameParamsWithContext(ctx context.Context) *GetResourceGroupByNameParams
NewGetResourceGroupByNameParamsWithContext creates a new GetResourceGroupByNameParams object with the ability to set a context for a request.
func NewGetResourceGroupByNameParamsWithHTTPClient ¶
func NewGetResourceGroupByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupByNameParams
NewGetResourceGroupByNameParamsWithHTTPClient creates a new GetResourceGroupByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceGroupByNameParamsWithTimeout ¶
func NewGetResourceGroupByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupByNameParams
NewGetResourceGroupByNameParamsWithTimeout creates a new GetResourceGroupByNameParams object with the ability to set a timeout on a request.
func (*GetResourceGroupByNameParams) SetContext ¶
func (o *GetResourceGroupByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource group by name params
func (*GetResourceGroupByNameParams) SetDefaults ¶
func (o *GetResourceGroupByNameParams) SetDefaults()
SetDefaults hydrates default values in the get resource group by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupByNameParams) SetHTTPClient ¶
func (o *GetResourceGroupByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource group by name params
func (*GetResourceGroupByNameParams) SetName ¶
func (o *GetResourceGroupByNameParams) SetName(name string)
SetName adds the name to the get resource group by name params
func (*GetResourceGroupByNameParams) SetTimeout ¶
func (o *GetResourceGroupByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource group by name params
func (*GetResourceGroupByNameParams) SetXRequestID ¶
func (o *GetResourceGroupByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get resource group by name params
func (*GetResourceGroupByNameParams) WithContext ¶
func (o *GetResourceGroupByNameParams) WithContext(ctx context.Context) *GetResourceGroupByNameParams
WithContext adds the context to the get resource group by name params
func (*GetResourceGroupByNameParams) WithDefaults ¶
func (o *GetResourceGroupByNameParams) WithDefaults() *GetResourceGroupByNameParams
WithDefaults hydrates default values in the get resource group by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupByNameParams) WithHTTPClient ¶
func (o *GetResourceGroupByNameParams) WithHTTPClient(client *http.Client) *GetResourceGroupByNameParams
WithHTTPClient adds the HTTPClient to the get resource group by name params
func (*GetResourceGroupByNameParams) WithName ¶
func (o *GetResourceGroupByNameParams) WithName(name string) *GetResourceGroupByNameParams
WithName adds the name to the get resource group by name params
func (*GetResourceGroupByNameParams) WithTimeout ¶
func (o *GetResourceGroupByNameParams) WithTimeout(timeout time.Duration) *GetResourceGroupByNameParams
WithTimeout adds the timeout to the get resource group by name params
func (*GetResourceGroupByNameParams) WithXRequestID ¶
func (o *GetResourceGroupByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupByNameParams
WithXRequestID adds the xRequestID to the get resource group by name params
func (*GetResourceGroupByNameParams) WriteToRequest ¶
func (o *GetResourceGroupByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceGroupByNameReader ¶
type GetResourceGroupByNameReader struct {
// contains filtered or unexported fields
}
GetResourceGroupByNameReader is a Reader for the GetResourceGroupByName structure.
func (*GetResourceGroupByNameReader) ReadResponse ¶
func (o *GetResourceGroupByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceGroupByNameUnauthorized ¶
type GetResourceGroupByNameUnauthorized struct {
}GetResourceGroupByNameUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetResourceGroupByNameUnauthorized ¶
func NewGetResourceGroupByNameUnauthorized() *GetResourceGroupByNameUnauthorized
NewGetResourceGroupByNameUnauthorized creates a GetResourceGroupByNameUnauthorized with default headers values
func (*GetResourceGroupByNameUnauthorized) Error ¶
func (o *GetResourceGroupByNameUnauthorized) Error() string
func (*GetResourceGroupByNameUnauthorized) GetPayload ¶
func (o *GetResourceGroupByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsByNameForbidden ¶
type GetResourceGroupEventsByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetResourceGroupEventsByNameForbidden ¶
func NewGetResourceGroupEventsByNameForbidden() *GetResourceGroupEventsByNameForbidden
NewGetResourceGroupEventsByNameForbidden creates a GetResourceGroupEventsByNameForbidden with default headers values
func (*GetResourceGroupEventsByNameForbidden) Error ¶
func (o *GetResourceGroupEventsByNameForbidden) Error() string
func (*GetResourceGroupEventsByNameForbidden) GetPayload ¶
func (o *GetResourceGroupEventsByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsByNameGatewayTimeout ¶
type GetResourceGroupEventsByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetResourceGroupEventsByNameGatewayTimeout ¶
func NewGetResourceGroupEventsByNameGatewayTimeout() *GetResourceGroupEventsByNameGatewayTimeout
NewGetResourceGroupEventsByNameGatewayTimeout creates a GetResourceGroupEventsByNameGatewayTimeout with default headers values
func (*GetResourceGroupEventsByNameGatewayTimeout) Error ¶
func (o *GetResourceGroupEventsByNameGatewayTimeout) Error() string
func (*GetResourceGroupEventsByNameGatewayTimeout) GetPayload ¶
func (o *GetResourceGroupEventsByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsByNameInternalServerError ¶
type GetResourceGroupEventsByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetResourceGroupEventsByNameInternalServerError ¶
func NewGetResourceGroupEventsByNameInternalServerError() *GetResourceGroupEventsByNameInternalServerError
NewGetResourceGroupEventsByNameInternalServerError creates a GetResourceGroupEventsByNameInternalServerError with default headers values
func (*GetResourceGroupEventsByNameInternalServerError) Error ¶
func (o *GetResourceGroupEventsByNameInternalServerError) Error() string
func (*GetResourceGroupEventsByNameInternalServerError) GetPayload ¶
func (o *GetResourceGroupEventsByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsByNameNotFound ¶
type GetResourceGroupEventsByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsByNameNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetResourceGroupEventsByNameNotFound ¶
func NewGetResourceGroupEventsByNameNotFound() *GetResourceGroupEventsByNameNotFound
NewGetResourceGroupEventsByNameNotFound creates a GetResourceGroupEventsByNameNotFound with default headers values
func (*GetResourceGroupEventsByNameNotFound) Error ¶
func (o *GetResourceGroupEventsByNameNotFound) Error() string
func (*GetResourceGroupEventsByNameNotFound) GetPayload ¶
func (o *GetResourceGroupEventsByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsByNameOK ¶
type GetResourceGroupEventsByNameOK struct {
Payload *swagger_models.EventQueryResponse
}
GetResourceGroupEventsByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetResourceGroupEventsByNameOK ¶
func NewGetResourceGroupEventsByNameOK() *GetResourceGroupEventsByNameOK
NewGetResourceGroupEventsByNameOK creates a GetResourceGroupEventsByNameOK with default headers values
func (*GetResourceGroupEventsByNameOK) Error ¶
func (o *GetResourceGroupEventsByNameOK) Error() string
func (*GetResourceGroupEventsByNameOK) GetPayload ¶
func (o *GetResourceGroupEventsByNameOK) GetPayload() *swagger_models.EventQueryResponse
type GetResourceGroupEventsByNameParams ¶
type GetResourceGroupEventsByNameParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* EnterpriseID. system generated unique id for an enterprise (deprecated) */ EnterpriseID *string /* Objid. Object id */ Objid *string /* Objname. Object name */ Objname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceGroupEventsByNameParams contains all the parameters to send to the API endpoint
for the get resource group events by name operation. Typically these are written to a http.Request.
func NewGetResourceGroupEventsByNameParams ¶
func NewGetResourceGroupEventsByNameParams() *GetResourceGroupEventsByNameParams
NewGetResourceGroupEventsByNameParams creates a new GetResourceGroupEventsByNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceGroupEventsByNameParamsWithContext ¶
func NewGetResourceGroupEventsByNameParamsWithContext(ctx context.Context) *GetResourceGroupEventsByNameParams
NewGetResourceGroupEventsByNameParamsWithContext creates a new GetResourceGroupEventsByNameParams object with the ability to set a context for a request.
func NewGetResourceGroupEventsByNameParamsWithHTTPClient ¶
func NewGetResourceGroupEventsByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupEventsByNameParams
NewGetResourceGroupEventsByNameParamsWithHTTPClient creates a new GetResourceGroupEventsByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceGroupEventsByNameParamsWithTimeout ¶
func NewGetResourceGroupEventsByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupEventsByNameParams
NewGetResourceGroupEventsByNameParamsWithTimeout creates a new GetResourceGroupEventsByNameParams object with the ability to set a timeout on a request.
func (*GetResourceGroupEventsByNameParams) SetContext ¶
func (o *GetResourceGroupEventsByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) SetDefaults ¶
func (o *GetResourceGroupEventsByNameParams) SetDefaults()
SetDefaults hydrates default values in the get resource group events by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupEventsByNameParams) SetEnterpriseID ¶
func (o *GetResourceGroupEventsByNameParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) SetHTTPClient ¶
func (o *GetResourceGroupEventsByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) SetObjid ¶
func (o *GetResourceGroupEventsByNameParams) SetObjid(objid *string)
SetObjid adds the objid to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) SetObjname ¶
func (o *GetResourceGroupEventsByNameParams) SetObjname(objname string)
SetObjname adds the objname to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) SetTimeout ¶
func (o *GetResourceGroupEventsByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) SetXRequestID ¶
func (o *GetResourceGroupEventsByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithContext ¶
func (o *GetResourceGroupEventsByNameParams) WithContext(ctx context.Context) *GetResourceGroupEventsByNameParams
WithContext adds the context to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithDefaults ¶
func (o *GetResourceGroupEventsByNameParams) WithDefaults() *GetResourceGroupEventsByNameParams
WithDefaults hydrates default values in the get resource group events by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupEventsByNameParams) WithEnterpriseID ¶
func (o *GetResourceGroupEventsByNameParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupEventsByNameParams
WithEnterpriseID adds the enterpriseID to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithHTTPClient ¶
func (o *GetResourceGroupEventsByNameParams) WithHTTPClient(client *http.Client) *GetResourceGroupEventsByNameParams
WithHTTPClient adds the HTTPClient to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithObjid ¶
func (o *GetResourceGroupEventsByNameParams) WithObjid(objid *string) *GetResourceGroupEventsByNameParams
WithObjid adds the objid to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithObjname ¶
func (o *GetResourceGroupEventsByNameParams) WithObjname(objname string) *GetResourceGroupEventsByNameParams
WithObjname adds the objname to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithTimeout ¶
func (o *GetResourceGroupEventsByNameParams) WithTimeout(timeout time.Duration) *GetResourceGroupEventsByNameParams
WithTimeout adds the timeout to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WithXRequestID ¶
func (o *GetResourceGroupEventsByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupEventsByNameParams
WithXRequestID adds the xRequestID to the get resource group events by name params
func (*GetResourceGroupEventsByNameParams) WriteToRequest ¶
func (o *GetResourceGroupEventsByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceGroupEventsByNameReader ¶
type GetResourceGroupEventsByNameReader struct {
// contains filtered or unexported fields
}
GetResourceGroupEventsByNameReader is a Reader for the GetResourceGroupEventsByName structure.
func (*GetResourceGroupEventsByNameReader) ReadResponse ¶
func (o *GetResourceGroupEventsByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceGroupEventsByNameUnauthorized ¶
type GetResourceGroupEventsByNameUnauthorized struct {
}GetResourceGroupEventsByNameUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetResourceGroupEventsByNameUnauthorized ¶
func NewGetResourceGroupEventsByNameUnauthorized() *GetResourceGroupEventsByNameUnauthorized
NewGetResourceGroupEventsByNameUnauthorized creates a GetResourceGroupEventsByNameUnauthorized with default headers values
func (*GetResourceGroupEventsByNameUnauthorized) Error ¶
func (o *GetResourceGroupEventsByNameUnauthorized) Error() string
func (*GetResourceGroupEventsByNameUnauthorized) GetPayload ¶
func (o *GetResourceGroupEventsByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsForbidden ¶
type GetResourceGroupEventsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetResourceGroupEventsForbidden ¶
func NewGetResourceGroupEventsForbidden() *GetResourceGroupEventsForbidden
NewGetResourceGroupEventsForbidden creates a GetResourceGroupEventsForbidden with default headers values
func (*GetResourceGroupEventsForbidden) Error ¶
func (o *GetResourceGroupEventsForbidden) Error() string
func (*GetResourceGroupEventsForbidden) GetPayload ¶
func (o *GetResourceGroupEventsForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsGatewayTimeout ¶
type GetResourceGroupEventsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetResourceGroupEventsGatewayTimeout ¶
func NewGetResourceGroupEventsGatewayTimeout() *GetResourceGroupEventsGatewayTimeout
NewGetResourceGroupEventsGatewayTimeout creates a GetResourceGroupEventsGatewayTimeout with default headers values
func (*GetResourceGroupEventsGatewayTimeout) Error ¶
func (o *GetResourceGroupEventsGatewayTimeout) Error() string
func (*GetResourceGroupEventsGatewayTimeout) GetPayload ¶
func (o *GetResourceGroupEventsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsInternalServerError ¶
type GetResourceGroupEventsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetResourceGroupEventsInternalServerError ¶
func NewGetResourceGroupEventsInternalServerError() *GetResourceGroupEventsInternalServerError
NewGetResourceGroupEventsInternalServerError creates a GetResourceGroupEventsInternalServerError with default headers values
func (*GetResourceGroupEventsInternalServerError) Error ¶
func (o *GetResourceGroupEventsInternalServerError) Error() string
func (*GetResourceGroupEventsInternalServerError) GetPayload ¶
func (o *GetResourceGroupEventsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsNotFound ¶
type GetResourceGroupEventsNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupEventsNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetResourceGroupEventsNotFound ¶
func NewGetResourceGroupEventsNotFound() *GetResourceGroupEventsNotFound
NewGetResourceGroupEventsNotFound creates a GetResourceGroupEventsNotFound with default headers values
func (*GetResourceGroupEventsNotFound) Error ¶
func (o *GetResourceGroupEventsNotFound) Error() string
func (*GetResourceGroupEventsNotFound) GetPayload ¶
func (o *GetResourceGroupEventsNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupEventsOK ¶
type GetResourceGroupEventsOK struct {
Payload *swagger_models.EventQueryResponse
}
GetResourceGroupEventsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetResourceGroupEventsOK ¶
func NewGetResourceGroupEventsOK() *GetResourceGroupEventsOK
NewGetResourceGroupEventsOK creates a GetResourceGroupEventsOK with default headers values
func (*GetResourceGroupEventsOK) Error ¶
func (o *GetResourceGroupEventsOK) Error() string
func (*GetResourceGroupEventsOK) GetPayload ¶
func (o *GetResourceGroupEventsOK) GetPayload() *swagger_models.EventQueryResponse
type GetResourceGroupEventsParams ¶
type GetResourceGroupEventsParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* EnterpriseID. system generated unique id for an enterprise (deprecated) */ EnterpriseID *string /* Objid. Object id */ Objid string /* Objname. Object name */ Objname *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceGroupEventsParams contains all the parameters to send to the API endpoint
for the get resource group events operation. Typically these are written to a http.Request.
func NewGetResourceGroupEventsParams ¶
func NewGetResourceGroupEventsParams() *GetResourceGroupEventsParams
NewGetResourceGroupEventsParams creates a new GetResourceGroupEventsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceGroupEventsParamsWithContext ¶
func NewGetResourceGroupEventsParamsWithContext(ctx context.Context) *GetResourceGroupEventsParams
NewGetResourceGroupEventsParamsWithContext creates a new GetResourceGroupEventsParams object with the ability to set a context for a request.
func NewGetResourceGroupEventsParamsWithHTTPClient ¶
func NewGetResourceGroupEventsParamsWithHTTPClient(client *http.Client) *GetResourceGroupEventsParams
NewGetResourceGroupEventsParamsWithHTTPClient creates a new GetResourceGroupEventsParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceGroupEventsParamsWithTimeout ¶
func NewGetResourceGroupEventsParamsWithTimeout(timeout time.Duration) *GetResourceGroupEventsParams
NewGetResourceGroupEventsParamsWithTimeout creates a new GetResourceGroupEventsParams object with the ability to set a timeout on a request.
func (*GetResourceGroupEventsParams) SetContext ¶
func (o *GetResourceGroupEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource group events params
func (*GetResourceGroupEventsParams) SetDefaults ¶
func (o *GetResourceGroupEventsParams) SetDefaults()
SetDefaults hydrates default values in the get resource group events params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupEventsParams) SetEnterpriseID ¶
func (o *GetResourceGroupEventsParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get resource group events params
func (*GetResourceGroupEventsParams) SetHTTPClient ¶
func (o *GetResourceGroupEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource group events params
func (*GetResourceGroupEventsParams) SetObjid ¶
func (o *GetResourceGroupEventsParams) SetObjid(objid string)
SetObjid adds the objid to the get resource group events params
func (*GetResourceGroupEventsParams) SetObjname ¶
func (o *GetResourceGroupEventsParams) SetObjname(objname *string)
SetObjname adds the objname to the get resource group events params
func (*GetResourceGroupEventsParams) SetTimeout ¶
func (o *GetResourceGroupEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource group events params
func (*GetResourceGroupEventsParams) SetXRequestID ¶
func (o *GetResourceGroupEventsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get resource group events params
func (*GetResourceGroupEventsParams) WithContext ¶
func (o *GetResourceGroupEventsParams) WithContext(ctx context.Context) *GetResourceGroupEventsParams
WithContext adds the context to the get resource group events params
func (*GetResourceGroupEventsParams) WithDefaults ¶
func (o *GetResourceGroupEventsParams) WithDefaults() *GetResourceGroupEventsParams
WithDefaults hydrates default values in the get resource group events params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupEventsParams) WithEnterpriseID ¶
func (o *GetResourceGroupEventsParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupEventsParams
WithEnterpriseID adds the enterpriseID to the get resource group events params
func (*GetResourceGroupEventsParams) WithHTTPClient ¶
func (o *GetResourceGroupEventsParams) WithHTTPClient(client *http.Client) *GetResourceGroupEventsParams
WithHTTPClient adds the HTTPClient to the get resource group events params
func (*GetResourceGroupEventsParams) WithObjid ¶
func (o *GetResourceGroupEventsParams) WithObjid(objid string) *GetResourceGroupEventsParams
WithObjid adds the objid to the get resource group events params
func (*GetResourceGroupEventsParams) WithObjname ¶
func (o *GetResourceGroupEventsParams) WithObjname(objname *string) *GetResourceGroupEventsParams
WithObjname adds the objname to the get resource group events params
func (*GetResourceGroupEventsParams) WithTimeout ¶
func (o *GetResourceGroupEventsParams) WithTimeout(timeout time.Duration) *GetResourceGroupEventsParams
WithTimeout adds the timeout to the get resource group events params
func (*GetResourceGroupEventsParams) WithXRequestID ¶
func (o *GetResourceGroupEventsParams) WithXRequestID(xRequestID *string) *GetResourceGroupEventsParams
WithXRequestID adds the xRequestID to the get resource group events params
func (*GetResourceGroupEventsParams) WriteToRequest ¶
func (o *GetResourceGroupEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceGroupEventsReader ¶
type GetResourceGroupEventsReader struct {
// contains filtered or unexported fields
}
GetResourceGroupEventsReader is a Reader for the GetResourceGroupEvents structure.
func (*GetResourceGroupEventsReader) ReadResponse ¶
func (o *GetResourceGroupEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceGroupEventsUnauthorized ¶
type GetResourceGroupEventsUnauthorized struct {
}GetResourceGroupEventsUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetResourceGroupEventsUnauthorized ¶
func NewGetResourceGroupEventsUnauthorized() *GetResourceGroupEventsUnauthorized
NewGetResourceGroupEventsUnauthorized creates a GetResourceGroupEventsUnauthorized with default headers values
func (*GetResourceGroupEventsUnauthorized) Error ¶
func (o *GetResourceGroupEventsUnauthorized) Error() string
func (*GetResourceGroupEventsUnauthorized) GetPayload ¶
func (o *GetResourceGroupEventsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupForbidden ¶
type GetResourceGroupForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetResourceGroupForbidden ¶
func NewGetResourceGroupForbidden() *GetResourceGroupForbidden
NewGetResourceGroupForbidden creates a GetResourceGroupForbidden with default headers values
func (*GetResourceGroupForbidden) Error ¶
func (o *GetResourceGroupForbidden) Error() string
func (*GetResourceGroupForbidden) GetPayload ¶
func (o *GetResourceGroupForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupGatewayTimeout ¶
type GetResourceGroupGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetResourceGroupGatewayTimeout ¶
func NewGetResourceGroupGatewayTimeout() *GetResourceGroupGatewayTimeout
NewGetResourceGroupGatewayTimeout creates a GetResourceGroupGatewayTimeout with default headers values
func (*GetResourceGroupGatewayTimeout) Error ¶
func (o *GetResourceGroupGatewayTimeout) Error() string
func (*GetResourceGroupGatewayTimeout) GetPayload ¶
func (o *GetResourceGroupGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupInternalServerError ¶
type GetResourceGroupInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetResourceGroupInternalServerError ¶
func NewGetResourceGroupInternalServerError() *GetResourceGroupInternalServerError
NewGetResourceGroupInternalServerError creates a GetResourceGroupInternalServerError with default headers values
func (*GetResourceGroupInternalServerError) Error ¶
func (o *GetResourceGroupInternalServerError) Error() string
func (*GetResourceGroupInternalServerError) GetPayload ¶
func (o *GetResourceGroupInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupNotFound ¶
type GetResourceGroupNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetResourceGroupNotFound ¶
func NewGetResourceGroupNotFound() *GetResourceGroupNotFound
NewGetResourceGroupNotFound creates a GetResourceGroupNotFound with default headers values
func (*GetResourceGroupNotFound) Error ¶
func (o *GetResourceGroupNotFound) Error() string
func (*GetResourceGroupNotFound) GetPayload ¶
func (o *GetResourceGroupNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupOK ¶
type GetResourceGroupOK struct {
Payload *swagger_models.Tag
}
GetResourceGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewGetResourceGroupOK ¶
func NewGetResourceGroupOK() *GetResourceGroupOK
NewGetResourceGroupOK creates a GetResourceGroupOK with default headers values
func (*GetResourceGroupOK) Error ¶
func (o *GetResourceGroupOK) Error() string
func (*GetResourceGroupOK) GetPayload ¶
func (o *GetResourceGroupOK) GetPayload() *swagger_models.Tag
type GetResourceGroupParams ¶
type GetResourceGroupParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. System defined universally unique Id of the resource group */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceGroupParams contains all the parameters to send to the API endpoint
for the get resource group operation. Typically these are written to a http.Request.
func NewGetResourceGroupParams ¶
func NewGetResourceGroupParams() *GetResourceGroupParams
NewGetResourceGroupParams creates a new GetResourceGroupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceGroupParamsWithContext ¶
func NewGetResourceGroupParamsWithContext(ctx context.Context) *GetResourceGroupParams
NewGetResourceGroupParamsWithContext creates a new GetResourceGroupParams object with the ability to set a context for a request.
func NewGetResourceGroupParamsWithHTTPClient ¶
func NewGetResourceGroupParamsWithHTTPClient(client *http.Client) *GetResourceGroupParams
NewGetResourceGroupParamsWithHTTPClient creates a new GetResourceGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceGroupParamsWithTimeout ¶
func NewGetResourceGroupParamsWithTimeout(timeout time.Duration) *GetResourceGroupParams
NewGetResourceGroupParamsWithTimeout creates a new GetResourceGroupParams object with the ability to set a timeout on a request.
func (*GetResourceGroupParams) SetContext ¶
func (o *GetResourceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource group params
func (*GetResourceGroupParams) SetDefaults ¶
func (o *GetResourceGroupParams) SetDefaults()
SetDefaults hydrates default values in the get resource group params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupParams) SetHTTPClient ¶
func (o *GetResourceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource group params
func (*GetResourceGroupParams) SetID ¶
func (o *GetResourceGroupParams) SetID(id string)
SetID adds the id to the get resource group params
func (*GetResourceGroupParams) SetTimeout ¶
func (o *GetResourceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource group params
func (*GetResourceGroupParams) SetXRequestID ¶
func (o *GetResourceGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get resource group params
func (*GetResourceGroupParams) WithContext ¶
func (o *GetResourceGroupParams) WithContext(ctx context.Context) *GetResourceGroupParams
WithContext adds the context to the get resource group params
func (*GetResourceGroupParams) WithDefaults ¶
func (o *GetResourceGroupParams) WithDefaults() *GetResourceGroupParams
WithDefaults hydrates default values in the get resource group params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupParams) WithHTTPClient ¶
func (o *GetResourceGroupParams) WithHTTPClient(client *http.Client) *GetResourceGroupParams
WithHTTPClient adds the HTTPClient to the get resource group params
func (*GetResourceGroupParams) WithID ¶
func (o *GetResourceGroupParams) WithID(id string) *GetResourceGroupParams
WithID adds the id to the get resource group params
func (*GetResourceGroupParams) WithTimeout ¶
func (o *GetResourceGroupParams) WithTimeout(timeout time.Duration) *GetResourceGroupParams
WithTimeout adds the timeout to the get resource group params
func (*GetResourceGroupParams) WithXRequestID ¶
func (o *GetResourceGroupParams) WithXRequestID(xRequestID *string) *GetResourceGroupParams
WithXRequestID adds the xRequestID to the get resource group params
func (*GetResourceGroupParams) WriteToRequest ¶
func (o *GetResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceGroupReader ¶
type GetResourceGroupReader struct {
// contains filtered or unexported fields
}
GetResourceGroupReader is a Reader for the GetResourceGroup structure.
func (*GetResourceGroupReader) ReadResponse ¶
func (o *GetResourceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceGroupResourceMetricsByIDForbidden ¶
type GetResourceGroupResourceMetricsByIDForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetResourceGroupResourceMetricsByIDForbidden ¶
func NewGetResourceGroupResourceMetricsByIDForbidden() *GetResourceGroupResourceMetricsByIDForbidden
NewGetResourceGroupResourceMetricsByIDForbidden creates a GetResourceGroupResourceMetricsByIDForbidden with default headers values
func (*GetResourceGroupResourceMetricsByIDForbidden) Error ¶
func (o *GetResourceGroupResourceMetricsByIDForbidden) Error() string
func (*GetResourceGroupResourceMetricsByIDForbidden) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByIDForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByIDGatewayTimeout ¶
type GetResourceGroupResourceMetricsByIDGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetResourceGroupResourceMetricsByIDGatewayTimeout ¶
func NewGetResourceGroupResourceMetricsByIDGatewayTimeout() *GetResourceGroupResourceMetricsByIDGatewayTimeout
NewGetResourceGroupResourceMetricsByIDGatewayTimeout creates a GetResourceGroupResourceMetricsByIDGatewayTimeout with default headers values
func (*GetResourceGroupResourceMetricsByIDGatewayTimeout) Error ¶
func (o *GetResourceGroupResourceMetricsByIDGatewayTimeout) Error() string
func (*GetResourceGroupResourceMetricsByIDGatewayTimeout) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByIDGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByIDInternalServerError ¶
type GetResourceGroupResourceMetricsByIDInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetResourceGroupResourceMetricsByIDInternalServerError ¶
func NewGetResourceGroupResourceMetricsByIDInternalServerError() *GetResourceGroupResourceMetricsByIDInternalServerError
NewGetResourceGroupResourceMetricsByIDInternalServerError creates a GetResourceGroupResourceMetricsByIDInternalServerError with default headers values
func (*GetResourceGroupResourceMetricsByIDInternalServerError) Error ¶
func (o *GetResourceGroupResourceMetricsByIDInternalServerError) Error() string
func (*GetResourceGroupResourceMetricsByIDInternalServerError) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByIDInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByIDNotFound ¶
type GetResourceGroupResourceMetricsByIDNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByIDNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetResourceGroupResourceMetricsByIDNotFound ¶
func NewGetResourceGroupResourceMetricsByIDNotFound() *GetResourceGroupResourceMetricsByIDNotFound
NewGetResourceGroupResourceMetricsByIDNotFound creates a GetResourceGroupResourceMetricsByIDNotFound with default headers values
func (*GetResourceGroupResourceMetricsByIDNotFound) Error ¶
func (o *GetResourceGroupResourceMetricsByIDNotFound) Error() string
func (*GetResourceGroupResourceMetricsByIDNotFound) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByIDNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByIDOK ¶
type GetResourceGroupResourceMetricsByIDOK struct {
Payload *swagger_models.MetricQueryResponse
}
GetResourceGroupResourceMetricsByIDOK describes a response with status code 200, with default header values.
A successful response.
func NewGetResourceGroupResourceMetricsByIDOK ¶
func NewGetResourceGroupResourceMetricsByIDOK() *GetResourceGroupResourceMetricsByIDOK
NewGetResourceGroupResourceMetricsByIDOK creates a GetResourceGroupResourceMetricsByIDOK with default headers values
func (*GetResourceGroupResourceMetricsByIDOK) Error ¶
func (o *GetResourceGroupResourceMetricsByIDOK) Error() string
func (*GetResourceGroupResourceMetricsByIDOK) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByIDOK) GetPayload() *swagger_models.MetricQueryResponse
type GetResourceGroupResourceMetricsByIDParams ¶
type GetResourceGroupResourceMetricsByIDParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // EndTime. // // Format: date-time EndTime *strfmt.DateTime // EnterpriseID. EnterpriseID *string // Interval. // // Format: date-time Interval *strfmt.DateTime // MType. MType string // Objid. Objid string // Objname. Objname *string // Objtype. // // Default: "OBJECT_TYPE_UNSPECIFIED" Objtype *string // StartTime. // // Format: date-time StartTime *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceGroupResourceMetricsByIDParams contains all the parameters to send to the API endpoint
for the get resource group resource metrics by Id operation. Typically these are written to a http.Request.
func NewGetResourceGroupResourceMetricsByIDParams ¶
func NewGetResourceGroupResourceMetricsByIDParams() *GetResourceGroupResourceMetricsByIDParams
NewGetResourceGroupResourceMetricsByIDParams creates a new GetResourceGroupResourceMetricsByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceGroupResourceMetricsByIDParamsWithContext ¶
func NewGetResourceGroupResourceMetricsByIDParamsWithContext(ctx context.Context) *GetResourceGroupResourceMetricsByIDParams
NewGetResourceGroupResourceMetricsByIDParamsWithContext creates a new GetResourceGroupResourceMetricsByIDParams object with the ability to set a context for a request.
func NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient ¶
func NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByIDParams
NewGetResourceGroupResourceMetricsByIDParamsWithHTTPClient creates a new GetResourceGroupResourceMetricsByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceGroupResourceMetricsByIDParamsWithTimeout ¶
func NewGetResourceGroupResourceMetricsByIDParamsWithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByIDParams
NewGetResourceGroupResourceMetricsByIDParamsWithTimeout creates a new GetResourceGroupResourceMetricsByIDParams object with the ability to set a timeout on a request.
func (*GetResourceGroupResourceMetricsByIDParams) SetContext ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetDefaults ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetDefaults()
SetDefaults hydrates default values in the get resource group resource metrics by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupResourceMetricsByIDParams) SetEndTime ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetEndTime(endTime *strfmt.DateTime)
SetEndTime adds the endTime to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetEnterpriseID ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetHTTPClient ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetInterval ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetInterval(interval *strfmt.DateTime)
SetInterval adds the interval to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetMType ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetMType(mType string)
SetMType adds the mType to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetObjid ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetObjid(objid string)
SetObjid adds the objid to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetObjname ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetObjname(objname *string)
SetObjname adds the objname to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetObjtype ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetObjtype(objtype *string)
SetObjtype adds the objtype to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetStartTime ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetStartTime(startTime *strfmt.DateTime)
SetStartTime adds the startTime to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetTimeout ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) SetXRequestID ¶
func (o *GetResourceGroupResourceMetricsByIDParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithContext ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithContext(ctx context.Context) *GetResourceGroupResourceMetricsByIDParams
WithContext adds the context to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithDefaults ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithDefaults() *GetResourceGroupResourceMetricsByIDParams
WithDefaults hydrates default values in the get resource group resource metrics by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupResourceMetricsByIDParams) WithEndTime ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithEndTime(endTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByIDParams
WithEndTime adds the endTime to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithEnterpriseID ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupResourceMetricsByIDParams
WithEnterpriseID adds the enterpriseID to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithHTTPClient ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByIDParams
WithHTTPClient adds the HTTPClient to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithInterval ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithInterval(interval *strfmt.DateTime) *GetResourceGroupResourceMetricsByIDParams
WithInterval adds the interval to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithMType ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithMType(mType string) *GetResourceGroupResourceMetricsByIDParams
WithMType adds the mType to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithObjid ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithObjid(objid string) *GetResourceGroupResourceMetricsByIDParams
WithObjid adds the objid to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithObjname ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithObjname(objname *string) *GetResourceGroupResourceMetricsByIDParams
WithObjname adds the objname to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithObjtype ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithObjtype(objtype *string) *GetResourceGroupResourceMetricsByIDParams
WithObjtype adds the objtype to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithStartTime ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithStartTime(startTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByIDParams
WithStartTime adds the startTime to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithTimeout ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByIDParams
WithTimeout adds the timeout to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WithXRequestID ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WithXRequestID(xRequestID *string) *GetResourceGroupResourceMetricsByIDParams
WithXRequestID adds the xRequestID to the get resource group resource metrics by Id params
func (*GetResourceGroupResourceMetricsByIDParams) WriteToRequest ¶
func (o *GetResourceGroupResourceMetricsByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceGroupResourceMetricsByIDReader ¶
type GetResourceGroupResourceMetricsByIDReader struct {
// contains filtered or unexported fields
}
GetResourceGroupResourceMetricsByIDReader is a Reader for the GetResourceGroupResourceMetricsByID structure.
func (*GetResourceGroupResourceMetricsByIDReader) ReadResponse ¶
func (o *GetResourceGroupResourceMetricsByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceGroupResourceMetricsByIDUnauthorized ¶
type GetResourceGroupResourceMetricsByIDUnauthorized struct {
}GetResourceGroupResourceMetricsByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetResourceGroupResourceMetricsByIDUnauthorized ¶
func NewGetResourceGroupResourceMetricsByIDUnauthorized() *GetResourceGroupResourceMetricsByIDUnauthorized
NewGetResourceGroupResourceMetricsByIDUnauthorized creates a GetResourceGroupResourceMetricsByIDUnauthorized with default headers values
func (*GetResourceGroupResourceMetricsByIDUnauthorized) Error ¶
func (o *GetResourceGroupResourceMetricsByIDUnauthorized) Error() string
func (*GetResourceGroupResourceMetricsByIDUnauthorized) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByIDUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByNameForbidden ¶
type GetResourceGroupResourceMetricsByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetResourceGroupResourceMetricsByNameForbidden ¶
func NewGetResourceGroupResourceMetricsByNameForbidden() *GetResourceGroupResourceMetricsByNameForbidden
NewGetResourceGroupResourceMetricsByNameForbidden creates a GetResourceGroupResourceMetricsByNameForbidden with default headers values
func (*GetResourceGroupResourceMetricsByNameForbidden) Error ¶
func (o *GetResourceGroupResourceMetricsByNameForbidden) Error() string
func (*GetResourceGroupResourceMetricsByNameForbidden) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByNameGatewayTimeout ¶
type GetResourceGroupResourceMetricsByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetResourceGroupResourceMetricsByNameGatewayTimeout ¶
func NewGetResourceGroupResourceMetricsByNameGatewayTimeout() *GetResourceGroupResourceMetricsByNameGatewayTimeout
NewGetResourceGroupResourceMetricsByNameGatewayTimeout creates a GetResourceGroupResourceMetricsByNameGatewayTimeout with default headers values
func (*GetResourceGroupResourceMetricsByNameGatewayTimeout) Error ¶
func (o *GetResourceGroupResourceMetricsByNameGatewayTimeout) Error() string
func (*GetResourceGroupResourceMetricsByNameGatewayTimeout) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByNameInternalServerError ¶
type GetResourceGroupResourceMetricsByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetResourceGroupResourceMetricsByNameInternalServerError ¶
func NewGetResourceGroupResourceMetricsByNameInternalServerError() *GetResourceGroupResourceMetricsByNameInternalServerError
NewGetResourceGroupResourceMetricsByNameInternalServerError creates a GetResourceGroupResourceMetricsByNameInternalServerError with default headers values
func (*GetResourceGroupResourceMetricsByNameInternalServerError) Error ¶
func (o *GetResourceGroupResourceMetricsByNameInternalServerError) Error() string
func (*GetResourceGroupResourceMetricsByNameInternalServerError) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByNameNotFound ¶
type GetResourceGroupResourceMetricsByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetResourceGroupResourceMetricsByNameNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetResourceGroupResourceMetricsByNameNotFound ¶
func NewGetResourceGroupResourceMetricsByNameNotFound() *GetResourceGroupResourceMetricsByNameNotFound
NewGetResourceGroupResourceMetricsByNameNotFound creates a GetResourceGroupResourceMetricsByNameNotFound with default headers values
func (*GetResourceGroupResourceMetricsByNameNotFound) Error ¶
func (o *GetResourceGroupResourceMetricsByNameNotFound) Error() string
func (*GetResourceGroupResourceMetricsByNameNotFound) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupResourceMetricsByNameOK ¶
type GetResourceGroupResourceMetricsByNameOK struct {
Payload *swagger_models.MetricQueryResponse
}
GetResourceGroupResourceMetricsByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetResourceGroupResourceMetricsByNameOK ¶
func NewGetResourceGroupResourceMetricsByNameOK() *GetResourceGroupResourceMetricsByNameOK
NewGetResourceGroupResourceMetricsByNameOK creates a GetResourceGroupResourceMetricsByNameOK with default headers values
func (*GetResourceGroupResourceMetricsByNameOK) Error ¶
func (o *GetResourceGroupResourceMetricsByNameOK) Error() string
func (*GetResourceGroupResourceMetricsByNameOK) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByNameOK) GetPayload() *swagger_models.MetricQueryResponse
type GetResourceGroupResourceMetricsByNameParams ¶
type GetResourceGroupResourceMetricsByNameParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // EndTime. // // Format: date-time EndTime *strfmt.DateTime // EnterpriseID. EnterpriseID *string // Interval. // // Format: date-time Interval *strfmt.DateTime // MType. MType string // Objid. Objid *string // Objname. Objname string // Objtype. // // Default: "OBJECT_TYPE_UNSPECIFIED" Objtype *string // StartTime. // // Format: date-time StartTime *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceGroupResourceMetricsByNameParams contains all the parameters to send to the API endpoint
for the get resource group resource metrics by name operation. Typically these are written to a http.Request.
func NewGetResourceGroupResourceMetricsByNameParams ¶
func NewGetResourceGroupResourceMetricsByNameParams() *GetResourceGroupResourceMetricsByNameParams
NewGetResourceGroupResourceMetricsByNameParams creates a new GetResourceGroupResourceMetricsByNameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetResourceGroupResourceMetricsByNameParamsWithContext ¶
func NewGetResourceGroupResourceMetricsByNameParamsWithContext(ctx context.Context) *GetResourceGroupResourceMetricsByNameParams
NewGetResourceGroupResourceMetricsByNameParamsWithContext creates a new GetResourceGroupResourceMetricsByNameParams object with the ability to set a context for a request.
func NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient ¶
func NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByNameParams
NewGetResourceGroupResourceMetricsByNameParamsWithHTTPClient creates a new GetResourceGroupResourceMetricsByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceGroupResourceMetricsByNameParamsWithTimeout ¶
func NewGetResourceGroupResourceMetricsByNameParamsWithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByNameParams
NewGetResourceGroupResourceMetricsByNameParamsWithTimeout creates a new GetResourceGroupResourceMetricsByNameParams object with the ability to set a timeout on a request.
func (*GetResourceGroupResourceMetricsByNameParams) SetContext ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetDefaults ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetDefaults()
SetDefaults hydrates default values in the get resource group resource metrics by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupResourceMetricsByNameParams) SetEndTime ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetEndTime(endTime *strfmt.DateTime)
SetEndTime adds the endTime to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetEnterpriseID ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetHTTPClient ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetInterval ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetInterval(interval *strfmt.DateTime)
SetInterval adds the interval to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetMType ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetMType(mType string)
SetMType adds the mType to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetObjid ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetObjid(objid *string)
SetObjid adds the objid to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetObjname ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetObjname(objname string)
SetObjname adds the objname to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetObjtype ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetObjtype(objtype *string)
SetObjtype adds the objtype to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetStartTime ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetStartTime(startTime *strfmt.DateTime)
SetStartTime adds the startTime to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetTimeout ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) SetXRequestID ¶
func (o *GetResourceGroupResourceMetricsByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithContext ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithContext(ctx context.Context) *GetResourceGroupResourceMetricsByNameParams
WithContext adds the context to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithDefaults ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithDefaults() *GetResourceGroupResourceMetricsByNameParams
WithDefaults hydrates default values in the get resource group resource metrics by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceGroupResourceMetricsByNameParams) WithEndTime ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithEndTime(endTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByNameParams
WithEndTime adds the endTime to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithEnterpriseID ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithEnterpriseID(enterpriseID *string) *GetResourceGroupResourceMetricsByNameParams
WithEnterpriseID adds the enterpriseID to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithHTTPClient ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithHTTPClient(client *http.Client) *GetResourceGroupResourceMetricsByNameParams
WithHTTPClient adds the HTTPClient to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithInterval ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithInterval(interval *strfmt.DateTime) *GetResourceGroupResourceMetricsByNameParams
WithInterval adds the interval to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithMType ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithMType(mType string) *GetResourceGroupResourceMetricsByNameParams
WithMType adds the mType to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithObjid ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithObjid(objid *string) *GetResourceGroupResourceMetricsByNameParams
WithObjid adds the objid to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithObjname ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithObjname(objname string) *GetResourceGroupResourceMetricsByNameParams
WithObjname adds the objname to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithObjtype ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithObjtype(objtype *string) *GetResourceGroupResourceMetricsByNameParams
WithObjtype adds the objtype to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithStartTime ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithStartTime(startTime *strfmt.DateTime) *GetResourceGroupResourceMetricsByNameParams
WithStartTime adds the startTime to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithTimeout ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithTimeout(timeout time.Duration) *GetResourceGroupResourceMetricsByNameParams
WithTimeout adds the timeout to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WithXRequestID ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WithXRequestID(xRequestID *string) *GetResourceGroupResourceMetricsByNameParams
WithXRequestID adds the xRequestID to the get resource group resource metrics by name params
func (*GetResourceGroupResourceMetricsByNameParams) WriteToRequest ¶
func (o *GetResourceGroupResourceMetricsByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceGroupResourceMetricsByNameReader ¶
type GetResourceGroupResourceMetricsByNameReader struct {
// contains filtered or unexported fields
}
GetResourceGroupResourceMetricsByNameReader is a Reader for the GetResourceGroupResourceMetricsByName structure.
func (*GetResourceGroupResourceMetricsByNameReader) ReadResponse ¶
func (o *GetResourceGroupResourceMetricsByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceGroupResourceMetricsByNameUnauthorized ¶
type GetResourceGroupResourceMetricsByNameUnauthorized struct {
}GetResourceGroupResourceMetricsByNameUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetResourceGroupResourceMetricsByNameUnauthorized ¶
func NewGetResourceGroupResourceMetricsByNameUnauthorized() *GetResourceGroupResourceMetricsByNameUnauthorized
NewGetResourceGroupResourceMetricsByNameUnauthorized creates a GetResourceGroupResourceMetricsByNameUnauthorized with default headers values
func (*GetResourceGroupResourceMetricsByNameUnauthorized) Error ¶
func (o *GetResourceGroupResourceMetricsByNameUnauthorized) Error() string
func (*GetResourceGroupResourceMetricsByNameUnauthorized) GetPayload ¶
func (o *GetResourceGroupResourceMetricsByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetResourceGroupUnauthorized ¶
type GetResourceGroupUnauthorized struct {
}GetResourceGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetResourceGroupUnauthorized ¶
func NewGetResourceGroupUnauthorized() *GetResourceGroupUnauthorized
NewGetResourceGroupUnauthorized creates a GetResourceGroupUnauthorized with default headers values
func (*GetResourceGroupUnauthorized) Error ¶
func (o *GetResourceGroupUnauthorized) Error() string
func (*GetResourceGroupUnauthorized) GetPayload ¶
func (o *GetResourceGroupUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryResourceGroupsBadRequest ¶
type QueryResourceGroupsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryResourceGroupsBadRequest ¶
func NewQueryResourceGroupsBadRequest() *QueryResourceGroupsBadRequest
NewQueryResourceGroupsBadRequest creates a QueryResourceGroupsBadRequest with default headers values
func (*QueryResourceGroupsBadRequest) Error ¶
func (o *QueryResourceGroupsBadRequest) Error() string
func (*QueryResourceGroupsBadRequest) GetPayload ¶
func (o *QueryResourceGroupsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryResourceGroupsForbidden ¶
type QueryResourceGroupsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewQueryResourceGroupsForbidden ¶
func NewQueryResourceGroupsForbidden() *QueryResourceGroupsForbidden
NewQueryResourceGroupsForbidden creates a QueryResourceGroupsForbidden with default headers values
func (*QueryResourceGroupsForbidden) Error ¶
func (o *QueryResourceGroupsForbidden) Error() string
func (*QueryResourceGroupsForbidden) GetPayload ¶
func (o *QueryResourceGroupsForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryResourceGroupsGatewayTimeout ¶
type QueryResourceGroupsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewQueryResourceGroupsGatewayTimeout ¶
func NewQueryResourceGroupsGatewayTimeout() *QueryResourceGroupsGatewayTimeout
NewQueryResourceGroupsGatewayTimeout creates a QueryResourceGroupsGatewayTimeout with default headers values
func (*QueryResourceGroupsGatewayTimeout) Error ¶
func (o *QueryResourceGroupsGatewayTimeout) Error() string
func (*QueryResourceGroupsGatewayTimeout) GetPayload ¶
func (o *QueryResourceGroupsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryResourceGroupsInternalServerError ¶
type QueryResourceGroupsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryResourceGroupsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewQueryResourceGroupsInternalServerError ¶
func NewQueryResourceGroupsInternalServerError() *QueryResourceGroupsInternalServerError
NewQueryResourceGroupsInternalServerError creates a QueryResourceGroupsInternalServerError with default headers values
func (*QueryResourceGroupsInternalServerError) Error ¶
func (o *QueryResourceGroupsInternalServerError) Error() string
func (*QueryResourceGroupsInternalServerError) GetPayload ¶
func (o *QueryResourceGroupsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryResourceGroupsOK ¶
type QueryResourceGroupsOK struct {
Payload *swagger_models.Tags
}
QueryResourceGroupsOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryResourceGroupsOK ¶
func NewQueryResourceGroupsOK() *QueryResourceGroupsOK
NewQueryResourceGroupsOK creates a QueryResourceGroupsOK with default headers values
func (*QueryResourceGroupsOK) Error ¶
func (o *QueryResourceGroupsOK) Error() string
func (*QueryResourceGroupsOK) GetPayload ¶
func (o *QueryResourceGroupsOK) GetPayload() *swagger_models.Tags
type QueryResourceGroupsParams ¶
type QueryResourceGroupsParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* FilterNamePattern. Resource group name pattern to be matched. */ FilterNamePattern *string /* FilterType. Resource group type to ne matched. - TAG_TYPE_UNSPECIFIED: Unspecified - TAG_TYPE_GENERIC: Generic resource group - TAG_TYPE_PROJECT: Project resource group Default: "TAG_TYPE_UNSPECIFIED" */ FilterType *string /* NextOrderBy. OrderBy helps in sorting the list response */ NextOrderBy *string /* NextPageNum. Page Number Format: int64 */ NextPageNum *int64 /* NextPageSize. Defines the page size Format: int64 */ NextPageSize *int64 /* NextPageToken. Page Token */ NextPageToken *string /* NextTotalPages. Total number of pages to be fetched. Format: int64 */ NextTotalPages *int64 /* Summary. Only summary of the records required Format: boolean */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryResourceGroupsParams contains all the parameters to send to the API endpoint
for the query resource groups operation. Typically these are written to a http.Request.
func NewQueryResourceGroupsParams ¶
func NewQueryResourceGroupsParams() *QueryResourceGroupsParams
NewQueryResourceGroupsParams creates a new QueryResourceGroupsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQueryResourceGroupsParamsWithContext ¶
func NewQueryResourceGroupsParamsWithContext(ctx context.Context) *QueryResourceGroupsParams
NewQueryResourceGroupsParamsWithContext creates a new QueryResourceGroupsParams object with the ability to set a context for a request.
func NewQueryResourceGroupsParamsWithHTTPClient ¶
func NewQueryResourceGroupsParamsWithHTTPClient(client *http.Client) *QueryResourceGroupsParams
NewQueryResourceGroupsParamsWithHTTPClient creates a new QueryResourceGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryResourceGroupsParamsWithTimeout ¶
func NewQueryResourceGroupsParamsWithTimeout(timeout time.Duration) *QueryResourceGroupsParams
NewQueryResourceGroupsParamsWithTimeout creates a new QueryResourceGroupsParams object with the ability to set a timeout on a request.
func (*QueryResourceGroupsParams) SetContext ¶
func (o *QueryResourceGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the query resource groups params
func (*QueryResourceGroupsParams) SetDefaults ¶
func (o *QueryResourceGroupsParams) SetDefaults()
SetDefaults hydrates default values in the query resource groups params (not the query body).
All values with no default are reset to their zero value.
func (*QueryResourceGroupsParams) SetFilterNamePattern ¶
func (o *QueryResourceGroupsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the query resource groups params
func (*QueryResourceGroupsParams) SetFilterType ¶
func (o *QueryResourceGroupsParams) SetFilterType(filterType *string)
SetFilterType adds the filterType to the query resource groups params
func (*QueryResourceGroupsParams) SetHTTPClient ¶
func (o *QueryResourceGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query resource groups params
func (*QueryResourceGroupsParams) SetNextOrderBy ¶
func (o *QueryResourceGroupsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query resource groups params
func (*QueryResourceGroupsParams) SetNextPageNum ¶
func (o *QueryResourceGroupsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query resource groups params
func (*QueryResourceGroupsParams) SetNextPageSize ¶
func (o *QueryResourceGroupsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query resource groups params
func (*QueryResourceGroupsParams) SetNextPageToken ¶
func (o *QueryResourceGroupsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query resource groups params
func (*QueryResourceGroupsParams) SetNextTotalPages ¶
func (o *QueryResourceGroupsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query resource groups params
func (*QueryResourceGroupsParams) SetSummary ¶
func (o *QueryResourceGroupsParams) SetSummary(summary *bool)
SetSummary adds the summary to the query resource groups params
func (*QueryResourceGroupsParams) SetTimeout ¶
func (o *QueryResourceGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query resource groups params
func (*QueryResourceGroupsParams) SetXRequestID ¶
func (o *QueryResourceGroupsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query resource groups params
func (*QueryResourceGroupsParams) WithContext ¶
func (o *QueryResourceGroupsParams) WithContext(ctx context.Context) *QueryResourceGroupsParams
WithContext adds the context to the query resource groups params
func (*QueryResourceGroupsParams) WithDefaults ¶
func (o *QueryResourceGroupsParams) WithDefaults() *QueryResourceGroupsParams
WithDefaults hydrates default values in the query resource groups params (not the query body).
All values with no default are reset to their zero value.
func (*QueryResourceGroupsParams) WithFilterNamePattern ¶
func (o *QueryResourceGroupsParams) WithFilterNamePattern(filterNamePattern *string) *QueryResourceGroupsParams
WithFilterNamePattern adds the filterNamePattern to the query resource groups params
func (*QueryResourceGroupsParams) WithFilterType ¶
func (o *QueryResourceGroupsParams) WithFilterType(filterType *string) *QueryResourceGroupsParams
WithFilterType adds the filterType to the query resource groups params
func (*QueryResourceGroupsParams) WithHTTPClient ¶
func (o *QueryResourceGroupsParams) WithHTTPClient(client *http.Client) *QueryResourceGroupsParams
WithHTTPClient adds the HTTPClient to the query resource groups params
func (*QueryResourceGroupsParams) WithNextOrderBy ¶
func (o *QueryResourceGroupsParams) WithNextOrderBy(nextOrderBy *string) *QueryResourceGroupsParams
WithNextOrderBy adds the nextOrderBy to the query resource groups params
func (*QueryResourceGroupsParams) WithNextPageNum ¶
func (o *QueryResourceGroupsParams) WithNextPageNum(nextPageNum *int64) *QueryResourceGroupsParams
WithNextPageNum adds the nextPageNum to the query resource groups params
func (*QueryResourceGroupsParams) WithNextPageSize ¶
func (o *QueryResourceGroupsParams) WithNextPageSize(nextPageSize *int64) *QueryResourceGroupsParams
WithNextPageSize adds the nextPageSize to the query resource groups params
func (*QueryResourceGroupsParams) WithNextPageToken ¶
func (o *QueryResourceGroupsParams) WithNextPageToken(nextPageToken *string) *QueryResourceGroupsParams
WithNextPageToken adds the nextPageToken to the query resource groups params
func (*QueryResourceGroupsParams) WithNextTotalPages ¶
func (o *QueryResourceGroupsParams) WithNextTotalPages(nextTotalPages *int64) *QueryResourceGroupsParams
WithNextTotalPages adds the nextTotalPages to the query resource groups params
func (*QueryResourceGroupsParams) WithSummary ¶
func (o *QueryResourceGroupsParams) WithSummary(summary *bool) *QueryResourceGroupsParams
WithSummary adds the summary to the query resource groups params
func (*QueryResourceGroupsParams) WithTimeout ¶
func (o *QueryResourceGroupsParams) WithTimeout(timeout time.Duration) *QueryResourceGroupsParams
WithTimeout adds the timeout to the query resource groups params
func (*QueryResourceGroupsParams) WithXRequestID ¶
func (o *QueryResourceGroupsParams) WithXRequestID(xRequestID *string) *QueryResourceGroupsParams
WithXRequestID adds the xRequestID to the query resource groups params
func (*QueryResourceGroupsParams) WriteToRequest ¶
func (o *QueryResourceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryResourceGroupsReader ¶
type QueryResourceGroupsReader struct {
// contains filtered or unexported fields
}
QueryResourceGroupsReader is a Reader for the QueryResourceGroups structure.
func (*QueryResourceGroupsReader) ReadResponse ¶
func (o *QueryResourceGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryResourceGroupsUnauthorized ¶
type QueryResourceGroupsUnauthorized struct {
}QueryResourceGroupsUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewQueryResourceGroupsUnauthorized ¶
func NewQueryResourceGroupsUnauthorized() *QueryResourceGroupsUnauthorized
NewQueryResourceGroupsUnauthorized creates a QueryResourceGroupsUnauthorized with default headers values
func (*QueryResourceGroupsUnauthorized) Error ¶
func (o *QueryResourceGroupsUnauthorized) Error() string
func (*QueryResourceGroupsUnauthorized) GetPayload ¶
func (o *QueryResourceGroupsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupConflict ¶
type UpdateResourceGroupConflict struct {
Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this operation will conflict with an already existing resource group record.
func NewUpdateResourceGroupConflict ¶
func NewUpdateResourceGroupConflict() *UpdateResourceGroupConflict
NewUpdateResourceGroupConflict creates a UpdateResourceGroupConflict with default headers values
func (*UpdateResourceGroupConflict) Error ¶
func (o *UpdateResourceGroupConflict) Error() string
func (*UpdateResourceGroupConflict) GetPayload ¶
func (o *UpdateResourceGroupConflict) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupForbidden ¶
type UpdateResourceGroupForbidden struct {
Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewUpdateResourceGroupForbidden ¶
func NewUpdateResourceGroupForbidden() *UpdateResourceGroupForbidden
NewUpdateResourceGroupForbidden creates a UpdateResourceGroupForbidden with default headers values
func (*UpdateResourceGroupForbidden) Error ¶
func (o *UpdateResourceGroupForbidden) Error() string
func (*UpdateResourceGroupForbidden) GetPayload ¶
func (o *UpdateResourceGroupForbidden) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupGatewayTimeout ¶
type UpdateResourceGroupGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewUpdateResourceGroupGatewayTimeout ¶
func NewUpdateResourceGroupGatewayTimeout() *UpdateResourceGroupGatewayTimeout
NewUpdateResourceGroupGatewayTimeout creates a UpdateResourceGroupGatewayTimeout with default headers values
func (*UpdateResourceGroupGatewayTimeout) Error ¶
func (o *UpdateResourceGroupGatewayTimeout) Error() string
func (*UpdateResourceGroupGatewayTimeout) GetPayload ¶
func (o *UpdateResourceGroupGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupInternalServerError ¶
type UpdateResourceGroupInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewUpdateResourceGroupInternalServerError ¶
func NewUpdateResourceGroupInternalServerError() *UpdateResourceGroupInternalServerError
NewUpdateResourceGroupInternalServerError creates a UpdateResourceGroupInternalServerError with default headers values
func (*UpdateResourceGroupInternalServerError) Error ¶
func (o *UpdateResourceGroupInternalServerError) Error() string
func (*UpdateResourceGroupInternalServerError) GetPayload ¶
func (o *UpdateResourceGroupInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupNotFound ¶
type UpdateResourceGroupNotFound struct {
Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewUpdateResourceGroupNotFound ¶
func NewUpdateResourceGroupNotFound() *UpdateResourceGroupNotFound
NewUpdateResourceGroupNotFound creates a UpdateResourceGroupNotFound with default headers values
func (*UpdateResourceGroupNotFound) Error ¶
func (o *UpdateResourceGroupNotFound) Error() string
func (*UpdateResourceGroupNotFound) GetPayload ¶
func (o *UpdateResourceGroupNotFound) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupOK ¶
type UpdateResourceGroupOK struct {
Payload *swagger_models.ZsrvResponse
}
UpdateResourceGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateResourceGroupOK ¶
func NewUpdateResourceGroupOK() *UpdateResourceGroupOK
NewUpdateResourceGroupOK creates a UpdateResourceGroupOK with default headers values
func (*UpdateResourceGroupOK) Error ¶
func (o *UpdateResourceGroupOK) Error() string
func (*UpdateResourceGroupOK) GetPayload ¶
func (o *UpdateResourceGroupOK) GetPayload() *swagger_models.ZsrvResponse
type UpdateResourceGroupParams ¶
type UpdateResourceGroupParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *swagger_models.Tag /* ID. System defined universally unique Id of the resource group. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateResourceGroupParams contains all the parameters to send to the API endpoint
for the update resource group operation. Typically these are written to a http.Request.
func NewUpdateResourceGroupParams ¶
func NewUpdateResourceGroupParams() *UpdateResourceGroupParams
NewUpdateResourceGroupParams creates a new UpdateResourceGroupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateResourceGroupParamsWithContext ¶
func NewUpdateResourceGroupParamsWithContext(ctx context.Context) *UpdateResourceGroupParams
NewUpdateResourceGroupParamsWithContext creates a new UpdateResourceGroupParams object with the ability to set a context for a request.
func NewUpdateResourceGroupParamsWithHTTPClient ¶
func NewUpdateResourceGroupParamsWithHTTPClient(client *http.Client) *UpdateResourceGroupParams
NewUpdateResourceGroupParamsWithHTTPClient creates a new UpdateResourceGroupParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateResourceGroupParamsWithTimeout ¶
func NewUpdateResourceGroupParamsWithTimeout(timeout time.Duration) *UpdateResourceGroupParams
NewUpdateResourceGroupParamsWithTimeout creates a new UpdateResourceGroupParams object with the ability to set a timeout on a request.
func (*UpdateResourceGroupParams) SetBody ¶
func (o *UpdateResourceGroupParams) SetBody(body *swagger_models.Tag)
SetBody adds the body to the update resource group params
func (*UpdateResourceGroupParams) SetContext ¶
func (o *UpdateResourceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update resource group params
func (*UpdateResourceGroupParams) SetDefaults ¶
func (o *UpdateResourceGroupParams) SetDefaults()
SetDefaults hydrates default values in the update resource group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateResourceGroupParams) SetHTTPClient ¶
func (o *UpdateResourceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update resource group params
func (*UpdateResourceGroupParams) SetID ¶
func (o *UpdateResourceGroupParams) SetID(id string)
SetID adds the id to the update resource group params
func (*UpdateResourceGroupParams) SetTimeout ¶
func (o *UpdateResourceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update resource group params
func (*UpdateResourceGroupParams) SetXRequestID ¶
func (o *UpdateResourceGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update resource group params
func (*UpdateResourceGroupParams) WithBody ¶
func (o *UpdateResourceGroupParams) WithBody(body *swagger_models.Tag) *UpdateResourceGroupParams
WithBody adds the body to the update resource group params
func (*UpdateResourceGroupParams) WithContext ¶
func (o *UpdateResourceGroupParams) WithContext(ctx context.Context) *UpdateResourceGroupParams
WithContext adds the context to the update resource group params
func (*UpdateResourceGroupParams) WithDefaults ¶
func (o *UpdateResourceGroupParams) WithDefaults() *UpdateResourceGroupParams
WithDefaults hydrates default values in the update resource group params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateResourceGroupParams) WithHTTPClient ¶
func (o *UpdateResourceGroupParams) WithHTTPClient(client *http.Client) *UpdateResourceGroupParams
WithHTTPClient adds the HTTPClient to the update resource group params
func (*UpdateResourceGroupParams) WithID ¶
func (o *UpdateResourceGroupParams) WithID(id string) *UpdateResourceGroupParams
WithID adds the id to the update resource group params
func (*UpdateResourceGroupParams) WithTimeout ¶
func (o *UpdateResourceGroupParams) WithTimeout(timeout time.Duration) *UpdateResourceGroupParams
WithTimeout adds the timeout to the update resource group params
func (*UpdateResourceGroupParams) WithXRequestID ¶
func (o *UpdateResourceGroupParams) WithXRequestID(xRequestID *string) *UpdateResourceGroupParams
WithXRequestID adds the xRequestID to the update resource group params
func (*UpdateResourceGroupParams) WriteToRequest ¶
func (o *UpdateResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateResourceGroupReader ¶
type UpdateResourceGroupReader struct {
// contains filtered or unexported fields
}
UpdateResourceGroupReader is a Reader for the UpdateResourceGroup structure.
func (*UpdateResourceGroupReader) ReadResponse ¶
func (o *UpdateResourceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateResourceGroupUnauthorized ¶
type UpdateResourceGroupUnauthorized struct {
}UpdateResourceGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewUpdateResourceGroupUnauthorized ¶
func NewUpdateResourceGroupUnauthorized() *UpdateResourceGroupUnauthorized
NewUpdateResourceGroupUnauthorized creates a UpdateResourceGroupUnauthorized with default headers values
func (*UpdateResourceGroupUnauthorized) Error ¶
func (o *UpdateResourceGroupUnauthorized) Error() string
func (*UpdateResourceGroupUnauthorized) GetPayload ¶
func (o *UpdateResourceGroupUnauthorized) GetPayload() *swagger_models.ZsrvResponse
Source Files
¶
- create_resource_group_parameters.go
- create_resource_group_responses.go
- delete_resource_group_parameters.go
- delete_resource_group_responses.go
- get_resource_group_by_name_parameters.go
- get_resource_group_by_name_responses.go
- get_resource_group_events_by_name_parameters.go
- get_resource_group_events_by_name_responses.go
- get_resource_group_events_parameters.go
- get_resource_group_events_responses.go
- get_resource_group_parameters.go
- get_resource_group_resource_metrics_by_id_parameters.go
- get_resource_group_resource_metrics_by_id_responses.go
- get_resource_group_resource_metrics_by_name_parameters.go
- get_resource_group_resource_metrics_by_name_responses.go
- get_resource_group_responses.go
- query_resource_groups_parameters.go
- query_resource_groups_responses.go
- resource_group_client.go
- update_resource_group_parameters.go
- update_resource_group_responses.go