Documentation
¶
Overview ¶
Package fleetapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewDeleteV1AlertMuteRulesRequest(server string, body DeleteV1AlertMuteRulesJSONRequestBody) (*http.Request, error)
- func NewDeleteV1AlertMuteRulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteV1NodesNodeUuidRequest(server string, nodeUUID string) (*http.Request, error)
- func NewDeleteV1NodesRequest(server string, body DeleteV1NodesJSONRequestBody) (*http.Request, error)
- func NewDeleteV1NodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteV1NotificationPreferenceByIDRequest(server string, id string) (*http.Request, error)
- func NewGetV1AlertMuteRulesRequest(server string) (*http.Request, error)
- func NewGetV1AlertTimelineFilterOptionsRequest(server string, params *GetV1AlertTimelineFilterOptionsParams) (*http.Request, error)
- func NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest(server string, nodeUUID string, alertUUID string, ...) (*http.Request, error)
- func NewGetV1AlertTimelineNodesNodeUuidAlertsRequest(server string, nodeUUID string, ...) (*http.Request, error)
- func NewGetV1AlertTimelineNodesRequest(server string, params *GetV1AlertTimelineNodesParams) (*http.Request, error)
- func NewGetV1AlertsNodeUuidRequest(server string, nodeUUID string, params *GetV1AlertsNodeUuidParams) (*http.Request, error)
- func NewGetV1AlertsRequest(server string, params *GetV1AlertsParams) (*http.Request, error)
- func NewGetV1AuthStatusRequest(server string) (*http.Request, error)
- func NewGetV1ComputezonesRequest(server string, params *GetV1ComputezonesParams) (*http.Request, error)
- func NewGetV1EventsBucketsRequest(server string, params *GetV1EventsBucketsParams) (*http.Request, error)
- func NewGetV1EventsRequest(server string, params *GetV1EventsParams) (*http.Request, error)
- func NewGetV1InfoRequest(server string) (*http.Request, error)
- func NewGetV1MetricsQueryRangeRequest(server string, params *GetV1MetricsQueryRangeParams) (*http.Request, error)
- func NewGetV1MetricsRequest(server string, params *GetV1MetricsParams) (*http.Request, error)
- func NewGetV1NodeGroupMembershipsRequest(server string, params *GetV1NodeGroupMembershipsParams) (*http.Request, error)
- func NewGetV1NodeRemovalPolicyRequest(server string) (*http.Request, error)
- func NewGetV1NodegroupsOptionsRequest(server string) (*http.Request, error)
- func NewGetV1NodegroupsRequest(server string, params *GetV1NodegroupsParams) (*http.Request, error)
- func NewGetV1NodesHistoryRequest(server string, params *GetV1NodesHistoryParams) (*http.Request, error)
- func NewGetV1NodesNodeUuidHealthHistoryRequest(server string, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams) (*http.Request, error)
- func NewGetV1NodesNodeUuidRequest(server string, nodeUUID string, params *GetV1NodesNodeUuidParams) (*http.Request, error)
- func NewGetV1NodesOptionsRequest(server string, params *GetV1NodesOptionsParams) (*http.Request, error)
- func NewGetV1NodesRequest(server string, params *GetV1NodesParams) (*http.Request, error)
- func NewGetV1NotificationDeliveryLogRequest(server string, params *GetV1NotificationDeliveryLogParams) (*http.Request, error)
- func NewGetV1NotificationPreferenceByIDRequest(server string, id string) (*http.Request, error)
- func NewGetV1NotificationPreferencesRequest(server string) (*http.Request, error)
- func NewGetV1OverviewRequest(server string, params *GetV1OverviewParams) (*http.Request, error)
- func NewGetV1ReportsErrorRequest(server string, params *GetV1ReportsErrorParams) (*http.Request, error)
- func NewGetV1ReportsInventoryRequest(server string, params *GetV1ReportsInventoryParams) (*http.Request, error)
- func NewGetV1RetentionPolicyRequest(server string) (*http.Request, error)
- func NewGetV1TagsRequest(server string, params *GetV1TagsParams) (*http.Request, error)
- func NewGetV1XIDBurstDetailRequest(server string, burstId string) (*http.Request, error)
- func NewGetV1XIDBurstOptionsRequest(server string) (*http.Request, error)
- func NewGetV1XIDBurstsRequest(server string, params *GetV1XIDBurstsParams) (*http.Request, error)
- func NewGetV2CommandsRequest(server string) (*http.Request, error)
- func NewGetV2MetricsRequest(server string, params *GetV2MetricsParams) (*http.Request, error)
- func NewGetWellKnownSigningKeyPubRequest(server string) (*http.Request, error)
- func NewPatchV1TagsRequest(server string, body PatchV1TagsJSONRequestBody) (*http.Request, error)
- func NewPatchV1TagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1NotificationPreferencesRequest(server string, body PostV1NotificationPreferencesJSONRequestBody) (*http.Request, error)
- func NewPostV1NotificationPreferencesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1AlertMuteRulesRequest(server string, body PutV1AlertMuteRulesJSONRequestBody) (*http.Request, error)
- func NewPutV1AlertMuteRulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ComputezonesRequest(server string, body PutV1ComputezonesJSONRequestBody) (*http.Request, error)
- func NewPutV1ComputezonesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1NodeRemovalPolicyRequest(server string, body PutV1NodeRemovalPolicyJSONRequestBody) (*http.Request, error)
- func NewPutV1NodeRemovalPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1NodesNodeUuidTagsRequest(server string, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody) (*http.Request, error)
- func NewPutV1NodesNodeUuidTagsRequestWithBody(server string, nodeUUID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1NotificationPreferenceByIDRequest(server string, id string, body PutV1NotificationPreferenceByIDJSONRequestBody) (*http.Request, error)
- func NewPutV1NotificationPreferenceByIDRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1RetentionPolicyRequest(server string, body PutV1RetentionPolicyJSONRequestBody) (*http.Request, error)
- func NewPutV1RetentionPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type Client
- func (c *Client) DeleteV1AlertMuteRules(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteV1Nodes(ctx context.Context, body DeleteV1NodesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1NodesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1AlertMuteRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1AlertTimelineFilterOptions(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, ...) (*http.Response, error)
- func (c *Client) GetV1AlertTimelineNodes(ctx context.Context, params *GetV1AlertTimelineNodesParams, ...) (*http.Response, error)
- func (c *Client) GetV1AlertTimelineNodesNodeUuidAlerts(ctx context.Context, nodeUUID string, ...) (*http.Response, error)
- func (c *Client) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid(ctx context.Context, nodeUUID string, alertUUID string, ...) (*http.Response, error)
- func (c *Client) GetV1Alerts(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1AlertsNodeUuid(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, ...) (*http.Response, error)
- func (c *Client) GetV1AuthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Computezones(ctx context.Context, params *GetV1ComputezonesParams, ...) (*http.Response, error)
- func (c *Client) GetV1Events(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1EventsBuckets(ctx context.Context, params *GetV1EventsBucketsParams, ...) (*http.Response, error)
- func (c *Client) GetV1Info(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Metrics(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1MetricsQueryRange(ctx context.Context, params *GetV1MetricsQueryRangeParams, ...) (*http.Response, error)
- func (c *Client) GetV1NodeGroupMemberships(ctx context.Context, params *GetV1NodeGroupMembershipsParams, ...) (*http.Response, error)
- func (c *Client) GetV1NodeRemovalPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Nodegroups(ctx context.Context, params *GetV1NodegroupsParams, ...) (*http.Response, error)
- func (c *Client) GetV1NodegroupsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Nodes(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1NodesHistory(ctx context.Context, params *GetV1NodesHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetV1NodesNodeUuid(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidParams, ...) (*http.Response, error)
- func (c *Client) GetV1NodesNodeUuidHealthHistory(ctx context.Context, nodeUUID string, ...) (*http.Response, error)
- func (c *Client) GetV1NodesOptions(ctx context.Context, params *GetV1NodesOptionsParams, ...) (*http.Response, error)
- func (c *Client) GetV1NotificationDeliveryLog(ctx context.Context, params *GetV1NotificationDeliveryLogParams, ...) (*http.Response, error)
- func (c *Client) GetV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1NotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Overview(ctx context.Context, params *GetV1OverviewParams, ...) (*http.Response, error)
- func (c *Client) GetV1ReportsError(ctx context.Context, params *GetV1ReportsErrorParams, ...) (*http.Response, error)
- func (c *Client) GetV1ReportsInventory(ctx context.Context, params *GetV1ReportsInventoryParams, ...) (*http.Response, error)
- func (c *Client) GetV1RetentionPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Tags(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1XIDBurstDetail(ctx context.Context, burstId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1XIDBurstOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1XIDBursts(ctx context.Context, params *GetV1XIDBurstsParams, ...) (*http.Response, error)
- func (c *Client) GetV2Commands(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2Metrics(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWellKnownSigningKeyPub(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchV1Tags(ctx context.Context, body PatchV1TagsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchV1TagsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1NotificationPreferences(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1NotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1AlertMuteRules(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1Computezones(ctx context.Context, body PutV1ComputezonesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1ComputezonesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1NodeRemovalPolicy(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1NodeRemovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1NodesNodeUuidTags(ctx context.Context, nodeUUID string, ...) (*http.Response, error)
- func (c *Client) PutV1NodesNodeUuidTagsWithBody(ctx context.Context, nodeUUID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1NotificationPreferenceByID(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PutV1NotificationPreferenceByIDWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1RetentionPolicy(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1RetentionPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteV1AlertMuteRulesResponse, error)
- func (c *ClientWithResponses) DeleteV1AlertMuteRulesWithResponse(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, ...) (*DeleteV1AlertMuteRulesResponse, error)
- func (c *ClientWithResponses) DeleteV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)
- func (c *ClientWithResponses) DeleteV1NodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteV1NodesResponse, error)
- func (c *ClientWithResponses) DeleteV1NodesWithResponse(ctx context.Context, body DeleteV1NodesJSONRequestBody, ...) (*DeleteV1NodesResponse, error)
- func (c *ClientWithResponses) DeleteV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1NotificationPreferenceByIDResponse, error)
- func (c *ClientWithResponses) GetV1AlertMuteRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AlertMuteRulesResponse, error)
- func (c *ClientWithResponses) GetV1AlertTimelineFilterOptionsWithResponse(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, ...) (*GetV1AlertTimelineFilterOptionsResponse, error)
- func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse(ctx context.Context, nodeUUID string, alertUUID string, ...) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)
- func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsWithResponse(ctx context.Context, nodeUUID string, ...) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)
- func (c *ClientWithResponses) GetV1AlertTimelineNodesWithResponse(ctx context.Context, params *GetV1AlertTimelineNodesParams, ...) (*GetV1AlertTimelineNodesResponse, error)
- func (c *ClientWithResponses) GetV1AlertsNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, ...) (*GetV1AlertsNodeUuidResponse, error)
- func (c *ClientWithResponses) GetV1AlertsWithResponse(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertsResponse, error)
- func (c *ClientWithResponses) GetV1AuthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AuthStatusResponse, error)
- func (c *ClientWithResponses) GetV1ComputezonesWithResponse(ctx context.Context, params *GetV1ComputezonesParams, ...) (*GetV1ComputezonesResponse, error)
- func (c *ClientWithResponses) GetV1EventsBucketsWithResponse(ctx context.Context, params *GetV1EventsBucketsParams, ...) (*GetV1EventsBucketsResponse, error)
- func (c *ClientWithResponses) GetV1EventsWithResponse(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*GetV1EventsResponse, error)
- func (c *ClientWithResponses) GetV1InfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1InfoResponse, error)
- func (c *ClientWithResponses) GetV1MetricsQueryRangeWithResponse(ctx context.Context, params *GetV1MetricsQueryRangeParams, ...) (*GetV1MetricsQueryRangeResponse, error)
- func (c *ClientWithResponses) GetV1MetricsWithResponse(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*GetV1MetricsResponse, error)
- func (c *ClientWithResponses) GetV1NodeGroupMembershipsWithResponse(ctx context.Context, params *GetV1NodeGroupMembershipsParams, ...) (*GetV1NodeGroupMembershipsResponse, error)
- func (c *ClientWithResponses) GetV1NodeRemovalPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodeRemovalPolicyResponse, error)
- func (c *ClientWithResponses) GetV1NodegroupsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodegroupsOptionsResponse, error)
- func (c *ClientWithResponses) GetV1NodegroupsWithResponse(ctx context.Context, params *GetV1NodegroupsParams, ...) (*GetV1NodegroupsResponse, error)
- func (c *ClientWithResponses) GetV1NodesHistoryWithResponse(ctx context.Context, params *GetV1NodesHistoryParams, ...) (*GetV1NodesHistoryResponse, error)
- func (c *ClientWithResponses) GetV1NodesNodeUuidHealthHistoryWithResponse(ctx context.Context, nodeUUID string, ...) (*GetV1NodesNodeUuidHealthHistoryResponse, error)
- func (c *ClientWithResponses) GetV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidParams, ...) (*GetV1NodesNodeUuidResponse, error)
- func (c *ClientWithResponses) GetV1NodesOptionsWithResponse(ctx context.Context, params *GetV1NodesOptionsParams, ...) (*GetV1NodesOptionsResponse, error)
- func (c *ClientWithResponses) GetV1NodesWithResponse(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*GetV1NodesResponse, error)
- func (c *ClientWithResponses) GetV1NotificationDeliveryLogWithResponse(ctx context.Context, params *GetV1NotificationDeliveryLogParams, ...) (*GetV1NotificationDeliveryLogResponse, error)
- func (c *ClientWithResponses) GetV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferenceByIDResponse, error)
- func (c *ClientWithResponses) GetV1NotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferencesResponse, error)
- func (c *ClientWithResponses) GetV1OverviewWithResponse(ctx context.Context, params *GetV1OverviewParams, ...) (*GetV1OverviewResponse, error)
- func (c *ClientWithResponses) GetV1ReportsErrorWithResponse(ctx context.Context, params *GetV1ReportsErrorParams, ...) (*GetV1ReportsErrorResponse, error)
- func (c *ClientWithResponses) GetV1ReportsInventoryWithResponse(ctx context.Context, params *GetV1ReportsInventoryParams, ...) (*GetV1ReportsInventoryResponse, error)
- func (c *ClientWithResponses) GetV1RetentionPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1RetentionPolicyResponse, error)
- func (c *ClientWithResponses) GetV1TagsWithResponse(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*GetV1TagsResponse, error)
- func (c *ClientWithResponses) GetV1XIDBurstDetailWithResponse(ctx context.Context, burstId string, reqEditors ...RequestEditorFn) (*GetV1XIDBurstDetailResponse, error)
- func (c *ClientWithResponses) GetV1XIDBurstOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1XIDBurstOptionsResponse, error)
- func (c *ClientWithResponses) GetV1XIDBurstsWithResponse(ctx context.Context, params *GetV1XIDBurstsParams, ...) (*GetV1XIDBurstsResponse, error)
- func (c *ClientWithResponses) GetV2CommandsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2CommandsResponse, error)
- func (c *ClientWithResponses) GetV2MetricsWithResponse(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*GetV2MetricsResponse, error)
- func (c *ClientWithResponses) GetWellKnownSigningKeyPubWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownSigningKeyPubResponse, error)
- func (c *ClientWithResponses) PatchV1TagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchV1TagsResponse, error)
- func (c *ClientWithResponses) PatchV1TagsWithResponse(ctx context.Context, body PatchV1TagsJSONRequestBody, ...) (*PatchV1TagsResponse, error)
- func (c *ClientWithResponses) PostV1NotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1NotificationPreferencesResponse, error)
- func (c *ClientWithResponses) PostV1NotificationPreferencesWithResponse(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, ...) (*PostV1NotificationPreferencesResponse, error)
- func (c *ClientWithResponses) PutV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutV1AlertMuteRulesResponse, error)
- func (c *ClientWithResponses) PutV1AlertMuteRulesWithResponse(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, ...) (*PutV1AlertMuteRulesResponse, error)
- func (c *ClientWithResponses) PutV1ComputezonesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutV1ComputezonesResponse, error)
- func (c *ClientWithResponses) PutV1ComputezonesWithResponse(ctx context.Context, body PutV1ComputezonesJSONRequestBody, ...) (*PutV1ComputezonesResponse, error)
- func (c *ClientWithResponses) PutV1NodeRemovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutV1NodeRemovalPolicyResponse, error)
- func (c *ClientWithResponses) PutV1NodeRemovalPolicyWithResponse(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, ...) (*PutV1NodeRemovalPolicyResponse, error)
- func (c *ClientWithResponses) PutV1NodesNodeUuidTagsWithBodyWithResponse(ctx context.Context, nodeUUID string, contentType string, body io.Reader, ...) (*PutV1NodesNodeUuidTagsResponse, error)
- func (c *ClientWithResponses) PutV1NodesNodeUuidTagsWithResponse(ctx context.Context, nodeUUID string, ...) (*PutV1NodesNodeUuidTagsResponse, error)
- func (c *ClientWithResponses) PutV1NotificationPreferenceByIDWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutV1NotificationPreferenceByIDResponse, error)
- func (c *ClientWithResponses) PutV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, ...) (*PutV1NotificationPreferenceByIDResponse, error)
- func (c *ClientWithResponses) PutV1RetentionPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutV1RetentionPolicyResponse, error)
- func (c *ClientWithResponses) PutV1RetentionPolicyWithResponse(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, ...) (*PutV1RetentionPolicyResponse, error)
- type ClientWithResponsesInterface
- type DeleteV1AlertMuteRulesJSONRequestBody
- type DeleteV1AlertMuteRulesResponse
- func (r DeleteV1AlertMuteRulesResponse) ContentType() string
- func (r DeleteV1AlertMuteRulesResponse) GetBody() []byte
- func (r DeleteV1AlertMuteRulesResponse) GetJSON400() *ModelsErrorResponse
- func (r DeleteV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
- func (r DeleteV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
- func (r DeleteV1AlertMuteRulesResponse) GetJSON404() *ModelsErrorResponse
- func (r DeleteV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
- func (r DeleteV1AlertMuteRulesResponse) GetJSON500() *ModelsErrorResponse
- func (r DeleteV1AlertMuteRulesResponse) Status() string
- func (r DeleteV1AlertMuteRulesResponse) StatusCode() int
- type DeleteV1NodesJSONRequestBody
- type DeleteV1NodesNodeUuidResponse
- func (r DeleteV1NodesNodeUuidResponse) ContentType() string
- func (r DeleteV1NodesNodeUuidResponse) GetBody() []byte
- func (r DeleteV1NodesNodeUuidResponse) GetJSON200() *map[string]interface{}
- func (r DeleteV1NodesNodeUuidResponse) GetJSON400() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) GetJSON401() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) GetJSON403() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) GetJSON404() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) GetJSON499() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) GetJSON500() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) GetJSON503() *ModelsErrorResponse
- func (r DeleteV1NodesNodeUuidResponse) Status() string
- func (r DeleteV1NodesNodeUuidResponse) StatusCode() int
- type DeleteV1NodesResponse
- func (r DeleteV1NodesResponse) ContentType() string
- func (r DeleteV1NodesResponse) GetBody() []byte
- func (r DeleteV1NodesResponse) GetJSON200() *map[string]interface{}
- func (r DeleteV1NodesResponse) GetJSON400() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) GetJSON401() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) GetJSON403() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) GetJSON404() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) GetJSON499() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) GetJSON500() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) GetJSON503() *ModelsErrorResponse
- func (r DeleteV1NodesResponse) Status() string
- func (r DeleteV1NodesResponse) StatusCode() int
- type DeleteV1NotificationPreferenceByIDResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) ContentType() string
- func (r DeleteV1NotificationPreferenceByIDResponse) GetBody() []byte
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON400() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON503() *ModelsErrorResponse
- func (r DeleteV1NotificationPreferenceByIDResponse) Status() string
- func (r DeleteV1NotificationPreferenceByIDResponse) StatusCode() int
- type GetV1AlertMuteRulesResponse
- func (r GetV1AlertMuteRulesResponse) ContentType() string
- func (r GetV1AlertMuteRulesResponse) GetBody() []byte
- func (r GetV1AlertMuteRulesResponse) GetJSON200() *ModelsListMuteRulesResponse
- func (r GetV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertMuteRulesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertMuteRulesResponse) Status() string
- func (r GetV1AlertMuteRulesResponse) StatusCode() int
- type GetV1AlertTimelineFilterOptionsParams
- type GetV1AlertTimelineFilterOptionsResponse
- func (r GetV1AlertTimelineFilterOptionsResponse) ContentType() string
- func (r GetV1AlertTimelineFilterOptionsResponse) GetBody() []byte
- func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON200() *ModelsOptions
- func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertTimelineFilterOptionsResponse) Status() string
- func (r GetV1AlertTimelineFilterOptionsResponse) StatusCode() int
- type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams
- type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder
- type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) ContentType() string
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetBody() []byte
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON200() *ModelsAlertTimelineDetailResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) Status() string
- func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) StatusCode() int
- type GetV1AlertTimelineNodesNodeUuidAlertsParams
- type GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates
- type GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder
- type GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy
- type GetV1AlertTimelineNodesNodeUuidAlertsResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) ContentType() string
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetBody() []byte
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON200() *ModelsAlertTimelineNodeAlertsResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) Status() string
- func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) StatusCode() int
- type GetV1AlertTimelineNodesParams
- type GetV1AlertTimelineNodesParamsAlertStates
- type GetV1AlertTimelineNodesParamsOrder
- type GetV1AlertTimelineNodesParamsSortBy
- type GetV1AlertTimelineNodesResponse
- func (r GetV1AlertTimelineNodesResponse) ContentType() string
- func (r GetV1AlertTimelineNodesResponse) GetBody() []byte
- func (r GetV1AlertTimelineNodesResponse) GetJSON200() *ModelsAlertTimelineNodesResponse
- func (r GetV1AlertTimelineNodesResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertTimelineNodesResponse) Status() string
- func (r GetV1AlertTimelineNodesResponse) StatusCode() int
- type GetV1AlertsNodeUuidParams
- type GetV1AlertsNodeUuidResponse
- func (r GetV1AlertsNodeUuidResponse) ContentType() string
- func (r GetV1AlertsNodeUuidResponse) GetBody() []byte
- func (r GetV1AlertsNodeUuidResponse) GetJSON200() *ModelsNodeAlertResponse
- func (r GetV1AlertsNodeUuidResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1AlertsNodeUuidResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1AlertsNodeUuidResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertsNodeUuidResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertsNodeUuidResponse) Status() string
- func (r GetV1AlertsNodeUuidResponse) StatusCode() int
- type GetV1AlertsParams
- type GetV1AlertsResponse
- func (r GetV1AlertsResponse) ContentType() string
- func (r GetV1AlertsResponse) GetBody() []byte
- func (r GetV1AlertsResponse) GetJSON200() *ModelsAlertResponse
- func (r GetV1AlertsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1AlertsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AlertsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1AlertsResponse) Status() string
- func (r GetV1AlertsResponse) StatusCode() int
- type GetV1AuthStatusResponse
- func (r GetV1AuthStatusResponse) ContentType() string
- func (r GetV1AuthStatusResponse) GetBody() []byte
- func (r GetV1AuthStatusResponse) GetJSON200() *ModelsAuthStatusResponse
- func (r GetV1AuthStatusResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1AuthStatusResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1AuthStatusResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1AuthStatusResponse) Status() string
- func (r GetV1AuthStatusResponse) StatusCode() int
- type GetV1Computezones200JSONResponseBody
- func (t GetV1Computezones200JSONResponseBody) AsModelsComputeZonesResponse() (ModelsComputeZonesResponse, error)
- func (t GetV1Computezones200JSONResponseBody) AsModelsListComputeZonesResponse() (ModelsListComputeZonesResponse, error)
- func (t *GetV1Computezones200JSONResponseBody) FromModelsComputeZonesResponse(v ModelsComputeZonesResponse) error
- func (t *GetV1Computezones200JSONResponseBody) FromModelsListComputeZonesResponse(v ModelsListComputeZonesResponse) error
- func (t GetV1Computezones200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1Computezones200JSONResponseBody) MergeModelsComputeZonesResponse(v ModelsComputeZonesResponse) error
- func (t *GetV1Computezones200JSONResponseBody) MergeModelsListComputeZonesResponse(v ModelsListComputeZonesResponse) error
- func (t *GetV1Computezones200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1ComputezonesParams
- type GetV1ComputezonesParamsView
- type GetV1ComputezonesResponse
- func (r GetV1ComputezonesResponse) ContentType() string
- func (r GetV1ComputezonesResponse) GetBody() []byte
- func (r GetV1ComputezonesResponse) GetJSON200() *GetV1Computezones200JSONResponseBody
- func (r GetV1ComputezonesResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1ComputezonesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1ComputezonesResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1ComputezonesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1ComputezonesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1ComputezonesResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1ComputezonesResponse) Status() string
- func (r GetV1ComputezonesResponse) StatusCode() int
- type GetV1EventsBucketsParams
- type GetV1EventsBucketsParamsTimeMode
- type GetV1EventsBucketsResponse
- func (r GetV1EventsBucketsResponse) ContentType() string
- func (r GetV1EventsBucketsResponse) GetBody() []byte
- func (r GetV1EventsBucketsResponse) GetJSON200() *ModelsEventBucketsResponse
- func (r GetV1EventsBucketsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1EventsBucketsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1EventsBucketsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1EventsBucketsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1EventsBucketsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1EventsBucketsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1EventsBucketsResponse) Status() string
- func (r GetV1EventsBucketsResponse) StatusCode() int
- type GetV1EventsParams
- type GetV1EventsParamsTimeMode
- type GetV1EventsResponse
- func (r GetV1EventsResponse) ContentType() string
- func (r GetV1EventsResponse) GetBody() []byte
- func (r GetV1EventsResponse) GetJSON200() *ModelsEventsResponse
- func (r GetV1EventsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1EventsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1EventsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1EventsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1EventsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1EventsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1EventsResponse) Status() string
- func (r GetV1EventsResponse) StatusCode() int
- type GetV1InfoResponse
- func (r GetV1InfoResponse) ContentType() string
- func (r GetV1InfoResponse) GetBody() []byte
- func (r GetV1InfoResponse) GetJSON200() *ModelsInfoResponse
- func (r GetV1InfoResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1InfoResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1InfoResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1InfoResponse) Status() string
- func (r GetV1InfoResponse) StatusCode() int
- type GetV1MetricsParams
- type GetV1MetricsParamsEntityLevel
- type GetV1MetricsQueryRangeParams
- type GetV1MetricsQueryRangeParamsEntityLevel
- type GetV1MetricsQueryRangeParamsTimeMode
- type GetV1MetricsQueryRangeResponse
- func (r GetV1MetricsQueryRangeResponse) ContentType() string
- func (r GetV1MetricsQueryRangeResponse) GetBody() []byte
- func (r GetV1MetricsQueryRangeResponse) GetJSON200() *ModelsQueryMetricRangeResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1MetricsQueryRangeResponse) Status() string
- func (r GetV1MetricsQueryRangeResponse) StatusCode() int
- type GetV1MetricsResponse
- func (r GetV1MetricsResponse) ContentType() string
- func (r GetV1MetricsResponse) GetBody() []byte
- func (r GetV1MetricsResponse) GetJSON200() *ModelsGetMetricsResponse
- func (r GetV1MetricsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1MetricsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1MetricsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1MetricsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1MetricsResponse) Status() string
- func (r GetV1MetricsResponse) StatusCode() int
- type GetV1NodeGroupMembershipsParams
- type GetV1NodeGroupMembershipsResponse
- func (r GetV1NodeGroupMembershipsResponse) ContentType() string
- func (r GetV1NodeGroupMembershipsResponse) GetBody() []byte
- func (r GetV1NodeGroupMembershipsResponse) GetJSON200() *ModelsNodeGroupMembershipsResponse
- func (r GetV1NodeGroupMembershipsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodeGroupMembershipsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodeGroupMembershipsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodeGroupMembershipsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodeGroupMembershipsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodeGroupMembershipsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NodeGroupMembershipsResponse) Status() string
- func (r GetV1NodeGroupMembershipsResponse) StatusCode() int
- type GetV1NodeRemovalPolicyResponse
- func (r GetV1NodeRemovalPolicyResponse) ContentType() string
- func (r GetV1NodeRemovalPolicyResponse) GetBody() []byte
- func (r GetV1NodeRemovalPolicyResponse) GetJSON200() *ModelsNodeRemovalPolicy
- func (r GetV1NodeRemovalPolicyResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodeRemovalPolicyResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodeRemovalPolicyResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodeRemovalPolicyResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NodeRemovalPolicyResponse) Status() string
- func (r GetV1NodeRemovalPolicyResponse) StatusCode() int
- type GetV1Nodegroups200JSONResponseBody
- func (t GetV1Nodegroups200JSONResponseBody) AsModelsListNodeGroupsResponse() (ModelsListNodeGroupsResponse, error)
- func (t GetV1Nodegroups200JSONResponseBody) AsModelsNodeGroupsResponse() (ModelsNodeGroupsResponse, error)
- func (t *GetV1Nodegroups200JSONResponseBody) FromModelsListNodeGroupsResponse(v ModelsListNodeGroupsResponse) error
- func (t *GetV1Nodegroups200JSONResponseBody) FromModelsNodeGroupsResponse(v ModelsNodeGroupsResponse) error
- func (t GetV1Nodegroups200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1Nodegroups200JSONResponseBody) MergeModelsListNodeGroupsResponse(v ModelsListNodeGroupsResponse) error
- func (t *GetV1Nodegroups200JSONResponseBody) MergeModelsNodeGroupsResponse(v ModelsNodeGroupsResponse) error
- func (t *GetV1Nodegroups200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1NodegroupsOptionsResponse
- func (r GetV1NodegroupsOptionsResponse) ContentType() string
- func (r GetV1NodegroupsOptionsResponse) GetBody() []byte
- func (r GetV1NodegroupsOptionsResponse) GetJSON200() *ModelsOptions
- func (r GetV1NodegroupsOptionsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodegroupsOptionsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodegroupsOptionsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodegroupsOptionsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodegroupsOptionsResponse) Status() string
- func (r GetV1NodegroupsOptionsResponse) StatusCode() int
- type GetV1NodegroupsParams
- type GetV1NodegroupsParamsHealthStatuses
- type GetV1NodegroupsParamsOrder
- type GetV1NodegroupsParamsSortBy
- type GetV1NodegroupsParamsView
- type GetV1NodegroupsResponse
- func (r GetV1NodegroupsResponse) ContentType() string
- func (r GetV1NodegroupsResponse) GetBody() []byte
- func (r GetV1NodegroupsResponse) GetJSON200() *GetV1Nodegroups200JSONResponseBody
- func (r GetV1NodegroupsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodegroupsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodegroupsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodegroupsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodegroupsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodegroupsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NodegroupsResponse) Status() string
- func (r GetV1NodegroupsResponse) StatusCode() int
- type GetV1Nodes200JSONResponseBody
- func (t GetV1Nodes200JSONResponseBody) AsModelsBasicNodesResponse() (ModelsBasicNodesResponse, error)
- func (t GetV1Nodes200JSONResponseBody) AsModelsInbandNodesResponse() (ModelsInbandNodesResponse, error)
- func (t GetV1Nodes200JSONResponseBody) AsModelsOobNodesResponse() (ModelsOobNodesResponse, error)
- func (t *GetV1Nodes200JSONResponseBody) FromModelsBasicNodesResponse(v ModelsBasicNodesResponse) error
- func (t *GetV1Nodes200JSONResponseBody) FromModelsInbandNodesResponse(v ModelsInbandNodesResponse) error
- func (t *GetV1Nodes200JSONResponseBody) FromModelsOobNodesResponse(v ModelsOobNodesResponse) error
- func (t GetV1Nodes200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1Nodes200JSONResponseBody) MergeModelsBasicNodesResponse(v ModelsBasicNodesResponse) error
- func (t *GetV1Nodes200JSONResponseBody) MergeModelsInbandNodesResponse(v ModelsInbandNodesResponse) error
- func (t *GetV1Nodes200JSONResponseBody) MergeModelsOobNodesResponse(v ModelsOobNodesResponse) error
- func (t *GetV1Nodes200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1NodesHistoryParams
- type GetV1NodesHistoryParamsActorType
- type GetV1NodesHistoryResponse
- func (r GetV1NodesHistoryResponse) ContentType() string
- func (r GetV1NodesHistoryResponse) GetBody() []byte
- func (r GetV1NodesHistoryResponse) GetJSON200() *ModelsNodeHistoryResponse
- func (r GetV1NodesHistoryResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodesHistoryResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodesHistoryResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodesHistoryResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodesHistoryResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NodesHistoryResponse) Status() string
- func (r GetV1NodesHistoryResponse) StatusCode() int
- type GetV1NodesNodeUuid200JSONResponseBody
- func (t GetV1NodesNodeUuid200JSONResponseBody) AsModelsInbandNodeDetailsResponse() (ModelsInbandNodeDetailsResponse, error)
- func (t GetV1NodesNodeUuid200JSONResponseBody) AsModelsOobNodeDetailsResponse() (ModelsOobNodeDetailsResponse, error)
- func (t *GetV1NodesNodeUuid200JSONResponseBody) FromModelsInbandNodeDetailsResponse(v ModelsInbandNodeDetailsResponse) error
- func (t *GetV1NodesNodeUuid200JSONResponseBody) FromModelsOobNodeDetailsResponse(v ModelsOobNodeDetailsResponse) error
- func (t GetV1NodesNodeUuid200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1NodesNodeUuid200JSONResponseBody) MergeModelsInbandNodeDetailsResponse(v ModelsInbandNodeDetailsResponse) error
- func (t *GetV1NodesNodeUuid200JSONResponseBody) MergeModelsOobNodeDetailsResponse(v ModelsOobNodeDetailsResponse) error
- func (t *GetV1NodesNodeUuid200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1NodesNodeUuidHealthHistoryParams
- type GetV1NodesNodeUuidHealthHistoryResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) ContentType() string
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetBody() []byte
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON200() *ModelsNodeHealthHistoryResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidHealthHistoryResponse) Status() string
- func (r GetV1NodesNodeUuidHealthHistoryResponse) StatusCode() int
- type GetV1NodesNodeUuidParams
- type GetV1NodesNodeUuidParamsAgentType
- type GetV1NodesNodeUuidResponse
- func (r GetV1NodesNodeUuidResponse) ContentType() string
- func (r GetV1NodesNodeUuidResponse) GetBody() []byte
- func (r GetV1NodesNodeUuidResponse) GetJSON200() *GetV1NodesNodeUuid200JSONResponseBody
- func (r GetV1NodesNodeUuidResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NodesNodeUuidResponse) Status() string
- func (r GetV1NodesNodeUuidResponse) StatusCode() int
- type GetV1NodesOptionsParams
- type GetV1NodesOptionsParamsAgentType
- type GetV1NodesOptionsResponse
- func (r GetV1NodesOptionsResponse) ContentType() string
- func (r GetV1NodesOptionsResponse) GetBody() []byte
- func (r GetV1NodesOptionsResponse) GetJSON200() *ModelsOptions
- func (r GetV1NodesOptionsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodesOptionsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodesOptionsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodesOptionsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodesOptionsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodesOptionsResponse) Status() string
- func (r GetV1NodesOptionsResponse) StatusCode() int
- type GetV1NodesParams
- type GetV1NodesParamsAgentType
- type GetV1NodesParamsHealthStatuses
- type GetV1NodesParamsOrder
- type GetV1NodesParamsSortBy
- type GetV1NodesParamsView
- type GetV1NodesResponse
- func (r GetV1NodesResponse) ContentType() string
- func (r GetV1NodesResponse) GetBody() []byte
- func (r GetV1NodesResponse) GetJSON200() *GetV1Nodes200JSONResponseBody
- func (r GetV1NodesResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NodesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NodesResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NodesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NodesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NodesResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NodesResponse) Status() string
- func (r GetV1NodesResponse) StatusCode() int
- type GetV1NotificationDeliveryLogParams
- type GetV1NotificationDeliveryLogResponse
- func (r GetV1NotificationDeliveryLogResponse) ContentType() string
- func (r GetV1NotificationDeliveryLogResponse) GetBody() []byte
- func (r GetV1NotificationDeliveryLogResponse) GetJSON200() *ModelsDeliveryLogResponse
- func (r GetV1NotificationDeliveryLogResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1NotificationDeliveryLogResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NotificationDeliveryLogResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NotificationDeliveryLogResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NotificationDeliveryLogResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NotificationDeliveryLogResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NotificationDeliveryLogResponse) Status() string
- func (r GetV1NotificationDeliveryLogResponse) StatusCode() int
- type GetV1NotificationPreferenceByIDResponse
- func (r GetV1NotificationPreferenceByIDResponse) ContentType() string
- func (r GetV1NotificationPreferenceByIDResponse) GetBody() []byte
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON200() *ModelsNotificationPreferenceDetail
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NotificationPreferenceByIDResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NotificationPreferenceByIDResponse) Status() string
- func (r GetV1NotificationPreferenceByIDResponse) StatusCode() int
- type GetV1NotificationPreferencesResponse
- func (r GetV1NotificationPreferencesResponse) ContentType() string
- func (r GetV1NotificationPreferencesResponse) GetBody() []byte
- func (r GetV1NotificationPreferencesResponse) GetJSON200() *ModelsListNotificationPreferencesResponse
- func (r GetV1NotificationPreferencesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1NotificationPreferencesResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1NotificationPreferencesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1NotificationPreferencesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1NotificationPreferencesResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1NotificationPreferencesResponse) Status() string
- func (r GetV1NotificationPreferencesResponse) StatusCode() int
- type GetV1OverviewParams
- type GetV1OverviewResponse
- func (r GetV1OverviewResponse) ContentType() string
- func (r GetV1OverviewResponse) GetBody() []byte
- func (r GetV1OverviewResponse) GetJSON200() *ModelsOverviewResponse
- func (r GetV1OverviewResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1OverviewResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1OverviewResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1OverviewResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1OverviewResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1OverviewResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1OverviewResponse) Status() string
- func (r GetV1OverviewResponse) StatusCode() int
- type GetV1ReportsError200JSONResponseBody
- func (t GetV1ReportsError200JSONResponseBody) AsGetV1ReportsError200JSONResponseBody4() (GetV1ReportsError200JSONResponseBody4, error)
- func (t GetV1ReportsError200JSONResponseBody) AsModelsByErrorResponse() (ModelsByErrorResponse, error)
- func (t GetV1ReportsError200JSONResponseBody) AsModelsByNodeResponse() (ModelsByNodeResponse, error)
- func (t GetV1ReportsError200JSONResponseBody) AsModelsErrorOverviewResponse() (ModelsErrorOverviewResponse, error)
- func (t GetV1ReportsError200JSONResponseBody) AsModelsErrorReportGraphByErrorResponse() (ModelsErrorReportGraphByErrorResponse, error)
- func (t *GetV1ReportsError200JSONResponseBody) FromGetV1ReportsError200JSONResponseBody4(v GetV1ReportsError200JSONResponseBody4) error
- func (t *GetV1ReportsError200JSONResponseBody) FromModelsByErrorResponse(v ModelsByErrorResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) FromModelsByNodeResponse(v ModelsByNodeResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) FromModelsErrorOverviewResponse(v ModelsErrorOverviewResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) FromModelsErrorReportGraphByErrorResponse(v ModelsErrorReportGraphByErrorResponse) error
- func (t GetV1ReportsError200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1ReportsError200JSONResponseBody) MergeGetV1ReportsError200JSONResponseBody4(v GetV1ReportsError200JSONResponseBody4) error
- func (t *GetV1ReportsError200JSONResponseBody) MergeModelsByErrorResponse(v ModelsByErrorResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) MergeModelsByNodeResponse(v ModelsByNodeResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) MergeModelsErrorOverviewResponse(v ModelsErrorOverviewResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) MergeModelsErrorReportGraphByErrorResponse(v ModelsErrorReportGraphByErrorResponse) error
- func (t *GetV1ReportsError200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1ReportsError200JSONResponseBody4
- type GetV1ReportsErrorParams
- type GetV1ReportsErrorParamsFormat
- type GetV1ReportsErrorParamsGroupBy
- type GetV1ReportsErrorParamsView
- type GetV1ReportsErrorResponse
- func (r GetV1ReportsErrorResponse) ContentType() string
- func (r GetV1ReportsErrorResponse) GetBody() []byte
- func (r GetV1ReportsErrorResponse) GetJSON200() *GetV1ReportsError200JSONResponseBody
- func (r GetV1ReportsErrorResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1ReportsErrorResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1ReportsErrorResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1ReportsErrorResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1ReportsErrorResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1ReportsErrorResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1ReportsErrorResponse) Status() string
- func (r GetV1ReportsErrorResponse) StatusCode() int
- type GetV1ReportsInventory200JSONResponseBody
- func (t GetV1ReportsInventory200JSONResponseBody) AsGetV1ReportsInventory200JSONResponseBody1() (GetV1ReportsInventory200JSONResponseBody1, error)
- func (t GetV1ReportsInventory200JSONResponseBody) AsModelsInventoryReportResponse() (ModelsInventoryReportResponse, error)
- func (t *GetV1ReportsInventory200JSONResponseBody) FromGetV1ReportsInventory200JSONResponseBody1(v GetV1ReportsInventory200JSONResponseBody1) error
- func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsInventoryReportResponse(v ModelsInventoryReportResponse) error
- func (t GetV1ReportsInventory200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1ReportsInventory200JSONResponseBody) MergeGetV1ReportsInventory200JSONResponseBody1(v GetV1ReportsInventory200JSONResponseBody1) error
- func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsInventoryReportResponse(v ModelsInventoryReportResponse) error
- func (t *GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1ReportsInventory200JSONResponseBody1
- type GetV1ReportsInventoryParams
- type GetV1ReportsInventoryParamsFormat
- type GetV1ReportsInventoryParamsOrder
- type GetV1ReportsInventoryParamsSortBy
- type GetV1ReportsInventoryResponse
- func (r GetV1ReportsInventoryResponse) ContentType() string
- func (r GetV1ReportsInventoryResponse) GetBody() []byte
- func (r GetV1ReportsInventoryResponse) GetJSON200() *GetV1ReportsInventory200JSONResponseBody
- func (r GetV1ReportsInventoryResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1ReportsInventoryResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1ReportsInventoryResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1ReportsInventoryResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1ReportsInventoryResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1ReportsInventoryResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1ReportsInventoryResponse) Status() string
- func (r GetV1ReportsInventoryResponse) StatusCode() int
- type GetV1RetentionPolicyResponse
- func (r GetV1RetentionPolicyResponse) ContentType() string
- func (r GetV1RetentionPolicyResponse) GetBody() []byte
- func (r GetV1RetentionPolicyResponse) GetJSON200() *ModelsGetRetentionPolicyResponse
- func (r GetV1RetentionPolicyResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1RetentionPolicyResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1RetentionPolicyResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1RetentionPolicyResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1RetentionPolicyResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1RetentionPolicyResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1RetentionPolicyResponse) Status() string
- func (r GetV1RetentionPolicyResponse) StatusCode() int
- type GetV1TagsParams
- type GetV1TagsResponse
- func (r GetV1TagsResponse) ContentType() string
- func (r GetV1TagsResponse) GetBody() []byte
- func (r GetV1TagsResponse) GetJSON200() *ModelsListTagsResponse
- func (r GetV1TagsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1TagsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1TagsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1TagsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1TagsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1TagsResponse) Status() string
- func (r GetV1TagsResponse) StatusCode() int
- type GetV1XIDBurstDetailResponse
- func (r GetV1XIDBurstDetailResponse) ContentType() string
- func (r GetV1XIDBurstDetailResponse) GetBody() []byte
- func (r GetV1XIDBurstDetailResponse) GetJSON200() *ModelsXIDBurstDetail
- func (r GetV1XIDBurstDetailResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1XIDBurstDetailResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1XIDBurstDetailResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1XIDBurstDetailResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1XIDBurstDetailResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1XIDBurstDetailResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1XIDBurstDetailResponse) Status() string
- func (r GetV1XIDBurstDetailResponse) StatusCode() int
- type GetV1XIDBurstOptionsResponse
- func (r GetV1XIDBurstOptionsResponse) ContentType() string
- func (r GetV1XIDBurstOptionsResponse) GetBody() []byte
- func (r GetV1XIDBurstOptionsResponse) GetJSON200() *ModelsXIDBurstFilterOptionsResponse
- func (r GetV1XIDBurstOptionsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1XIDBurstOptionsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1XIDBurstOptionsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1XIDBurstOptionsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1XIDBurstOptionsResponse) Status() string
- func (r GetV1XIDBurstOptionsResponse) StatusCode() int
- type GetV1XIDBurstsParams
- type GetV1XIDBurstsParamsSortBy
- type GetV1XIDBurstsParamsSortOrder
- type GetV1XIDBurstsParamsTimeMode
- type GetV1XIDBurstsResponse
- func (r GetV1XIDBurstsResponse) ContentType() string
- func (r GetV1XIDBurstsResponse) GetBody() []byte
- func (r GetV1XIDBurstsResponse) GetJSON200() *ModelsXIDBurstsListResponse
- func (r GetV1XIDBurstsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1XIDBurstsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1XIDBurstsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1XIDBurstsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1XIDBurstsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1XIDBurstsResponse) Status() string
- func (r GetV1XIDBurstsResponse) StatusCode() int
- type GetV2CommandsResponse
- func (r GetV2CommandsResponse) ContentType() string
- func (r GetV2CommandsResponse) GetBody() []byte
- func (r GetV2CommandsResponse) GetJSON200() *ModelsCommandsResponse
- func (r GetV2CommandsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV2CommandsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV2CommandsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV2CommandsResponse) Status() string
- func (r GetV2CommandsResponse) StatusCode() int
- type GetV2MetricsParams
- type GetV2MetricsParamsGroupBy
- type GetV2MetricsParamsTimeMode
- type GetV2MetricsResponse
- func (r GetV2MetricsResponse) ContentType() string
- func (r GetV2MetricsResponse) GetBody() []byte
- func (r GetV2MetricsResponse) GetJSON200() *ModelsMetricsAggregationResponse
- func (r GetV2MetricsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV2MetricsResponse) Status() string
- func (r GetV2MetricsResponse) StatusCode() int
- type GetWellKnownSigningKeyPubResponse
- func (r GetWellKnownSigningKeyPubResponse) ContentType() string
- func (r GetWellKnownSigningKeyPubResponse) GetBody() []byte
- func (r GetWellKnownSigningKeyPubResponse) GetJSON499() *ModelsErrorResponse
- func (r GetWellKnownSigningKeyPubResponse) GetJSON503() *ModelsErrorResponse
- func (r GetWellKnownSigningKeyPubResponse) Status() string
- func (r GetWellKnownSigningKeyPubResponse) StatusCode() int
- type HttpRequestDoer
- type ModelsActionPersona
- type ModelsActionType
- type ModelsAgentStatus
- type ModelsAggregation
- type ModelsAlert
- type ModelsAlertEventType
- type ModelsAlertOverview
- type ModelsAlertResponse
- type ModelsAlertSeverity
- type ModelsAlertState
- type ModelsAlertTimelineDetailResponse
- type ModelsAlertTimelineEvent
- type ModelsAlertTimelineNode
- type ModelsAlertTimelineNodeAlert
- type ModelsAlertTimelineNodeAlertsResponse
- type ModelsAlertTimelineNodesResponse
- type ModelsAudience
- type ModelsAuthStatusResponse
- type ModelsBasicNodesResponse
- type ModelsBatchUpdateTagsRequest
- type ModelsBlockDevice
- type ModelsByError
- type ModelsByErrorResponse
- type ModelsByNode
- type ModelsByNodeResponse
- type ModelsCPUInfo
- type ModelsCertChainStatus
- type ModelsCommand
- type ModelsCommandsResponse
- type ModelsComponentInfo
- type ModelsComponentMetricList
- type ModelsComponentsInfo
- type ModelsComputeZoneOverview
- type ModelsComputeZoneType
- type ModelsComputeZonesResponse
- type ModelsContact
- type ModelsCreateNotificationPreferenceResponse
- type ModelsDeleteMuteRulesRequest
- type ModelsDeleteNodesRequest
- type ModelsDeliveryLogItem
- type ModelsDeliveryLogResponse
- type ModelsDeliveryStatus
- type ModelsDiskInfo
- type ModelsErrorLabelByError
- type ModelsErrorOverviewResponse
- type ModelsErrorReportGraphByErrorResponse
- type ModelsErrorResponse
- type ModelsErrorTimeSeriesByError
- type ModelsEvent
- type ModelsEventBucket
- type ModelsEventBucketsResponse
- type ModelsEventSeverity
- type ModelsEventsResponse
- type ModelsFilterField
- type ModelsFilterOption
- type ModelsFilterOptions
- type ModelsFirmwareCheck
- type ModelsGPUDevice
- type ModelsGPUFirmwareVersion
- type ModelsGPUInfo
- type ModelsGeoLocation
- type ModelsGetMetricsResponse
- type ModelsGetRetentionPolicyResponse
- type ModelsHealthSegment
- type ModelsHealthState
- type ModelsHealthSummary
- type ModelsInbandNode
- type ModelsInbandNodeDetailsResponse
- type ModelsInbandNodesResponse
- type ModelsInfoResponse
- type ModelsIntegrityCheck
- type ModelsIntegrityCheckExtraInfo
- type ModelsInventoryNode
- type ModelsInventoryReportResponse
- type ModelsJWTClaims
- type ModelsKASRequestStatus
- type ModelsListComputeZonesResponse
- type ModelsListMuteRulesResponse
- type ModelsListNodeGroupsResponse
- type ModelsListNotificationPreferencesResponse
- type ModelsListTagsResponse
- type ModelsMemoryInfo
- type ModelsMetric
- type ModelsMetricInfo
- type ModelsMetricQueryWarning
- type ModelsMetricSeriesData
- type ModelsMetricTimeSeries
- type ModelsMetricsAggregationResponse
- type ModelsMuteRuleWithDetails
- type ModelsNRASErrorDetail
- type ModelsNicInfo
- type ModelsNicInterface
- type ModelsNodeAlertComponent
- type ModelsNodeAlertResponse
- type ModelsNodeGroupMembership
- type ModelsNodeGroupMembershipsResponse
- type ModelsNodeGroupOverview
- type ModelsNodeGroupsResponse
- type ModelsNodeHealthHistoryResponse
- type ModelsNodeHistoryEntry
- type ModelsNodeHistoryResponse
- type ModelsNodeRemovalPolicy
- type ModelsNodeResources
- type ModelsNotificationChannel
- type ModelsNotificationPreferenceDetail
- type ModelsNotificationPreferenceRequest
- type ModelsNotificationScope
- type ModelsNotificationScopeResponse
- type ModelsNotificationScopeType
- type ModelsNotificationTarget
- type ModelsOobChassis
- type ModelsOobChassisLocation
- type ModelsOobDomainError
- type ModelsOobFirmware
- type ModelsOobInventory
- type ModelsOobManager
- type ModelsOobNode
- type ModelsOobNodeDetailsResponse
- type ModelsOobNodesResponse
- type ModelsOobPcieDevice
- type ModelsOobProcessor
- type ModelsOobSource
- type ModelsOobSystem
- type ModelsOptions
- type ModelsOverviewResponse
- type ModelsQueryMetricRangeResponse
- type ModelsSetNodeTagsRequest
- type ModelsSetNodeTagsResponse
- type ModelsSigningKeyInfo
- type ModelsSimpleComputeZone
- type ModelsSimpleNode
- type ModelsSimpleNodeGroup
- type ModelsSingleCommand
- type ModelsSortingDefaults
- type ModelsSortingOptions
- type ModelsSuggestedAction
- type ModelsSystemInfo
- type ModelsTimeRange
- type ModelsUpdateComputeZoneRequest
- type ModelsUpdateComputeZoneResponse
- type ModelsUpdateMuteRuleRequest
- type ModelsUpdateNodeRemovalPolicyRequest
- type ModelsUpdateRetentionPolicyRequest
- type ModelsXIDBurstDetail
- type ModelsXIDBurstFilterOptionsResponse
- type ModelsXIDBurstListItem
- type ModelsXIDBurstXID
- type ModelsXIDBurstsListResponse
- type PatchV1TagsJSONRequestBody
- type PatchV1TagsResponse
- func (r PatchV1TagsResponse) ContentType() string
- func (r PatchV1TagsResponse) GetBody() []byte
- func (r PatchV1TagsResponse) GetJSON400() *ModelsErrorResponse
- func (r PatchV1TagsResponse) GetJSON401() *ModelsErrorResponse
- func (r PatchV1TagsResponse) GetJSON403() *ModelsErrorResponse
- func (r PatchV1TagsResponse) GetJSON499() *ModelsErrorResponse
- func (r PatchV1TagsResponse) GetJSON500() *ModelsErrorResponse
- func (r PatchV1TagsResponse) Status() string
- func (r PatchV1TagsResponse) StatusCode() int
- type PostV1NotificationPreferencesJSONRequestBody
- type PostV1NotificationPreferencesResponse
- func (r PostV1NotificationPreferencesResponse) ContentType() string
- func (r PostV1NotificationPreferencesResponse) GetBody() []byte
- func (r PostV1NotificationPreferencesResponse) GetJSON201() *ModelsCreateNotificationPreferenceResponse
- func (r PostV1NotificationPreferencesResponse) GetJSON400() *ModelsErrorResponse
- func (r PostV1NotificationPreferencesResponse) GetJSON401() *ModelsErrorResponse
- func (r PostV1NotificationPreferencesResponse) GetJSON403() *ModelsErrorResponse
- func (r PostV1NotificationPreferencesResponse) GetJSON499() *ModelsErrorResponse
- func (r PostV1NotificationPreferencesResponse) GetJSON500() *ModelsErrorResponse
- func (r PostV1NotificationPreferencesResponse) GetJSON503() *ModelsErrorResponse
- func (r PostV1NotificationPreferencesResponse) Status() string
- func (r PostV1NotificationPreferencesResponse) StatusCode() int
- type PutV1AlertMuteRulesJSONRequestBody
- type PutV1AlertMuteRulesResponse
- func (r PutV1AlertMuteRulesResponse) ContentType() string
- func (r PutV1AlertMuteRulesResponse) GetBody() []byte
- func (r PutV1AlertMuteRulesResponse) GetJSON400() *ModelsErrorResponse
- func (r PutV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
- func (r PutV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
- func (r PutV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
- func (r PutV1AlertMuteRulesResponse) GetJSON500() *ModelsErrorResponse
- func (r PutV1AlertMuteRulesResponse) Status() string
- func (r PutV1AlertMuteRulesResponse) StatusCode() int
- type PutV1ComputezonesJSONRequestBody
- type PutV1ComputezonesResponse
- func (r PutV1ComputezonesResponse) ContentType() string
- func (r PutV1ComputezonesResponse) GetBody() []byte
- func (r PutV1ComputezonesResponse) GetJSON200() *ModelsUpdateComputeZoneResponse
- func (r PutV1ComputezonesResponse) GetJSON400() *ModelsErrorResponse
- func (r PutV1ComputezonesResponse) GetJSON401() *ModelsErrorResponse
- func (r PutV1ComputezonesResponse) GetJSON403() *ModelsErrorResponse
- func (r PutV1ComputezonesResponse) GetJSON499() *ModelsErrorResponse
- func (r PutV1ComputezonesResponse) GetJSON500() *ModelsErrorResponse
- func (r PutV1ComputezonesResponse) Status() string
- func (r PutV1ComputezonesResponse) StatusCode() int
- type PutV1NodeRemovalPolicyJSONRequestBody
- type PutV1NodeRemovalPolicyResponse
- func (r PutV1NodeRemovalPolicyResponse) ContentType() string
- func (r PutV1NodeRemovalPolicyResponse) GetBody() []byte
- func (r PutV1NodeRemovalPolicyResponse) GetJSON400() *ModelsErrorResponse
- func (r PutV1NodeRemovalPolicyResponse) GetJSON401() *ModelsErrorResponse
- func (r PutV1NodeRemovalPolicyResponse) GetJSON403() *ModelsErrorResponse
- func (r PutV1NodeRemovalPolicyResponse) GetJSON500() *ModelsErrorResponse
- func (r PutV1NodeRemovalPolicyResponse) GetJSON503() *ModelsErrorResponse
- func (r PutV1NodeRemovalPolicyResponse) Status() string
- func (r PutV1NodeRemovalPolicyResponse) StatusCode() int
- type PutV1NodesNodeUuidTagsJSONRequestBody
- type PutV1NodesNodeUuidTagsResponse
- func (r PutV1NodesNodeUuidTagsResponse) ContentType() string
- func (r PutV1NodesNodeUuidTagsResponse) GetBody() []byte
- func (r PutV1NodesNodeUuidTagsResponse) GetJSON200() *ModelsSetNodeTagsResponse
- func (r PutV1NodesNodeUuidTagsResponse) GetJSON400() *ModelsErrorResponse
- func (r PutV1NodesNodeUuidTagsResponse) GetJSON404() *ModelsErrorResponse
- func (r PutV1NodesNodeUuidTagsResponse) GetJSON499() *ModelsErrorResponse
- func (r PutV1NodesNodeUuidTagsResponse) GetJSON500() *ModelsErrorResponse
- func (r PutV1NodesNodeUuidTagsResponse) Status() string
- func (r PutV1NodesNodeUuidTagsResponse) StatusCode() int
- type PutV1NotificationPreferenceByIDJSONRequestBody
- type PutV1NotificationPreferenceByIDResponse
- func (r PutV1NotificationPreferenceByIDResponse) ContentType() string
- func (r PutV1NotificationPreferenceByIDResponse) GetBody() []byte
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON400() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) GetJSON503() *ModelsErrorResponse
- func (r PutV1NotificationPreferenceByIDResponse) Status() string
- func (r PutV1NotificationPreferenceByIDResponse) StatusCode() int
- type PutV1RetentionPolicyJSONRequestBody
- type PutV1RetentionPolicyResponse
- func (r PutV1RetentionPolicyResponse) ContentType() string
- func (r PutV1RetentionPolicyResponse) GetBody() []byte
- func (r PutV1RetentionPolicyResponse) GetJSON400() *ModelsErrorResponse
- func (r PutV1RetentionPolicyResponse) GetJSON401() *ModelsErrorResponse
- func (r PutV1RetentionPolicyResponse) GetJSON403() *ModelsErrorResponse
- func (r PutV1RetentionPolicyResponse) GetJSON499() *ModelsErrorResponse
- func (r PutV1RetentionPolicyResponse) GetJSON500() *ModelsErrorResponse
- func (r PutV1RetentionPolicyResponse) GetJSON503() *ModelsErrorResponse
- func (r PutV1RetentionPolicyResponse) Status() string
- func (r PutV1RetentionPolicyResponse) StatusCode() int
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteV1AlertMuteRulesRequest ¶ added in v1.0.0
func NewDeleteV1AlertMuteRulesRequest(server string, body DeleteV1AlertMuteRulesJSONRequestBody) (*http.Request, error)
NewDeleteV1AlertMuteRulesRequest calls the generic DeleteV1AlertMuteRules builder with application/json body
func NewDeleteV1AlertMuteRulesRequestWithBody ¶ added in v1.0.0
func NewDeleteV1AlertMuteRulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteV1AlertMuteRulesRequestWithBody constructs an http.Request for the DeleteV1AlertMuteRules method, with any body, and a specified content type
func NewDeleteV1NodesNodeUuidRequest ¶
NewDeleteV1NodesNodeUuidRequest constructs an http.Request for the DeleteV1NodesNodeUuid method
func NewDeleteV1NodesRequest ¶
func NewDeleteV1NodesRequest(server string, body DeleteV1NodesJSONRequestBody) (*http.Request, error)
NewDeleteV1NodesRequest calls the generic DeleteV1Nodes builder with application/json body
func NewDeleteV1NodesRequestWithBody ¶
func NewDeleteV1NodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteV1NodesRequestWithBody constructs an http.Request for the DeleteV1Nodes method, with any body, and a specified content type
func NewDeleteV1NotificationPreferenceByIDRequest ¶ added in v1.0.0
NewDeleteV1NotificationPreferenceByIDRequest constructs an http.Request for the DeleteV1NotificationPreferenceByID method
func NewGetV1AlertMuteRulesRequest ¶ added in v1.0.0
NewGetV1AlertMuteRulesRequest constructs an http.Request for the GetV1AlertMuteRules method
func NewGetV1AlertTimelineFilterOptionsRequest ¶ added in v1.0.0
func NewGetV1AlertTimelineFilterOptionsRequest(server string, params *GetV1AlertTimelineFilterOptionsParams) (*http.Request, error)
NewGetV1AlertTimelineFilterOptionsRequest constructs an http.Request for the GetV1AlertTimelineFilterOptions method
func NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest ¶
func NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest(server string, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams) (*http.Request, error)
NewGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidRequest constructs an http.Request for the GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid method
func NewGetV1AlertTimelineNodesNodeUuidAlertsRequest ¶
func NewGetV1AlertTimelineNodesNodeUuidAlertsRequest(server string, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams) (*http.Request, error)
NewGetV1AlertTimelineNodesNodeUuidAlertsRequest constructs an http.Request for the GetV1AlertTimelineNodesNodeUuidAlerts method
func NewGetV1AlertTimelineNodesRequest ¶
func NewGetV1AlertTimelineNodesRequest(server string, params *GetV1AlertTimelineNodesParams) (*http.Request, error)
NewGetV1AlertTimelineNodesRequest constructs an http.Request for the GetV1AlertTimelineNodes method
func NewGetV1AlertsNodeUuidRequest ¶
func NewGetV1AlertsNodeUuidRequest(server string, nodeUUID string, params *GetV1AlertsNodeUuidParams) (*http.Request, error)
NewGetV1AlertsNodeUuidRequest constructs an http.Request for the GetV1AlertsNodeUuid method
func NewGetV1AlertsRequest ¶
func NewGetV1AlertsRequest(server string, params *GetV1AlertsParams) (*http.Request, error)
NewGetV1AlertsRequest constructs an http.Request for the GetV1Alerts method
func NewGetV1AuthStatusRequest ¶ added in v1.0.0
NewGetV1AuthStatusRequest constructs an http.Request for the GetV1AuthStatus method
func NewGetV1ComputezonesRequest ¶
func NewGetV1ComputezonesRequest(server string, params *GetV1ComputezonesParams) (*http.Request, error)
NewGetV1ComputezonesRequest constructs an http.Request for the GetV1Computezones method
func NewGetV1EventsBucketsRequest ¶ added in v1.0.0
func NewGetV1EventsBucketsRequest(server string, params *GetV1EventsBucketsParams) (*http.Request, error)
NewGetV1EventsBucketsRequest constructs an http.Request for the GetV1EventsBuckets method
func NewGetV1EventsRequest ¶ added in v1.0.0
func NewGetV1EventsRequest(server string, params *GetV1EventsParams) (*http.Request, error)
NewGetV1EventsRequest constructs an http.Request for the GetV1Events method
func NewGetV1InfoRequest ¶ added in v1.0.0
NewGetV1InfoRequest constructs an http.Request for the GetV1Info method
func NewGetV1MetricsQueryRangeRequest ¶ added in v1.0.0
func NewGetV1MetricsQueryRangeRequest(server string, params *GetV1MetricsQueryRangeParams) (*http.Request, error)
NewGetV1MetricsQueryRangeRequest constructs an http.Request for the GetV1MetricsQueryRange method
func NewGetV1MetricsRequest ¶ added in v1.0.0
func NewGetV1MetricsRequest(server string, params *GetV1MetricsParams) (*http.Request, error)
NewGetV1MetricsRequest constructs an http.Request for the GetV1Metrics method
func NewGetV1NodeGroupMembershipsRequest ¶ added in v1.0.0
func NewGetV1NodeGroupMembershipsRequest(server string, params *GetV1NodeGroupMembershipsParams) (*http.Request, error)
NewGetV1NodeGroupMembershipsRequest constructs an http.Request for the GetV1NodeGroupMemberships method
func NewGetV1NodeRemovalPolicyRequest ¶ added in v1.0.0
NewGetV1NodeRemovalPolicyRequest constructs an http.Request for the GetV1NodeRemovalPolicy method
func NewGetV1NodegroupsOptionsRequest ¶
NewGetV1NodegroupsOptionsRequest constructs an http.Request for the GetV1NodegroupsOptions method
func NewGetV1NodegroupsRequest ¶
func NewGetV1NodegroupsRequest(server string, params *GetV1NodegroupsParams) (*http.Request, error)
NewGetV1NodegroupsRequest constructs an http.Request for the GetV1Nodegroups method
func NewGetV1NodesHistoryRequest ¶ added in v1.0.0
func NewGetV1NodesHistoryRequest(server string, params *GetV1NodesHistoryParams) (*http.Request, error)
NewGetV1NodesHistoryRequest constructs an http.Request for the GetV1NodesHistory method
func NewGetV1NodesNodeUuidHealthHistoryRequest ¶
func NewGetV1NodesNodeUuidHealthHistoryRequest(server string, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams) (*http.Request, error)
NewGetV1NodesNodeUuidHealthHistoryRequest constructs an http.Request for the GetV1NodesNodeUuidHealthHistory method
func NewGetV1NodesNodeUuidRequest ¶
func NewGetV1NodesNodeUuidRequest(server string, nodeUUID string, params *GetV1NodesNodeUuidParams) (*http.Request, error)
NewGetV1NodesNodeUuidRequest constructs an http.Request for the GetV1NodesNodeUuid method
func NewGetV1NodesOptionsRequest ¶
func NewGetV1NodesOptionsRequest(server string, params *GetV1NodesOptionsParams) (*http.Request, error)
NewGetV1NodesOptionsRequest constructs an http.Request for the GetV1NodesOptions method
func NewGetV1NodesRequest ¶
func NewGetV1NodesRequest(server string, params *GetV1NodesParams) (*http.Request, error)
NewGetV1NodesRequest constructs an http.Request for the GetV1Nodes method
func NewGetV1NotificationDeliveryLogRequest ¶ added in v1.0.0
func NewGetV1NotificationDeliveryLogRequest(server string, params *GetV1NotificationDeliveryLogParams) (*http.Request, error)
NewGetV1NotificationDeliveryLogRequest constructs an http.Request for the GetV1NotificationDeliveryLog method
func NewGetV1NotificationPreferenceByIDRequest ¶ added in v1.0.0
NewGetV1NotificationPreferenceByIDRequest constructs an http.Request for the GetV1NotificationPreferenceByID method
func NewGetV1NotificationPreferencesRequest ¶ added in v1.0.0
NewGetV1NotificationPreferencesRequest constructs an http.Request for the GetV1NotificationPreferences method
func NewGetV1OverviewRequest ¶ added in v1.0.0
func NewGetV1OverviewRequest(server string, params *GetV1OverviewParams) (*http.Request, error)
NewGetV1OverviewRequest constructs an http.Request for the GetV1Overview method
func NewGetV1ReportsErrorRequest ¶
func NewGetV1ReportsErrorRequest(server string, params *GetV1ReportsErrorParams) (*http.Request, error)
NewGetV1ReportsErrorRequest constructs an http.Request for the GetV1ReportsError method
func NewGetV1ReportsInventoryRequest ¶
func NewGetV1ReportsInventoryRequest(server string, params *GetV1ReportsInventoryParams) (*http.Request, error)
NewGetV1ReportsInventoryRequest constructs an http.Request for the GetV1ReportsInventory method
func NewGetV1RetentionPolicyRequest ¶ added in v1.0.0
NewGetV1RetentionPolicyRequest constructs an http.Request for the GetV1RetentionPolicy method
func NewGetV1TagsRequest ¶ added in v1.0.0
func NewGetV1TagsRequest(server string, params *GetV1TagsParams) (*http.Request, error)
NewGetV1TagsRequest constructs an http.Request for the GetV1Tags method
func NewGetV1XIDBurstDetailRequest ¶
NewGetV1XIDBurstDetailRequest constructs an http.Request for the GetV1XIDBurstDetail method
func NewGetV1XIDBurstOptionsRequest ¶
NewGetV1XIDBurstOptionsRequest constructs an http.Request for the GetV1XIDBurstOptions method
func NewGetV1XIDBurstsRequest ¶
func NewGetV1XIDBurstsRequest(server string, params *GetV1XIDBurstsParams) (*http.Request, error)
NewGetV1XIDBurstsRequest constructs an http.Request for the GetV1XIDBursts method
func NewGetV2CommandsRequest ¶ added in v1.0.0
NewGetV2CommandsRequest constructs an http.Request for the GetV2Commands method
func NewGetV2MetricsRequest ¶ added in v1.0.0
func NewGetV2MetricsRequest(server string, params *GetV2MetricsParams) (*http.Request, error)
NewGetV2MetricsRequest constructs an http.Request for the GetV2Metrics method
func NewGetWellKnownSigningKeyPubRequest ¶ added in v1.0.0
NewGetWellKnownSigningKeyPubRequest constructs an http.Request for the GetWellKnownSigningKeyPub method
func NewPatchV1TagsRequest ¶ added in v1.0.0
func NewPatchV1TagsRequest(server string, body PatchV1TagsJSONRequestBody) (*http.Request, error)
NewPatchV1TagsRequest calls the generic PatchV1Tags builder with application/json body
func NewPatchV1TagsRequestWithBody ¶ added in v1.0.0
func NewPatchV1TagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1TagsRequestWithBody constructs an http.Request for the PatchV1Tags method, with any body, and a specified content type
func NewPostV1NotificationPreferencesRequest ¶ added in v1.0.0
func NewPostV1NotificationPreferencesRequest(server string, body PostV1NotificationPreferencesJSONRequestBody) (*http.Request, error)
NewPostV1NotificationPreferencesRequest calls the generic PostV1NotificationPreferences builder with application/json body
func NewPostV1NotificationPreferencesRequestWithBody ¶ added in v1.0.0
func NewPostV1NotificationPreferencesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1NotificationPreferencesRequestWithBody constructs an http.Request for the PostV1NotificationPreferences method, with any body, and a specified content type
func NewPutV1AlertMuteRulesRequest ¶ added in v1.0.0
func NewPutV1AlertMuteRulesRequest(server string, body PutV1AlertMuteRulesJSONRequestBody) (*http.Request, error)
NewPutV1AlertMuteRulesRequest calls the generic PutV1AlertMuteRules builder with application/json body
func NewPutV1AlertMuteRulesRequestWithBody ¶ added in v1.0.0
func NewPutV1AlertMuteRulesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1AlertMuteRulesRequestWithBody constructs an http.Request for the PutV1AlertMuteRules method, with any body, and a specified content type
func NewPutV1ComputezonesRequest ¶
func NewPutV1ComputezonesRequest(server string, body PutV1ComputezonesJSONRequestBody) (*http.Request, error)
NewPutV1ComputezonesRequest calls the generic PutV1Computezones builder with application/json body
func NewPutV1ComputezonesRequestWithBody ¶
func NewPutV1ComputezonesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ComputezonesRequestWithBody constructs an http.Request for the PutV1Computezones method, with any body, and a specified content type
func NewPutV1NodeRemovalPolicyRequest ¶ added in v1.0.0
func NewPutV1NodeRemovalPolicyRequest(server string, body PutV1NodeRemovalPolicyJSONRequestBody) (*http.Request, error)
NewPutV1NodeRemovalPolicyRequest calls the generic PutV1NodeRemovalPolicy builder with application/json body
func NewPutV1NodeRemovalPolicyRequestWithBody ¶ added in v1.0.0
func NewPutV1NodeRemovalPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1NodeRemovalPolicyRequestWithBody constructs an http.Request for the PutV1NodeRemovalPolicy method, with any body, and a specified content type
func NewPutV1NodesNodeUuidTagsRequest ¶
func NewPutV1NodesNodeUuidTagsRequest(server string, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody) (*http.Request, error)
NewPutV1NodesNodeUuidTagsRequest calls the generic PutV1NodesNodeUuidTags builder with application/json body
func NewPutV1NodesNodeUuidTagsRequestWithBody ¶
func NewPutV1NodesNodeUuidTagsRequestWithBody(server string, nodeUUID string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1NodesNodeUuidTagsRequestWithBody constructs an http.Request for the PutV1NodesNodeUuidTags method, with any body, and a specified content type
func NewPutV1NotificationPreferenceByIDRequest ¶ added in v1.0.0
func NewPutV1NotificationPreferenceByIDRequest(server string, id string, body PutV1NotificationPreferenceByIDJSONRequestBody) (*http.Request, error)
NewPutV1NotificationPreferenceByIDRequest calls the generic PutV1NotificationPreferenceByID builder with application/json body
func NewPutV1NotificationPreferenceByIDRequestWithBody ¶ added in v1.0.0
func NewPutV1NotificationPreferenceByIDRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1NotificationPreferenceByIDRequestWithBody constructs an http.Request for the PutV1NotificationPreferenceByID method, with any body, and a specified content type
func NewPutV1RetentionPolicyRequest ¶ added in v1.0.0
func NewPutV1RetentionPolicyRequest(server string, body PutV1RetentionPolicyJSONRequestBody) (*http.Request, error)
NewPutV1RetentionPolicyRequest calls the generic PutV1RetentionPolicy builder with application/json body
func NewPutV1RetentionPolicyRequestWithBody ¶ added in v1.0.0
func NewPutV1RetentionPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1RetentionPolicyRequestWithBody constructs an http.Request for the PutV1RetentionPolicy method, with any body, and a specified content type
Types ¶
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteV1AlertMuteRules ¶ added in v1.0.0
func (c *Client) DeleteV1AlertMuteRules(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1AlertMuteRules Delete mute rules
Delete mute rules for a specific component, or delete all mute rules for the customer. With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component. Without body: deletes ALL mute rules for the customer.
Takes a body of the `application/json` content type.
Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
func (*Client) DeleteV1AlertMuteRulesWithBody ¶ added in v1.0.0
func (c *Client) DeleteV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1AlertMuteRulesWithBody Delete mute rules
Delete mute rules for a specific component, or delete all mute rules for the customer. With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component. Without body: deletes ALL mute rules for the customer.
Takes any type of body and a specified content type.
Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
func (*Client) DeleteV1Nodes ¶
func (c *Client) DeleteV1Nodes(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1Nodes Delete multiple nodes (soft delete)
Soft delete multiple nodes by setting the deleted flag to true.
Takes a body of the `application/json` content type.
Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
func (*Client) DeleteV1NodesNodeUuid ¶
func (c *Client) DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1NodesNodeUuid Delete a node (soft delete)
Soft delete a node by setting the deleted flag to true.
Corresponds with DELETE /v1/nodes/{nodeUUID} (the `DeleteV1NodesNodeUuid` operationId).
func (*Client) DeleteV1NodesWithBody ¶
func (c *Client) DeleteV1NodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1NodesWithBody Delete multiple nodes (soft delete)
Soft delete multiple nodes by setting the deleted flag to true.
Takes any type of body and a specified content type.
Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
func (*Client) DeleteV1NotificationPreferenceByID ¶ added in v1.0.0
func (c *Client) DeleteV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1NotificationPreferenceByID Delete a notification preference by id
Corresponds with DELETE /v1/notification_preferences/{id} (the `DeleteV1NotificationPreferenceByID` operationId).
func (*Client) GetV1AlertMuteRules ¶ added in v1.0.0
func (c *Client) GetV1AlertMuteRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AlertMuteRules List mute rules
Get all customer-wide mute rules grouped by component. Each component shows which severities (Critical, Warning) are muted.
Corresponds with GET /v1/alert_mute_rules (the `GetV1AlertMuteRules` operationId).
func (*Client) GetV1AlertTimelineFilterOptions ¶ added in v1.0.0
func (c *Client) GetV1AlertTimelineFilterOptions(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AlertTimelineFilterOptions Get filter dropdown options for the alert panel
Get the set of filter values (GPU types, node groups, compute zones, component types, alert states) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. Every value is scoped to the customer's alerts in the chosen view, so each option is guaranteed to return results when applied as a filter. Use the 'active' parameter to switch between the Active and Historical views; the historical view may additionally surface the Resolved alert state. Object-valued options ({id, value}) carry the filter id and its display value (node group / compute zone ids and names; component identifier and display name); gpuTypes and alertStates are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is resolved server-side from the caller's persona.
Corresponds with GET /v1/alert_timeline/filter_options (the `GetV1AlertTimelineFilterOptions` operationId).
func (*Client) GetV1AlertTimelineNodes ¶
func (c *Client) GetV1AlertTimelineNodes(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AlertTimelineNodes List impacted machines with alert summary (level 1)
Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. Use active=true for the Active Alerts view (only nodes with currently active alerts) or active=false for Historical Alerts. Cross-page aggregates (totalCritical, totalWarning, distinctGpuTypeCount, etc.) reflect the full filtered result set and drive table header counts. componentVisibility is resolved server-side from the user's auth persona and is not an HTTP parameter.
Corresponds with GET /v1/alert_timeline/nodes (the `GetV1AlertTimelineNodes` operationId).
func (*Client) GetV1AlertTimelineNodesNodeUuidAlerts ¶
func (c *Client) GetV1AlertTimelineNodesNodeUuidAlerts(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AlertTimelineNodesNodeUuidAlerts Get alerts for a specific node (level 2)
Get list of alerts for a specific node. Returns alert UUID, component, alert status, start time, and last event time. Use the 'active' parameter to switch between active and historical views. The sortable table-header columns and the filter dimensions mirror the Level 1 nodes list, so the panel can forward the same filter set unchanged.
Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts (the `GetV1AlertTimelineNodesNodeUuidAlerts` operationId).
func (*Client) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid ¶
func (c *Client) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid Get complete timeline for a specific alert (level 3)
Get complete timeline for a specific alert. Returns alert UUID, component, current alertStatus, nodeGroup, computeZone, and complete event timeline. This is the third level of the progressive disclosure API for alert timelines. Events default to newest-first (most recent update first); pass order=asc for chronological (oldest-first) order. Pagination of the timeline events is optional and backward compatible: omit pageSize to receive the full timeline (default); supply pageSize to page through the events, in which case the response also carries page/pageSize/total/hasMore metadata.
Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts/{alertUUID} (the `GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid` operationId).
func (*Client) GetV1Alerts ¶
func (c *Client) GetV1Alerts(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Alerts Get alerts
Get list of alerts with optional filtering by node, component, state, and severity ¶
Corresponds with GET /v1/alerts (the `GetV1Alerts` operationId).
func (*Client) GetV1AlertsNodeUuid ¶
func (c *Client) GetV1AlertsNodeUuid(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AlertsNodeUuid Get alerts for a specific node
Get list of alerts for a specific node (machine) identified by nodeUUID, grouped by component ¶
Corresponds with GET /v1/alerts/{nodeUUID} (the `GetV1AlertsNodeUuid` operationId).
func (*Client) GetV1AuthStatus ¶ added in v1.0.0
func (c *Client) GetV1AuthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1AuthStatus Get authentication status
Returns whether the request reached the backend through the authenticated KAS path.
Corresponds with GET /v1/auth/status (the `GetV1AuthStatus` operationId).
func (*Client) GetV1Computezones ¶
func (c *Client) GetV1Computezones(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Computezones Get compute zones
Get list of compute zones with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for essential fields (ID, Name, Type, GeoLocation, Contact, timestamps)
Corresponds with GET /v1/computezones (the `GetV1Computezones` operationId).
func (*Client) GetV1Events ¶ added in v1.0.0
func (c *Client) GetV1Events(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Events Get events
Get list of events with optional filtering by node UUID, component, and time range. Returns events from the events table for the specified time period.
Corresponds with GET /v1/events (the `GetV1Events` operationId).
func (*Client) GetV1EventsBuckets ¶ added in v1.0.0
func (c *Client) GetV1EventsBuckets(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1EventsBuckets Get event counts bucketed by time
Returns time-bucketed event counts for histogram display. The server picks a clean bucket interval based on the maxBuckets hint.
Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
func (*Client) GetV1Info ¶ added in v1.0.0
func (c *Client) GetV1Info(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Info Get application info
Get version and build information for API backend and agent backend components, plus the current inventory-report signing key's rotation freshness.
Corresponds with GET /v1/info (the `GetV1Info` operationId).
func (*Client) GetV1Metrics ¶ added in v1.0.0
func (c *Client) GetV1Metrics(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Metrics Get available metrics
Get a list of all available metrics, organized by component. Supports optional filtering by isCritical, aggregatable, and type. Unknown or false values for boolean params are treated as no filter. Use psirtComponent=true to include active PSIRT CVE sub-components under the "psirt" component.
Corresponds with GET /v1/metrics (the `GetV1Metrics` operationId).
func (*Client) GetV1MetricsQueryRange ¶ added in v1.0.0
func (c *Client) GetV1MetricsQueryRange(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1MetricsQueryRange Query metric range
Query data for a particular metric for a node, node group, or compute zone over a range of time ¶
Corresponds with GET /v1/metrics/query_range (the `GetV1MetricsQueryRange` operationId).
func (*Client) GetV1NodeGroupMemberships ¶ added in v1.0.0
func (c *Client) GetV1NodeGroupMemberships(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodeGroupMemberships Get node group memberships
Get list of node group memberships with optional filtering. Customer ID is automatically extracted from the NV-ngc-nca-id header and used for filtering.
Corresponds with GET /v1/node_group_memberships (the `GetV1NodeGroupMemberships` operationId).
func (*Client) GetV1NodeRemovalPolicy ¶ added in v1.0.0
func (c *Client) GetV1NodeRemovalPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodeRemovalPolicy Get auto node removal policy
Returns the customer's "Auto remove machines" settings. Customers that never configured the policy get the defaults (disabled, offlineThreshold omitted).
Corresponds with GET /v1/node_removal_policy (the `GetV1NodeRemovalPolicy` operationId).
func (*Client) GetV1Nodegroups ¶
func (c *Client) GetV1Nodegroups(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Nodegroups Get node groups
Get list of node groups with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for minimal ID/Name list. Detail view supports additional filters: computeZoneNames (partial match), healthStatuses, and gpuTypes
Corresponds with GET /v1/nodegroups (the `GetV1Nodegroups` operationId).
func (*Client) GetV1NodegroupsOptions ¶
func (c *Client) GetV1NodegroupsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodegroupsOptions Get available query options for node groups
Returns available filters and sorting options for querying node groups. Filter options may be simple strings (e.g., health statuses, GPU types) or hierarchical objects (e.g., compute zones with nested nodegroups).
Filter options examples: - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}` - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
Corresponds with GET /v1/nodegroups/options (the `GetV1NodegroupsOptions` operationId).
func (*Client) GetV1Nodes ¶
func (c *Client) GetV1Nodes(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Nodes Get nodes overview and states
Get list of nodes with current state and overview. Use view=detail (default) for full response or view=basic for a lightweight nodeUUID + hostname list (see models.BasicNodesResponse). All filter parameters are optional arrays - empty means no filter applied.
Corresponds with GET /v1/nodes (the `GetV1Nodes` operationId).
func (*Client) GetV1NodesHistory ¶ added in v1.0.0
func (c *Client) GetV1NodesHistory(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodesHistory List node removal history
Returns removed machines for the customer, newest first. Covers both auto-removed (actorType system, deleted by the node reaper) and manually deleted (actorType user) nodes. The same machine may appear multiple times across remove/re-enroll cycles.
Corresponds with GET /v1/nodes/history (the `GetV1NodesHistory` operationId).
func (*Client) GetV1NodesNodeUuid ¶
func (c *Client) GetV1NodesNodeUuid(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodesNodeUuid Get detailed node information
Get detailed information about a specific node including resources, system info, and health status ¶
Corresponds with GET /v1/nodes/{nodeUUID} (the `GetV1NodesNodeUuid` operationId).
func (*Client) GetV1NodesNodeUuidHealthHistory ¶
func (c *Client) GetV1NodesNodeUuidHealthHistory(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodesNodeUuidHealthHistory Get node health history
Returns the health status timeline and summary for a node over a time window.
Corresponds with GET /v1/nodes/{nodeUUID}/health_history (the `GetV1NodesNodeUuidHealthHistory` operationId).
func (*Client) GetV1NodesOptions ¶
func (c *Client) GetV1NodesOptions(ctx context.Context, params *GetV1NodesOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NodesOptions Get available query options for nodes
Returns available filters and sorting options for querying nodes. Filter options may be simple strings (e.g., health statuses) or hierarchical objects (e.g., compute zones with nested nodegroups).
Filter options examples: - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}` - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
The available options depend on the agentType view. The OOB view omits the gpuTypes filter and the GPU/kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes.
Corresponds with GET /v1/nodes/options (the `GetV1NodesOptions` operationId).
func (*Client) GetV1NotificationDeliveryLog ¶ added in v1.0.0
func (c *Client) GetV1NotificationDeliveryLog(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NotificationDeliveryLog List notification delivery logs
Get paginated notification delivery log entries for the customer, with optional filtering by component, channel, status, alertUUID, and time range.
Corresponds with GET /v1/notification_delivery_log (the `GetV1NotificationDeliveryLog` operationId).
func (*Client) GetV1NotificationPreferenceByID ¶ added in v1.0.0
func (c *Client) GetV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NotificationPreferenceByID Get a notification preference by id
Corresponds with GET /v1/notification_preferences/{id} (the `GetV1NotificationPreferenceByID` operationId).
func (*Client) GetV1NotificationPreferences ¶ added in v1.0.0
func (c *Client) GetV1NotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1NotificationPreferences List notification preferences
Get all notification preferences for the customer. The public resource name remains preferences for compatibility, but each preference is now id-addressable and applies one configuration (alert statuses, scope, and notification targets) to a set of components. Multiple preferences may cover the same component. Returns an empty list if none are configured.
Corresponds with GET /v1/notification_preferences (the `GetV1NotificationPreferences` operationId).
func (*Client) GetV1Overview ¶ added in v1.0.0
func (c *Client) GetV1Overview(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Overview Get overview
Get overview of the system.
Corresponds with GET /v1/overview (the `GetV1Overview` operationId).
func (*Client) GetV1ReportsError ¶
func (c *Client) GetV1ReportsError(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ReportsError Get error report
Get error report grouped by error type or node in JSON or CSV format. Default response is JSON. For CSV download (list view only), set format=csv query parameter. Response structure varies based on view and groupBy parameters: - When view=list and groupBy=error: The 'errors' field is populated with paginated list - When view=list and groupBy=node: The 'nodes' field is populated with paginated list - When view=graph and groupBy=error: Returns time-series data with optional step parameter (page and pageSize not used) - When view=overview: Returns aggregate statistics (groupBy parameter not required, page and pageSize not used)
Corresponds with GET /v1/reports/error (the `GetV1ReportsError` operationId).
func (*Client) GetV1ReportsInventory ¶
func (c *Client) GetV1ReportsInventory(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ReportsInventory Get inventory report
Get inventory report in JSON or CSV format. Default response is JSON. For CSV download, set format=csv. For a signed CSV bundle (CSV plus a cosign-verifiable signature, packaged as a zip), set format=csv and signed=true. Each node includes enrolledAt (original enrollment time, preserved across re-enrollment) and removedAt (soft-delete time for removed nodes, manual and auto-removed alike; absent for active nodes).
Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
func (*Client) GetV1RetentionPolicy ¶ added in v1.0.0
func (c *Client) GetV1RetentionPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1RetentionPolicy Get data retention policy
Returns the customer's current data retention policy (retention period in days).
Corresponds with GET /v1/retention_policy (the `GetV1RetentionPolicy` operationId).
func (*Client) GetV1Tags ¶ added in v1.0.0
func (c *Client) GetV1Tags(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Tags List all unique tags
Returns all unique tags for the customer with optional filtering. Supports filtering by prefix, node UUID, node group ID, or compute zone ID. At most one of nodeUUID, nodeGroupId, or computeZoneId can be specified. Prefix can be combined with any of the other filters.
Corresponds with GET /v1/tags (the `GetV1Tags` operationId).
func (*Client) GetV1XIDBurstDetail ¶
func (c *Client) GetV1XIDBurstDetail(ctx context.Context, burstId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1XIDBurstDetail Get finalized XID burst details
Returns the side-panel details for one finalized burst belonging to the authenticated customer. Response fields are shaped server-side from the caller's persona. Tenants receive the public job-disruption value, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, platform-attributed disruption, XID catalog descriptions, and all tenant plus DC-admin actions. Suggested action text is resolved from the persona-appropriate Guidance Classes catalog. The response includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs).
Corresponds with GET /v1/xid/bursts/{burstId} (the `GetV1XIDBurstDetail` operationId).
func (*Client) GetV1XIDBurstOptions ¶
func (c *Client) GetV1XIDBurstOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1XIDBurstOptions Get XID burst filter options
Returns all filter options available to the authenticated customer and persona. Options are not narrowed by the table's current time, scope, or column filters. This v1 response contains no counts and has no cross-filter impact-count behavior. Tenant callers receive public disruption values, XIDs, and tenant actions. Cloud-provider/NCP callers additionally receive platform-disruption values, categories, subcategories, and DC-admin actions. suggestedActions uses the shared action model; clients group it by persona and type. Category and action labels are resolved from the persona-appropriate catalogs. jobDisruption and jobDisruptionDueToPlatformIssue are always the full [true, false] domain. XID numbers, categories, subcategories, and suggestedActions reflect the distinct values actually present across the customer's finalized bursts (still unfiltered by the current table filters). Action codes are alias-normalized and de-duplicated after normalization, matching GET /v1/xid/bursts. Hostname filtering uses the free-text hostnameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list.
Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
func (*Client) GetV1XIDBursts ¶
func (c *Client) GetV1XIDBursts(ctx context.Context, params *GetV1XIDBurstsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1XIDBursts List finalized XID bursts
Returns the flat finalized-burst table for the authenticated customer. Results default to startTime descending (latest first), with burstId descending as the stable pagination tie-breaker. The selected time range applies to burst start time using [startTime, endTime) and is required, matching GET /v1/events. Relative mode requires timeMode=relative and a positive Go duration window; absolute mode (default) requires startTime and endTime. Do not combine window with startTime/endTime. Absolute endTime must be after startTime. Node-group and compute-zone filters use customer-scoped UUIDs, matching the node and alert APIs. Values are OR-combined within each dimension and AND-combined across dimensions. Exclusion filters select every assignment except the supplied IDs and cannot be combined with the inclusive filter for the same dimension. Filter option IDs and labels are available from GET /v1/nodes/options. Bursts on soft-deleted nodes are never returned. Multiple xidNumbers are OR-combined: a burst matches if it contains any of the requested XIDs (including bursts that contain only one of them, or both). String search parameters are case-insensitive substring filters. Categories, subcategories, and action-code array parameters (e.g. tenantActions) are exact-match checkbox-style filters, OR-combined within the same parameter; their values come from GET /v1/xid/bursts/options. All filters across different columns/parameters are AND-combined, including a *Search param and its exact-match sibling. Action filters and searches match catalog action codes (not Guidance Classes text) and expand public alias codes (e.g. CONTACT_SUPPORT) to the raw DB forms they replace (RETURN_TO_PROVIDER, PULL_FROM_SERVICE), so options-published codes match stored bursts. Response fields are shaped server-side from the caller's persona. Tenants receive jobDisruption, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, jobDisruptionDueToPlatformIssue, XID catalog descriptions, and DC-admin actions. Action text is resolved from the persona-appropriate Guidance Classes catalog. Each item includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs), matching alert timeline Level 1 inventory enrichment.
Corresponds with GET /v1/xid/bursts (the `GetV1XIDBursts` operationId).
func (*Client) GetV2Commands ¶ added in v1.0.0
func (c *Client) GetV2Commands(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV2Commands Get commands (v2)
Get list of commands (v2).
Corresponds with GET /v2/commands (the `GetV2Commands` operationId).
func (*Client) GetV2Metrics ¶ added in v1.0.0
func (c *Client) GetV2Metrics(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV2Metrics Get aggregated metrics with time series for any aggregation level
Returns historical chart data for customer, node group, compute zone, or node level. The service selects the appropriate query path for each metric and aggregation level. Aggregation functions are determined by metric configuration in base-config.yaml.
Corresponds with GET /v2/metrics (the `GetV2Metrics` operationId).
func (*Client) GetWellKnownSigningKeyPub ¶ added in v1.0.0
func (c *Client) GetWellKnownSigningKeyPub(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWellKnownSigningKeyPub Get inventory-report public verification key
Returns NVIDIA's currently-active public key for verifying signed inventory reports. Use with `cosign verify-blob --key signing-key.pub --bundle <file>.sig.bundle <file>.csv`. The key is PEM-encoded (PKIX SubjectPublicKeyInfo). After a key rotation this URL serves the new key; reports signed under previous keys cease to verify and customers must re-download.
Corresponds with GET /.well-known/signing-key.pub (the `GetWellKnownSigningKeyPub` operationId).
func (*Client) PatchV1Tags ¶ added in v1.0.0
func (c *Client) PatchV1Tags(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1Tags Batch update tags for multiple nodes
Add and/or remove tags for multiple nodes in a single atomic operation. Returns 204 No Content on success. Fails if all nodes are invalid.
Tag Validation Rules (applies to tags being added): - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
func (*Client) PatchV1TagsWithBody ¶ added in v1.0.0
func (c *Client) PatchV1TagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1TagsWithBody Batch update tags for multiple nodes
Add and/or remove tags for multiple nodes in a single atomic operation. Returns 204 No Content on success. Fails if all nodes are invalid.
Tag Validation Rules (applies to tags being added): - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
func (*Client) PostV1NotificationPreferences ¶ added in v1.0.0
func (c *Client) PostV1NotificationPreferences(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1NotificationPreferences Create a notification preference
Create a notification preference. The public path remains notification_preferences for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope, notification targets) to one or more components. The settings apply equally to every component listed. To give a component different settings, create a separate preference.
notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved. If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
Channel config structures: - email: {"recipients": ["addr@example.com", ...]} (at least one required) - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required) - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
Takes a body of the `application/json` content type.
Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
func (*Client) PostV1NotificationPreferencesWithBody ¶ added in v1.0.0
func (c *Client) PostV1NotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1NotificationPreferencesWithBody Create a notification preference
Create a notification preference. The public path remains notification_preferences for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope, notification targets) to one or more components. The settings apply equally to every component listed. To give a component different settings, create a separate preference.
notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved. If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
Channel config structures: - email: {"recipients": ["addr@example.com", ...]} (at least one required) - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required) - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
Takes any type of body and a specified content type.
Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
func (*Client) PutV1AlertMuteRules ¶ added in v1.0.0
func (c *Client) PutV1AlertMuteRules(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1AlertMuteRules Update mute rule for a component
Declarative per-component update: set this component to exactly the specified severities. If severities is empty or omitted, defaults to both Critical and Warning. This replaces any existing mute configuration for the component. Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
func (*Client) PutV1AlertMuteRulesWithBody ¶ added in v1.0.0
func (c *Client) PutV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1AlertMuteRulesWithBody Update mute rule for a component
Declarative per-component update: set this component to exactly the specified severities. If severities is empty or omitted, defaults to both Critical and Warning. This replaces any existing mute configuration for the component. Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
func (*Client) PutV1Computezones ¶
func (c *Client) PutV1Computezones(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1Computezones Update compute zone
Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
func (*Client) PutV1ComputezonesWithBody ¶
func (c *Client) PutV1ComputezonesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ComputezonesWithBody Update compute zone
Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
func (*Client) PutV1NodeRemovalPolicy ¶ added in v1.0.0
func (c *Client) PutV1NodeRemovalPolicy(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1NodeRemovalPolicy Update auto node removal policy
Updates the customer's "Auto remove machines" settings. When offlineThreshold is omitted the stored threshold is kept (disabling never clears it), so it is required only when enabling for the first time. The equivalent duration must be at least 1 day (whole numbers). An omitted enabled binds as false. Returns 204 No Content on success.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
func (*Client) PutV1NodeRemovalPolicyWithBody ¶ added in v1.0.0
func (c *Client) PutV1NodeRemovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1NodeRemovalPolicyWithBody Update auto node removal policy
Updates the customer's "Auto remove machines" settings. When offlineThreshold is omitted the stored threshold is kept (disabling never clears it), so it is required only when enabling for the first time. The equivalent duration must be at least 1 day (whole numbers). An omitted enabled binds as false. Returns 204 No Content on success.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
func (*Client) PutV1NodesNodeUuidTags ¶
func (c *Client) PutV1NodesNodeUuidTags(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1NodesNodeUuidTags Set all tags for a node
Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
Tag Validation Rules: - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
func (*Client) PutV1NodesNodeUuidTagsWithBody ¶
func (c *Client) PutV1NodesNodeUuidTagsWithBody(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1NodesNodeUuidTagsWithBody Set all tags for a node
Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
Tag Validation Rules: - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Takes any type of body and a specified content type.
Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
func (*Client) PutV1NotificationPreferenceByID ¶ added in v1.0.0
func (c *Client) PutV1NotificationPreferenceByID(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1NotificationPreferenceByID Update a notification preference
Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
func (*Client) PutV1NotificationPreferenceByIDWithBody ¶ added in v1.0.0
func (c *Client) PutV1NotificationPreferenceByIDWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1NotificationPreferenceByIDWithBody Update a notification preference
Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
func (*Client) PutV1RetentionPolicy ¶ added in v1.0.0
func (c *Client) PutV1RetentionPolicy(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1RetentionPolicy Update data retention policy
Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
func (*Client) PutV1RetentionPolicyWithBody ¶ added in v1.0.0
func (c *Client) PutV1RetentionPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1RetentionPolicyWithBody Update data retention policy
Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetWellKnownSigningKeyPub Get inventory-report public verification key
//
// Returns NVIDIA's currently-active public key for verifying signed inventory reports. Use with `cosign verify-blob --key signing-key.pub --bundle <file>.sig.bundle <file>.csv`. The key is PEM-encoded (PKIX SubjectPublicKeyInfo). After a key rotation this URL serves the new key; reports signed under previous keys cease to verify and customers must re-download.
//
// Corresponds with GET /.well-known/signing-key.pub (the `GetWellKnownSigningKeyPub` operationId).
GetWellKnownSigningKeyPub(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1AlertMuteRulesWithBody Delete mute rules
//
// Delete mute rules for a specific component, or delete all mute rules for the customer.
// With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component.
// Without body: deletes ALL mute rules for the customer.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
DeleteV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1AlertMuteRules Delete mute rules
//
// Delete mute rules for a specific component, or delete all mute rules for the customer.
// With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component.
// Without body: deletes ALL mute rules for the customer.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
DeleteV1AlertMuteRules(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AlertMuteRules List mute rules
//
// Get all customer-wide mute rules grouped by component. Each component shows which severities (Critical, Warning) are muted.
//
// Corresponds with GET /v1/alert_mute_rules (the `GetV1AlertMuteRules` operationId).
GetV1AlertMuteRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1AlertMuteRulesWithBody Update mute rule for a component
//
// Declarative per-component update: set this component to exactly the specified severities.
// If severities is empty or omitted, defaults to both Critical and Warning.
// This replaces any existing mute configuration for the component.
// Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
PutV1AlertMuteRulesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1AlertMuteRules Update mute rule for a component
//
// Declarative per-component update: set this component to exactly the specified severities.
// If severities is empty or omitted, defaults to both Critical and Warning.
// This replaces any existing mute configuration for the component.
// Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
PutV1AlertMuteRules(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AlertTimelineFilterOptions Get filter dropdown options for the alert panel
//
// Get the set of filter values (GPU types, node groups, compute zones, component types, alert states) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. Every value is scoped to the customer's alerts in the chosen view, so each option is guaranteed to return results when applied as a filter. Use the 'active' parameter to switch between the Active and Historical views; the historical view may additionally surface the Resolved alert state. Object-valued options ({id, value}) carry the filter id and its display value (node group / compute zone ids and names; component identifier and display name); gpuTypes and alertStates are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is resolved server-side from the caller's persona.
//
// Corresponds with GET /v1/alert_timeline/filter_options (the `GetV1AlertTimelineFilterOptions` operationId).
GetV1AlertTimelineFilterOptions(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AlertTimelineNodes List impacted machines with alert summary (level 1)
//
// Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. Use active=true for the Active Alerts view (only nodes with currently active alerts) or active=false for Historical Alerts. Cross-page aggregates (totalCritical, totalWarning, distinctGpuTypeCount, etc.) reflect the full filtered result set and drive table header counts. componentVisibility is resolved server-side from the user's auth persona and is not an HTTP parameter.
//
// Corresponds with GET /v1/alert_timeline/nodes (the `GetV1AlertTimelineNodes` operationId).
GetV1AlertTimelineNodes(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AlertTimelineNodesNodeUuidAlerts Get alerts for a specific node (level 2)
//
// Get list of alerts for a specific node. Returns alert UUID, component, alert status, start time, and last event time. Use the 'active' parameter to switch between active and historical views. The sortable table-header columns and the filter dimensions mirror the Level 1 nodes list, so the panel can forward the same filter set unchanged.
//
// Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts (the `GetV1AlertTimelineNodesNodeUuidAlerts` operationId).
GetV1AlertTimelineNodesNodeUuidAlerts(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid Get complete timeline for a specific alert (level 3)
//
// Get complete timeline for a specific alert. Returns alert UUID, component, current alertStatus, nodeGroup, computeZone, and complete event timeline. This is the third level of the progressive disclosure API for alert timelines. Events default to newest-first (most recent update first); pass order=asc for chronological (oldest-first) order. Pagination of the timeline events is optional and backward compatible: omit pageSize to receive the full timeline (default); supply pageSize to page through the events, in which case the response also carries page/pageSize/total/hasMore metadata.
//
// Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts/{alertUUID} (the `GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid` operationId).
GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Alerts Get alerts
//
// Get list of alerts with optional filtering by node, component, state, and severity
//
// Corresponds with GET /v1/alerts (the `GetV1Alerts` operationId).
GetV1Alerts(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AlertsNodeUuid Get alerts for a specific node
//
// Get list of alerts for a specific node (machine) identified by nodeUUID, grouped by component
//
// Corresponds with GET /v1/alerts/{nodeUUID} (the `GetV1AlertsNodeUuid` operationId).
GetV1AlertsNodeUuid(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1AuthStatus Get authentication status
//
// Returns whether the request reached the backend through the authenticated KAS path.
//
// Corresponds with GET /v1/auth/status (the `GetV1AuthStatus` operationId).
GetV1AuthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Computezones Get compute zones
//
// Get list of compute zones with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for essential fields (ID, Name, Type, GeoLocation, Contact, timestamps)
//
// Corresponds with GET /v1/computezones (the `GetV1Computezones` operationId).
GetV1Computezones(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ComputezonesWithBody Update compute zone
//
// Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
PutV1ComputezonesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1Computezones Update compute zone
//
// Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
PutV1Computezones(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Events Get events
//
// Get list of events with optional filtering by node UUID, component, and time range. Returns events from the events table for the specified time period.
//
// Corresponds with GET /v1/events (the `GetV1Events` operationId).
GetV1Events(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1EventsBuckets Get event counts bucketed by time
//
// Returns time-bucketed event counts for histogram display. The server picks a clean bucket interval based on the maxBuckets hint.
//
// Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
GetV1EventsBuckets(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Info Get application info
//
// Get version and build information for API backend and agent backend components, plus the current inventory-report signing key's rotation freshness.
//
// Corresponds with GET /v1/info (the `GetV1Info` operationId).
GetV1Info(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Metrics Get available metrics
//
// Get a list of all available metrics, organized by component. Supports optional filtering by isCritical, aggregatable, and type. Unknown or false values for boolean params are treated as no filter.
// Use psirtComponent=true to include active PSIRT CVE sub-components under the "psirt" component.
//
// Corresponds with GET /v1/metrics (the `GetV1Metrics` operationId).
GetV1Metrics(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1MetricsQueryRange Query metric range
//
// Query data for a particular metric for a node, node group, or compute zone over a range of time
//
// Corresponds with GET /v1/metrics/query_range (the `GetV1MetricsQueryRange` operationId).
GetV1MetricsQueryRange(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodeGroupMemberships Get node group memberships
//
// Get list of node group memberships with optional filtering. Customer ID is automatically extracted from the NV-ngc-nca-id header and used for filtering.
//
// Corresponds with GET /v1/node_group_memberships (the `GetV1NodeGroupMemberships` operationId).
GetV1NodeGroupMemberships(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodeRemovalPolicy Get auto node removal policy
//
// Returns the customer's "Auto remove machines" settings. Customers that never
// configured the policy get the defaults (disabled, offlineThreshold omitted).
//
// Corresponds with GET /v1/node_removal_policy (the `GetV1NodeRemovalPolicy` operationId).
GetV1NodeRemovalPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1NodeRemovalPolicyWithBody Update auto node removal policy
//
// Updates the customer's "Auto remove machines" settings. When offlineThreshold
// is omitted the stored threshold is kept (disabling never clears it), so it is
// required only when enabling for the first time. The equivalent duration must be
// at least 1 day (whole numbers). An omitted enabled binds as false.
// Returns 204 No Content on success.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
PutV1NodeRemovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1NodeRemovalPolicy Update auto node removal policy
//
// Updates the customer's "Auto remove machines" settings. When offlineThreshold
// is omitted the stored threshold is kept (disabling never clears it), so it is
// required only when enabling for the first time. The equivalent duration must be
// at least 1 day (whole numbers). An omitted enabled binds as false.
// Returns 204 No Content on success.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
PutV1NodeRemovalPolicy(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Nodegroups Get node groups
//
// Get list of node groups with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for minimal ID/Name list. Detail view supports additional filters: computeZoneNames (partial match), healthStatuses, and gpuTypes
//
// Corresponds with GET /v1/nodegroups (the `GetV1Nodegroups` operationId).
GetV1Nodegroups(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodegroupsOptions Get available query options for node groups
//
// Returns available filters and sorting options for querying node groups.
// Filter options may be simple strings (e.g., health statuses, GPU types) or hierarchical objects (e.g., compute zones with nested nodegroups).
//
// Filter options examples:
// - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}`
// - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
//
// Corresponds with GET /v1/nodegroups/options (the `GetV1NodegroupsOptions` operationId).
GetV1NodegroupsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1NodesWithBody Delete multiple nodes (soft delete)
//
// Soft delete multiple nodes by setting the deleted flag to true.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
DeleteV1NodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1Nodes Delete multiple nodes (soft delete)
//
// Soft delete multiple nodes by setting the deleted flag to true.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
DeleteV1Nodes(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Nodes Get nodes overview and states
//
// Get list of nodes with current state and overview. Use view=detail (default) for full response or view=basic for a lightweight nodeUUID + hostname list (see models.BasicNodesResponse). All filter parameters are optional arrays - empty means no filter applied.
//
// Corresponds with GET /v1/nodes (the `GetV1Nodes` operationId).
GetV1Nodes(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodesHistory List node removal history
//
// Returns removed machines for the customer, newest first. Covers both
// auto-removed (actorType system, deleted by the node reaper) and manually
// deleted (actorType user) nodes. The same machine may appear multiple times
// across remove/re-enroll cycles.
//
// Corresponds with GET /v1/nodes/history (the `GetV1NodesHistory` operationId).
GetV1NodesHistory(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodesOptions Get available query options for nodes
//
// Returns available filters and sorting options for querying nodes.
// Filter options may be simple strings (e.g., health statuses) or hierarchical objects (e.g., compute zones with nested nodegroups).
//
// Filter options examples:
// - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}`
// - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
//
// The available options depend on the agentType view. The OOB view omits the gpuTypes filter and the GPU/kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes.
//
// Corresponds with GET /v1/nodes/options (the `GetV1NodesOptions` operationId).
GetV1NodesOptions(ctx context.Context, params *GetV1NodesOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1NodesNodeUuid Delete a node (soft delete)
//
// Soft delete a node by setting the deleted flag to true.
//
// Corresponds with DELETE /v1/nodes/{nodeUUID} (the `DeleteV1NodesNodeUuid` operationId).
DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodesNodeUuid Get detailed node information
//
// Get detailed information about a specific node including resources, system info, and health status
//
// Corresponds with GET /v1/nodes/{nodeUUID} (the `GetV1NodesNodeUuid` operationId).
GetV1NodesNodeUuid(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodesNodeUuidHealthHistory Get node health history
//
// Returns the health status timeline and summary for a node over a time window.
//
// Corresponds with GET /v1/nodes/{nodeUUID}/health_history (the `GetV1NodesNodeUuidHealthHistory` operationId).
GetV1NodesNodeUuidHealthHistory(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1NodesNodeUuidTagsWithBody Set all tags for a node
//
// Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
//
// Tag Validation Rules:
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
PutV1NodesNodeUuidTagsWithBody(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1NodesNodeUuidTags Set all tags for a node
//
// Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
//
// Tag Validation Rules:
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
PutV1NodesNodeUuidTags(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NotificationDeliveryLog List notification delivery logs
//
// Get paginated notification delivery log entries for the customer, with optional filtering
// by component, channel, status, alertUUID, and time range.
//
// Corresponds with GET /v1/notification_delivery_log (the `GetV1NotificationDeliveryLog` operationId).
GetV1NotificationDeliveryLog(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NotificationPreferences List notification preferences
//
// Get all notification preferences for the customer. The public resource name remains preferences for compatibility,
// but each preference is now id-addressable and applies one configuration
// (alert statuses, scope, and notification targets) to a set of components. Multiple
// preferences may cover the same component. Returns an empty list if none are configured.
//
// Corresponds with GET /v1/notification_preferences (the `GetV1NotificationPreferences` operationId).
GetV1NotificationPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1NotificationPreferencesWithBody Create a notification preference
//
// Create a notification preference. The public path remains notification_preferences
// for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope,
// notification targets) to one or more components. The settings apply equally to every
// component listed. To give a component different settings, create a separate preference.
//
// notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved.
// If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
//
// Channel config structures:
// - email: {"recipients": ["addr@example.com", ...]} (at least one required)
// - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required)
// - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
PostV1NotificationPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1NotificationPreferences Create a notification preference
//
// Create a notification preference. The public path remains notification_preferences
// for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope,
// notification targets) to one or more components. The settings apply equally to every
// component listed. To give a component different settings, create a separate preference.
//
// notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved.
// If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
//
// Channel config structures:
// - email: {"recipients": ["addr@example.com", ...]} (at least one required)
// - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required)
// - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
PostV1NotificationPreferences(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1NotificationPreferenceByID Delete a notification preference by id
//
// Corresponds with DELETE /v1/notification_preferences/{id} (the `DeleteV1NotificationPreferenceByID` operationId).
DeleteV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NotificationPreferenceByID Get a notification preference by id
//
// Corresponds with GET /v1/notification_preferences/{id} (the `GetV1NotificationPreferenceByID` operationId).
GetV1NotificationPreferenceByID(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1NotificationPreferenceByIDWithBody Update a notification preference
//
// Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
PutV1NotificationPreferenceByIDWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1NotificationPreferenceByID Update a notification preference
//
// Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
PutV1NotificationPreferenceByID(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Overview Get overview
//
// Get overview of the system.
//
// Corresponds with GET /v1/overview (the `GetV1Overview` operationId).
GetV1Overview(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ReportsError Get error report
//
// Get error report grouped by error type or node in JSON or CSV format. Default response is JSON. For CSV download (list view only), set format=csv query parameter. Response structure varies based on view and groupBy parameters:
// - When view=list and groupBy=error: The 'errors' field is populated with paginated list
// - When view=list and groupBy=node: The 'nodes' field is populated with paginated list
// - When view=graph and groupBy=error: Returns time-series data with optional step parameter (page and pageSize not used)
// - When view=overview: Returns aggregate statistics (groupBy parameter not required, page and pageSize not used)
//
// Corresponds with GET /v1/reports/error (the `GetV1ReportsError` operationId).
GetV1ReportsError(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ReportsInventory Get inventory report
//
// Get inventory report in JSON or CSV format. Default response is JSON. For CSV download, set format=csv. For a signed CSV bundle (CSV plus a cosign-verifiable signature, packaged as a zip), set format=csv and signed=true.
// Each node includes enrolledAt (original enrollment time, preserved across re-enrollment) and removedAt (soft-delete time for removed nodes, manual and auto-removed alike; absent for active nodes).
//
// Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
GetV1ReportsInventory(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1RetentionPolicy Get data retention policy
//
// Returns the customer's current data retention policy (retention period in days).
//
// Corresponds with GET /v1/retention_policy (the `GetV1RetentionPolicy` operationId).
GetV1RetentionPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1RetentionPolicyWithBody Update data retention policy
//
// Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
PutV1RetentionPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1RetentionPolicy Update data retention policy
//
// Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
PutV1RetentionPolicy(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Tags List all unique tags
//
// Returns all unique tags for the customer with optional filtering.
// Supports filtering by prefix, node UUID, node group ID, or compute zone ID.
// At most one of nodeUUID, nodeGroupId, or computeZoneId can be specified.
// Prefix can be combined with any of the other filters.
//
// Corresponds with GET /v1/tags (the `GetV1Tags` operationId).
GetV1Tags(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1TagsWithBody Batch update tags for multiple nodes
//
// Add and/or remove tags for multiple nodes in a single atomic operation.
// Returns 204 No Content on success. Fails if all nodes are invalid.
//
// Tag Validation Rules (applies to tags being added):
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
PatchV1TagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1Tags Batch update tags for multiple nodes
//
// Add and/or remove tags for multiple nodes in a single atomic operation.
// Returns 204 No Content on success. Fails if all nodes are invalid.
//
// Tag Validation Rules (applies to tags being added):
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
PatchV1Tags(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1XIDBursts List finalized XID bursts
//
// Returns the flat finalized-burst table for the authenticated customer. Results default to startTime descending (latest first), with burstId descending as the stable pagination tie-breaker.
// The selected time range applies to burst start time using [startTime, endTime) and is required, matching GET /v1/events. Relative mode requires timeMode=relative and a positive Go duration window; absolute mode (default) requires startTime and endTime. Do not combine window with startTime/endTime. Absolute endTime must be after startTime.
// Node-group and compute-zone filters use customer-scoped UUIDs, matching the node and alert APIs. Values are OR-combined within each dimension and AND-combined across dimensions. Exclusion filters select every assignment except the supplied IDs and cannot be combined with the inclusive filter for the same dimension. Filter option IDs and labels are available from GET /v1/nodes/options. Bursts on soft-deleted nodes are never returned.
// Multiple xidNumbers are OR-combined: a burst matches if it contains any of the requested XIDs (including bursts that contain only one of them, or both). String search parameters are case-insensitive substring filters. Categories, subcategories, and action-code array parameters (e.g. tenantActions) are exact-match checkbox-style filters, OR-combined within the same parameter; their values come from GET /v1/xid/bursts/options. All filters across different columns/parameters are AND-combined, including a *Search param and its exact-match sibling. Action filters and searches match catalog action codes (not Guidance Classes text) and expand public alias codes (e.g. CONTACT_SUPPORT) to the raw DB forms they replace (RETURN_TO_PROVIDER, PULL_FROM_SERVICE), so options-published codes match stored bursts.
// Response fields are shaped server-side from the caller's persona. Tenants receive jobDisruption, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, jobDisruptionDueToPlatformIssue, XID catalog descriptions, and DC-admin actions. Action text is resolved from the persona-appropriate Guidance Classes catalog. Each item includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs), matching alert timeline Level 1 inventory enrichment.
//
// Corresponds with GET /v1/xid/bursts (the `GetV1XIDBursts` operationId).
GetV1XIDBursts(ctx context.Context, params *GetV1XIDBurstsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1XIDBurstOptions Get XID burst filter options
//
// Returns all filter options available to the authenticated customer and persona. Options are not narrowed by the table's current time, scope, or column filters. This v1 response contains no counts and has no cross-filter impact-count behavior.
// Tenant callers receive public disruption values, XIDs, and tenant actions. Cloud-provider/NCP callers additionally receive platform-disruption values, categories, subcategories, and DC-admin actions. suggestedActions uses the shared action model; clients group it by persona and type. Category and action labels are resolved from the persona-appropriate catalogs.
// jobDisruption and jobDisruptionDueToPlatformIssue are always the full [true, false] domain. XID numbers, categories, subcategories, and suggestedActions reflect the distinct values actually present across the customer's finalized bursts (still unfiltered by the current table filters). Action codes are alias-normalized and de-duplicated after normalization, matching GET /v1/xid/bursts. Hostname filtering uses the free-text hostnameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list.
//
// Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
GetV1XIDBurstOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1XIDBurstDetail Get finalized XID burst details
//
// Returns the side-panel details for one finalized burst belonging to the authenticated customer.
// Response fields are shaped server-side from the caller's persona. Tenants receive the public job-disruption value, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, platform-attributed disruption, XID catalog descriptions, and all tenant plus DC-admin actions. Suggested action text is resolved from the persona-appropriate Guidance Classes catalog. The response includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs).
//
// Corresponds with GET /v1/xid/bursts/{burstId} (the `GetV1XIDBurstDetail` operationId).
GetV1XIDBurstDetail(ctx context.Context, burstId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Commands Get commands (v2)
//
// Get list of commands (v2).
//
// Corresponds with GET /v2/commands (the `GetV2Commands` operationId).
GetV2Commands(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Metrics Get aggregated metrics with time series for any aggregation level
//
// Returns historical chart data for customer, node group, compute zone, or node level. The service selects the appropriate query path for each metric and aggregation level. Aggregation functions are determined by metric configuration in base-config.yaml.
//
// Corresponds with GET /v2/metrics (the `GetV2Metrics` operationId).
GetV2Metrics(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteV1AlertMuteRulesWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) DeleteV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)
DeleteV1AlertMuteRulesWithBodyWithResponse Delete mute rules
Delete mute rules for a specific component, or delete all mute rules for the customer. With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component. Without body: deletes ALL mute rules for the customer.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
func (*ClientWithResponses) DeleteV1AlertMuteRulesWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) DeleteV1AlertMuteRulesWithResponse(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)
DeleteV1AlertMuteRulesWithResponse Delete mute rules
Delete mute rules for a specific component, or delete all mute rules for the customer. With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component. Without body: deletes ALL mute rules for the customer.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
func (*ClientWithResponses) DeleteV1NodesNodeUuidWithResponse ¶
func (c *ClientWithResponses) DeleteV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)
DeleteV1NodesNodeUuidWithResponse Delete a node (soft delete)
Soft delete a node by setting the deleted flag to true.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/nodes/{nodeUUID} (the `DeleteV1NodesNodeUuid` operationId).
func (*ClientWithResponses) DeleteV1NodesWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteV1NodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
DeleteV1NodesWithBodyWithResponse Delete multiple nodes (soft delete)
Soft delete multiple nodes by setting the deleted flag to true.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
func (*ClientWithResponses) DeleteV1NodesWithResponse ¶
func (c *ClientWithResponses) DeleteV1NodesWithResponse(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
DeleteV1NodesWithResponse Delete multiple nodes (soft delete)
Soft delete multiple nodes by setting the deleted flag to true.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
func (*ClientWithResponses) DeleteV1NotificationPreferenceByIDWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) DeleteV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1NotificationPreferenceByIDResponse, error)
DeleteV1NotificationPreferenceByIDWithResponse Delete a notification preference by id
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/notification_preferences/{id} (the `DeleteV1NotificationPreferenceByID` operationId).
func (*ClientWithResponses) GetV1AlertMuteRulesWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1AlertMuteRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AlertMuteRulesResponse, error)
GetV1AlertMuteRulesWithResponse List mute rules
Get all customer-wide mute rules grouped by component. Each component shows which severities (Critical, Warning) are muted.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alert_mute_rules (the `GetV1AlertMuteRules` operationId).
func (*ClientWithResponses) GetV1AlertTimelineFilterOptionsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1AlertTimelineFilterOptionsWithResponse(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineFilterOptionsResponse, error)
GetV1AlertTimelineFilterOptionsWithResponse Get filter dropdown options for the alert panel
Get the set of filter values (GPU types, node groups, compute zones, component types, alert states) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. Every value is scoped to the customer's alerts in the chosen view, so each option is guaranteed to return results when applied as a filter. Use the 'active' parameter to switch between the Active and Historical views; the historical view may additionally surface the Resolved alert state. Object-valued options ({id, value}) carry the filter id and its display value (node group / compute zone ids and names; component identifier and display name); gpuTypes and alertStates are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is resolved server-side from the caller's persona.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alert_timeline/filter_options (the `GetV1AlertTimelineFilterOptions` operationId).
func (*ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse ¶
func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)
GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse Get complete timeline for a specific alert (level 3)
Get complete timeline for a specific alert. Returns alert UUID, component, current alertStatus, nodeGroup, computeZone, and complete event timeline. This is the third level of the progressive disclosure API for alert timelines. Events default to newest-first (most recent update first); pass order=asc for chronological (oldest-first) order. Pagination of the timeline events is optional and backward compatible: omit pageSize to receive the full timeline (default); supply pageSize to page through the events, in which case the response also carries page/pageSize/total/hasMore metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts/{alertUUID} (the `GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid` operationId).
func (*ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsWithResponse ¶
func (c *ClientWithResponses) GetV1AlertTimelineNodesNodeUuidAlertsWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)
GetV1AlertTimelineNodesNodeUuidAlertsWithResponse Get alerts for a specific node (level 2)
Get list of alerts for a specific node. Returns alert UUID, component, alert status, start time, and last event time. Use the 'active' parameter to switch between active and historical views. The sortable table-header columns and the filter dimensions mirror the Level 1 nodes list, so the panel can forward the same filter set unchanged.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts (the `GetV1AlertTimelineNodesNodeUuidAlerts` operationId).
func (*ClientWithResponses) GetV1AlertTimelineNodesWithResponse ¶
func (c *ClientWithResponses) GetV1AlertTimelineNodesWithResponse(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesResponse, error)
GetV1AlertTimelineNodesWithResponse List impacted machines with alert summary (level 1)
Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. Use active=true for the Active Alerts view (only nodes with currently active alerts) or active=false for Historical Alerts. Cross-page aggregates (totalCritical, totalWarning, distinctGpuTypeCount, etc.) reflect the full filtered result set and drive table header counts. componentVisibility is resolved server-side from the user's auth persona and is not an HTTP parameter.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alert_timeline/nodes (the `GetV1AlertTimelineNodes` operationId).
func (*ClientWithResponses) GetV1AlertsNodeUuidWithResponse ¶
func (c *ClientWithResponses) GetV1AlertsNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertsNodeUuidResponse, error)
GetV1AlertsNodeUuidWithResponse Get alerts for a specific node
Get list of alerts for a specific node (machine) identified by nodeUUID, grouped by component ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alerts/{nodeUUID} (the `GetV1AlertsNodeUuid` operationId).
func (*ClientWithResponses) GetV1AlertsWithResponse ¶
func (c *ClientWithResponses) GetV1AlertsWithResponse(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertsResponse, error)
GetV1AlertsWithResponse Get alerts
Get list of alerts with optional filtering by node, component, state, and severity ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/alerts (the `GetV1Alerts` operationId).
func (*ClientWithResponses) GetV1AuthStatusWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1AuthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AuthStatusResponse, error)
GetV1AuthStatusWithResponse Get authentication status
Returns whether the request reached the backend through the authenticated KAS path.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/status (the `GetV1AuthStatus` operationId).
func (*ClientWithResponses) GetV1ComputezonesWithResponse ¶
func (c *ClientWithResponses) GetV1ComputezonesWithResponse(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*GetV1ComputezonesResponse, error)
GetV1ComputezonesWithResponse Get compute zones
Get list of compute zones with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for essential fields (ID, Name, Type, GeoLocation, Contact, timestamps)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/computezones (the `GetV1Computezones` operationId).
func (*ClientWithResponses) GetV1EventsBucketsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1EventsBucketsWithResponse(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*GetV1EventsBucketsResponse, error)
GetV1EventsBucketsWithResponse Get event counts bucketed by time
Returns time-bucketed event counts for histogram display. The server picks a clean bucket interval based on the maxBuckets hint.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
func (*ClientWithResponses) GetV1EventsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1EventsWithResponse(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*GetV1EventsResponse, error)
GetV1EventsWithResponse Get events
Get list of events with optional filtering by node UUID, component, and time range. Returns events from the events table for the specified time period.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/events (the `GetV1Events` operationId).
func (*ClientWithResponses) GetV1InfoWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1InfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1InfoResponse, error)
GetV1InfoWithResponse Get application info
Get version and build information for API backend and agent backend components, plus the current inventory-report signing key's rotation freshness.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/info (the `GetV1Info` operationId).
func (*ClientWithResponses) GetV1MetricsQueryRangeWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1MetricsQueryRangeWithResponse(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*GetV1MetricsQueryRangeResponse, error)
GetV1MetricsQueryRangeWithResponse Query metric range
Query data for a particular metric for a node, node group, or compute zone over a range of time ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/metrics/query_range (the `GetV1MetricsQueryRange` operationId).
func (*ClientWithResponses) GetV1MetricsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1MetricsWithResponse(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*GetV1MetricsResponse, error)
GetV1MetricsWithResponse Get available metrics
Get a list of all available metrics, organized by component. Supports optional filtering by isCritical, aggregatable, and type. Unknown or false values for boolean params are treated as no filter. Use psirtComponent=true to include active PSIRT CVE sub-components under the "psirt" component.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/metrics (the `GetV1Metrics` operationId).
func (*ClientWithResponses) GetV1NodeGroupMembershipsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1NodeGroupMembershipsWithResponse(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*GetV1NodeGroupMembershipsResponse, error)
GetV1NodeGroupMembershipsWithResponse Get node group memberships
Get list of node group memberships with optional filtering. Customer ID is automatically extracted from the NV-ngc-nca-id header and used for filtering.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/node_group_memberships (the `GetV1NodeGroupMemberships` operationId).
func (*ClientWithResponses) GetV1NodeRemovalPolicyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1NodeRemovalPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodeRemovalPolicyResponse, error)
GetV1NodeRemovalPolicyWithResponse Get auto node removal policy
Returns the customer's "Auto remove machines" settings. Customers that never configured the policy get the defaults (disabled, offlineThreshold omitted).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/node_removal_policy (the `GetV1NodeRemovalPolicy` operationId).
func (*ClientWithResponses) GetV1NodegroupsOptionsWithResponse ¶
func (c *ClientWithResponses) GetV1NodegroupsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodegroupsOptionsResponse, error)
GetV1NodegroupsOptionsWithResponse Get available query options for node groups
Returns available filters and sorting options for querying node groups. Filter options may be simple strings (e.g., health statuses, GPU types) or hierarchical objects (e.g., compute zones with nested nodegroups).
Filter options examples: - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}` - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodegroups/options (the `GetV1NodegroupsOptions` operationId).
func (*ClientWithResponses) GetV1NodegroupsWithResponse ¶
func (c *ClientWithResponses) GetV1NodegroupsWithResponse(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*GetV1NodegroupsResponse, error)
GetV1NodegroupsWithResponse Get node groups
Get list of node groups with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for minimal ID/Name list. Detail view supports additional filters: computeZoneNames (partial match), healthStatuses, and gpuTypes
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodegroups (the `GetV1Nodegroups` operationId).
func (*ClientWithResponses) GetV1NodesHistoryWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1NodesHistoryWithResponse(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesHistoryResponse, error)
GetV1NodesHistoryWithResponse List node removal history
Returns removed machines for the customer, newest first. Covers both auto-removed (actorType system, deleted by the node reaper) and manually deleted (actorType user) nodes. The same machine may appear multiple times across remove/re-enroll cycles.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodes/history (the `GetV1NodesHistory` operationId).
func (*ClientWithResponses) GetV1NodesNodeUuidHealthHistoryWithResponse ¶
func (c *ClientWithResponses) GetV1NodesNodeUuidHealthHistoryWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidHealthHistoryResponse, error)
GetV1NodesNodeUuidHealthHistoryWithResponse Get node health history
Returns the health status timeline and summary for a node over a time window.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodes/{nodeUUID}/health_history (the `GetV1NodesNodeUuidHealthHistory` operationId).
func (*ClientWithResponses) GetV1NodesNodeUuidWithResponse ¶
func (c *ClientWithResponses) GetV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidResponse, error)
GetV1NodesNodeUuidWithResponse Get detailed node information
Get detailed information about a specific node including resources, system info, and health status ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodes/{nodeUUID} (the `GetV1NodesNodeUuid` operationId).
func (*ClientWithResponses) GetV1NodesOptionsWithResponse ¶
func (c *ClientWithResponses) GetV1NodesOptionsWithResponse(ctx context.Context, params *GetV1NodesOptionsParams, reqEditors ...RequestEditorFn) (*GetV1NodesOptionsResponse, error)
GetV1NodesOptionsWithResponse Get available query options for nodes
Returns available filters and sorting options for querying nodes. Filter options may be simple strings (e.g., health statuses) or hierarchical objects (e.g., compute zones with nested nodegroups).
Filter options examples: - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}` - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
The available options depend on the agentType view. The OOB view omits the gpuTypes filter and the GPU/kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodes/options (the `GetV1NodesOptions` operationId).
func (*ClientWithResponses) GetV1NodesWithResponse ¶
func (c *ClientWithResponses) GetV1NodesWithResponse(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*GetV1NodesResponse, error)
GetV1NodesWithResponse Get nodes overview and states
Get list of nodes with current state and overview. Use view=detail (default) for full response or view=basic for a lightweight nodeUUID + hostname list (see models.BasicNodesResponse). All filter parameters are optional arrays - empty means no filter applied.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/nodes (the `GetV1Nodes` operationId).
func (*ClientWithResponses) GetV1NotificationDeliveryLogWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1NotificationDeliveryLogWithResponse(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*GetV1NotificationDeliveryLogResponse, error)
GetV1NotificationDeliveryLogWithResponse List notification delivery logs
Get paginated notification delivery log entries for the customer, with optional filtering by component, channel, status, alertUUID, and time range.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/notification_delivery_log (the `GetV1NotificationDeliveryLog` operationId).
func (*ClientWithResponses) GetV1NotificationPreferenceByIDWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferenceByIDResponse, error)
GetV1NotificationPreferenceByIDWithResponse Get a notification preference by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/notification_preferences/{id} (the `GetV1NotificationPreferenceByID` operationId).
func (*ClientWithResponses) GetV1NotificationPreferencesWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1NotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferencesResponse, error)
GetV1NotificationPreferencesWithResponse List notification preferences
Get all notification preferences for the customer. The public resource name remains preferences for compatibility, but each preference is now id-addressable and applies one configuration (alert statuses, scope, and notification targets) to a set of components. Multiple preferences may cover the same component. Returns an empty list if none are configured.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/notification_preferences (the `GetV1NotificationPreferences` operationId).
func (*ClientWithResponses) GetV1OverviewWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1OverviewWithResponse(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*GetV1OverviewResponse, error)
GetV1OverviewWithResponse Get overview
Get overview of the system.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/overview (the `GetV1Overview` operationId).
func (*ClientWithResponses) GetV1ReportsErrorWithResponse ¶
func (c *ClientWithResponses) GetV1ReportsErrorWithResponse(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*GetV1ReportsErrorResponse, error)
GetV1ReportsErrorWithResponse Get error report
Get error report grouped by error type or node in JSON or CSV format. Default response is JSON. For CSV download (list view only), set format=csv query parameter. Response structure varies based on view and groupBy parameters: - When view=list and groupBy=error: The 'errors' field is populated with paginated list - When view=list and groupBy=node: The 'nodes' field is populated with paginated list - When view=graph and groupBy=error: Returns time-series data with optional step parameter (page and pageSize not used) - When view=overview: Returns aggregate statistics (groupBy parameter not required, page and pageSize not used)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/reports/error (the `GetV1ReportsError` operationId).
func (*ClientWithResponses) GetV1ReportsInventoryWithResponse ¶
func (c *ClientWithResponses) GetV1ReportsInventoryWithResponse(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*GetV1ReportsInventoryResponse, error)
GetV1ReportsInventoryWithResponse Get inventory report
Get inventory report in JSON or CSV format. Default response is JSON. For CSV download, set format=csv. For a signed CSV bundle (CSV plus a cosign-verifiable signature, packaged as a zip), set format=csv and signed=true. Each node includes enrolledAt (original enrollment time, preserved across re-enrollment) and removedAt (soft-delete time for removed nodes, manual and auto-removed alike; absent for active nodes).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
func (*ClientWithResponses) GetV1RetentionPolicyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1RetentionPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1RetentionPolicyResponse, error)
GetV1RetentionPolicyWithResponse Get data retention policy
Returns the customer's current data retention policy (retention period in days).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/retention_policy (the `GetV1RetentionPolicy` operationId).
func (*ClientWithResponses) GetV1TagsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV1TagsWithResponse(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*GetV1TagsResponse, error)
GetV1TagsWithResponse List all unique tags
Returns all unique tags for the customer with optional filtering. Supports filtering by prefix, node UUID, node group ID, or compute zone ID. At most one of nodeUUID, nodeGroupId, or computeZoneId can be specified. Prefix can be combined with any of the other filters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/tags (the `GetV1Tags` operationId).
func (*ClientWithResponses) GetV1XIDBurstDetailWithResponse ¶
func (c *ClientWithResponses) GetV1XIDBurstDetailWithResponse(ctx context.Context, burstId string, reqEditors ...RequestEditorFn) (*GetV1XIDBurstDetailResponse, error)
GetV1XIDBurstDetailWithResponse Get finalized XID burst details
Returns the side-panel details for one finalized burst belonging to the authenticated customer. Response fields are shaped server-side from the caller's persona. Tenants receive the public job-disruption value, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, platform-attributed disruption, XID catalog descriptions, and all tenant plus DC-admin actions. Suggested action text is resolved from the persona-appropriate Guidance Classes catalog. The response includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/xid/bursts/{burstId} (the `GetV1XIDBurstDetail` operationId).
func (*ClientWithResponses) GetV1XIDBurstOptionsWithResponse ¶
func (c *ClientWithResponses) GetV1XIDBurstOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1XIDBurstOptionsResponse, error)
GetV1XIDBurstOptionsWithResponse Get XID burst filter options
Returns all filter options available to the authenticated customer and persona. Options are not narrowed by the table's current time, scope, or column filters. This v1 response contains no counts and has no cross-filter impact-count behavior. Tenant callers receive public disruption values, XIDs, and tenant actions. Cloud-provider/NCP callers additionally receive platform-disruption values, categories, subcategories, and DC-admin actions. suggestedActions uses the shared action model; clients group it by persona and type. Category and action labels are resolved from the persona-appropriate catalogs. jobDisruption and jobDisruptionDueToPlatformIssue are always the full [true, false] domain. XID numbers, categories, subcategories, and suggestedActions reflect the distinct values actually present across the customer's finalized bursts (still unfiltered by the current table filters). Action codes are alias-normalized and de-duplicated after normalization, matching GET /v1/xid/bursts. Hostname filtering uses the free-text hostnameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
func (*ClientWithResponses) GetV1XIDBurstsWithResponse ¶
func (c *ClientWithResponses) GetV1XIDBurstsWithResponse(ctx context.Context, params *GetV1XIDBurstsParams, reqEditors ...RequestEditorFn) (*GetV1XIDBurstsResponse, error)
GetV1XIDBurstsWithResponse List finalized XID bursts
Returns the flat finalized-burst table for the authenticated customer. Results default to startTime descending (latest first), with burstId descending as the stable pagination tie-breaker. The selected time range applies to burst start time using [startTime, endTime) and is required, matching GET /v1/events. Relative mode requires timeMode=relative and a positive Go duration window; absolute mode (default) requires startTime and endTime. Do not combine window with startTime/endTime. Absolute endTime must be after startTime. Node-group and compute-zone filters use customer-scoped UUIDs, matching the node and alert APIs. Values are OR-combined within each dimension and AND-combined across dimensions. Exclusion filters select every assignment except the supplied IDs and cannot be combined with the inclusive filter for the same dimension. Filter option IDs and labels are available from GET /v1/nodes/options. Bursts on soft-deleted nodes are never returned. Multiple xidNumbers are OR-combined: a burst matches if it contains any of the requested XIDs (including bursts that contain only one of them, or both). String search parameters are case-insensitive substring filters. Categories, subcategories, and action-code array parameters (e.g. tenantActions) are exact-match checkbox-style filters, OR-combined within the same parameter; their values come from GET /v1/xid/bursts/options. All filters across different columns/parameters are AND-combined, including a *Search param and its exact-match sibling. Action filters and searches match catalog action codes (not Guidance Classes text) and expand public alias codes (e.g. CONTACT_SUPPORT) to the raw DB forms they replace (RETURN_TO_PROVIDER, PULL_FROM_SERVICE), so options-published codes match stored bursts. Response fields are shaped server-side from the caller's persona. Tenants receive jobDisruption, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, jobDisruptionDueToPlatformIssue, XID catalog descriptions, and DC-admin actions. Action text is resolved from the persona-appropriate Guidance Classes catalog. Each item includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs), matching alert timeline Level 1 inventory enrichment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/xid/bursts (the `GetV1XIDBursts` operationId).
func (*ClientWithResponses) GetV2CommandsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV2CommandsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2CommandsResponse, error)
GetV2CommandsWithResponse Get commands (v2)
Get list of commands (v2).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/commands (the `GetV2Commands` operationId).
func (*ClientWithResponses) GetV2MetricsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetV2MetricsWithResponse(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*GetV2MetricsResponse, error)
GetV2MetricsWithResponse Get aggregated metrics with time series for any aggregation level
Returns historical chart data for customer, node group, compute zone, or node level. The service selects the appropriate query path for each metric and aggregation level. Aggregation functions are determined by metric configuration in base-config.yaml.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/metrics (the `GetV2Metrics` operationId).
func (*ClientWithResponses) GetWellKnownSigningKeyPubWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetWellKnownSigningKeyPubWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownSigningKeyPubResponse, error)
GetWellKnownSigningKeyPubWithResponse Get inventory-report public verification key
Returns NVIDIA's currently-active public key for verifying signed inventory reports. Use with `cosign verify-blob --key signing-key.pub --bundle <file>.sig.bundle <file>.csv`. The key is PEM-encoded (PKIX SubjectPublicKeyInfo). After a key rotation this URL serves the new key; reports signed under previous keys cease to verify and customers must re-download.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /.well-known/signing-key.pub (the `GetWellKnownSigningKeyPub` operationId).
func (*ClientWithResponses) PatchV1TagsWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PatchV1TagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)
PatchV1TagsWithBodyWithResponse Batch update tags for multiple nodes
Add and/or remove tags for multiple nodes in a single atomic operation. Returns 204 No Content on success. Fails if all nodes are invalid.
Tag Validation Rules (applies to tags being added): - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
func (*ClientWithResponses) PatchV1TagsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PatchV1TagsWithResponse(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)
PatchV1TagsWithResponse Batch update tags for multiple nodes
Add and/or remove tags for multiple nodes in a single atomic operation. Returns 204 No Content on success. Fails if all nodes are invalid.
Tag Validation Rules (applies to tags being added): - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
func (*ClientWithResponses) PostV1NotificationPreferencesWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PostV1NotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)
PostV1NotificationPreferencesWithBodyWithResponse Create a notification preference
Create a notification preference. The public path remains notification_preferences for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope, notification targets) to one or more components. The settings apply equally to every component listed. To give a component different settings, create a separate preference.
notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved. If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
Channel config structures: - email: {"recipients": ["addr@example.com", ...]} (at least one required) - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required) - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
func (*ClientWithResponses) PostV1NotificationPreferencesWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PostV1NotificationPreferencesWithResponse(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)
PostV1NotificationPreferencesWithResponse Create a notification preference
Create a notification preference. The public path remains notification_preferences for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope, notification targets) to one or more components. The settings apply equally to every component listed. To give a component different settings, create a separate preference.
notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved. If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
Channel config structures: - email: {"recipients": ["addr@example.com", ...]} (at least one required) - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required) - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
func (*ClientWithResponses) PutV1AlertMuteRulesWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)
PutV1AlertMuteRulesWithBodyWithResponse Update mute rule for a component
Declarative per-component update: set this component to exactly the specified severities. If severities is empty or omitted, defaults to both Critical and Warning. This replaces any existing mute configuration for the component. Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
func (*ClientWithResponses) PutV1AlertMuteRulesWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1AlertMuteRulesWithResponse(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)
PutV1AlertMuteRulesWithResponse Update mute rule for a component
Declarative per-component update: set this component to exactly the specified severities. If severities is empty or omitted, defaults to both Critical and Warning. This replaces any existing mute configuration for the component. Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
func (*ClientWithResponses) PutV1ComputezonesWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1ComputezonesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)
PutV1ComputezonesWithBodyWithResponse Update compute zone
Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
func (*ClientWithResponses) PutV1ComputezonesWithResponse ¶
func (c *ClientWithResponses) PutV1ComputezonesWithResponse(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)
PutV1ComputezonesWithResponse Update compute zone
Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
func (*ClientWithResponses) PutV1NodeRemovalPolicyWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1NodeRemovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)
PutV1NodeRemovalPolicyWithBodyWithResponse Update auto node removal policy
Updates the customer's "Auto remove machines" settings. When offlineThreshold is omitted the stored threshold is kept (disabling never clears it), so it is required only when enabling for the first time. The equivalent duration must be at least 1 day (whole numbers). An omitted enabled binds as false. Returns 204 No Content on success.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
func (*ClientWithResponses) PutV1NodeRemovalPolicyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1NodeRemovalPolicyWithResponse(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)
PutV1NodeRemovalPolicyWithResponse Update auto node removal policy
Updates the customer's "Auto remove machines" settings. When offlineThreshold is omitted the stored threshold is kept (disabling never clears it), so it is required only when enabling for the first time. The equivalent duration must be at least 1 day (whole numbers). An omitted enabled binds as false. Returns 204 No Content on success.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
func (*ClientWithResponses) PutV1NodesNodeUuidTagsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1NodesNodeUuidTagsWithBodyWithResponse(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)
PutV1NodesNodeUuidTagsWithBodyWithResponse Set all tags for a node
Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
Tag Validation Rules: - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
func (*ClientWithResponses) PutV1NodesNodeUuidTagsWithResponse ¶
func (c *ClientWithResponses) PutV1NodesNodeUuidTagsWithResponse(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)
PutV1NodesNodeUuidTagsWithResponse Set all tags for a node
Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
Tag Validation Rules: - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_) - Must start and end with alphanumeric characters - Separators (hyphen, underscore) cannot be consecutive - Maximum length: 50 characters - Reserved names: null, none, undefined, true, false - Examples: "gpu-health", "test_tag", "node123"
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
func (*ClientWithResponses) PutV1NotificationPreferenceByIDWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1NotificationPreferenceByIDWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)
PutV1NotificationPreferenceByIDWithBodyWithResponse Update a notification preference
Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
func (*ClientWithResponses) PutV1NotificationPreferenceByIDWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)
PutV1NotificationPreferenceByIDWithResponse Update a notification preference
Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
func (*ClientWithResponses) PutV1RetentionPolicyWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1RetentionPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)
PutV1RetentionPolicyWithBodyWithResponse Update data retention policy
Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
func (*ClientWithResponses) PutV1RetentionPolicyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) PutV1RetentionPolicyWithResponse(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)
PutV1RetentionPolicyWithResponse Update data retention policy
Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetWellKnownSigningKeyPubWithResponse Get inventory-report public verification key
//
// Returns NVIDIA's currently-active public key for verifying signed inventory reports. Use with `cosign verify-blob --key signing-key.pub --bundle <file>.sig.bundle <file>.csv`. The key is PEM-encoded (PKIX SubjectPublicKeyInfo). After a key rotation this URL serves the new key; reports signed under previous keys cease to verify and customers must re-download.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /.well-known/signing-key.pub (the `GetWellKnownSigningKeyPub` operationId).
GetWellKnownSigningKeyPubWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownSigningKeyPubResponse, error)
// DeleteV1AlertMuteRulesWithBodyWithResponse Delete mute rules
//
// Delete mute rules for a specific component, or delete all mute rules for the customer.
// With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component.
// Without body: deletes ALL mute rules for the customer.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
DeleteV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)
// DeleteV1AlertMuteRulesWithResponse Delete mute rules
//
// Delete mute rules for a specific component, or delete all mute rules for the customer.
// With body: provide component (required) and optionally severities. If severities is empty, deletes all rules for the component.
// Without body: deletes ALL mute rules for the customer.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/alert_mute_rules (the `DeleteV1AlertMuteRules` operationId).
DeleteV1AlertMuteRulesWithResponse(ctx context.Context, body DeleteV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1AlertMuteRulesResponse, error)
// GetV1AlertMuteRulesWithResponse List mute rules
//
// Get all customer-wide mute rules grouped by component. Each component shows which severities (Critical, Warning) are muted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alert_mute_rules (the `GetV1AlertMuteRules` operationId).
GetV1AlertMuteRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AlertMuteRulesResponse, error)
// PutV1AlertMuteRulesWithBodyWithResponse Update mute rule for a component
//
// Declarative per-component update: set this component to exactly the specified severities.
// If severities is empty or omitted, defaults to both Critical and Warning.
// This replaces any existing mute configuration for the component.
// Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
PutV1AlertMuteRulesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)
// PutV1AlertMuteRulesWithResponse Update mute rule for a component
//
// Declarative per-component update: set this component to exactly the specified severities.
// If severities is empty or omitted, defaults to both Critical and Warning.
// This replaces any existing mute configuration for the component.
// Returns 204 No Content on success. Use GET /v1/alert_mute_rules to retrieve current state.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/alert_mute_rules (the `PutV1AlertMuteRules` operationId).
PutV1AlertMuteRulesWithResponse(ctx context.Context, body PutV1AlertMuteRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1AlertMuteRulesResponse, error)
// GetV1AlertTimelineFilterOptionsWithResponse Get filter dropdown options for the alert panel
//
// Get the set of filter values (GPU types, node groups, compute zones, component types, alert states) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. Every value is scoped to the customer's alerts in the chosen view, so each option is guaranteed to return results when applied as a filter. Use the 'active' parameter to switch between the Active and Historical views; the historical view may additionally surface the Resolved alert state. Object-valued options ({id, value}) carry the filter id and its display value (node group / compute zone ids and names; component identifier and display name); gpuTypes and alertStates are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is resolved server-side from the caller's persona.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alert_timeline/filter_options (the `GetV1AlertTimelineFilterOptions` operationId).
GetV1AlertTimelineFilterOptionsWithResponse(ctx context.Context, params *GetV1AlertTimelineFilterOptionsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineFilterOptionsResponse, error)
// GetV1AlertTimelineNodesWithResponse List impacted machines with alert summary (level 1)
//
// Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. Use active=true for the Active Alerts view (only nodes with currently active alerts) or active=false for Historical Alerts. Cross-page aggregates (totalCritical, totalWarning, distinctGpuTypeCount, etc.) reflect the full filtered result set and drive table header counts. componentVisibility is resolved server-side from the user's auth persona and is not an HTTP parameter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alert_timeline/nodes (the `GetV1AlertTimelineNodes` operationId).
GetV1AlertTimelineNodesWithResponse(ctx context.Context, params *GetV1AlertTimelineNodesParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesResponse, error)
// GetV1AlertTimelineNodesNodeUuidAlertsWithResponse Get alerts for a specific node (level 2)
//
// Get list of alerts for a specific node. Returns alert UUID, component, alert status, start time, and last event time. Use the 'active' parameter to switch between active and historical views. The sortable table-header columns and the filter dimensions mirror the Level 1 nodes list, so the panel can forward the same filter set unchanged.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts (the `GetV1AlertTimelineNodesNodeUuidAlerts` operationId).
GetV1AlertTimelineNodesNodeUuidAlertsWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)
// GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse Get complete timeline for a specific alert (level 3)
//
// Get complete timeline for a specific alert. Returns alert UUID, component, current alertStatus, nodeGroup, computeZone, and complete event timeline. This is the third level of the progressive disclosure API for alert timelines. Events default to newest-first (most recent update first); pass order=asc for chronological (oldest-first) order. Pagination of the timeline events is optional and backward compatible: omit pageSize to receive the full timeline (default); supply pageSize to page through the events, in which case the response also carries page/pageSize/total/hasMore metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alert_timeline/nodes/{nodeUUID}/alerts/{alertUUID} (the `GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid` operationId).
GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse(ctx context.Context, nodeUUID string, alertUUID string, params *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)
// GetV1AlertsWithResponse Get alerts
//
// Get list of alerts with optional filtering by node, component, state, and severity
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alerts (the `GetV1Alerts` operationId).
GetV1AlertsWithResponse(ctx context.Context, params *GetV1AlertsParams, reqEditors ...RequestEditorFn) (*GetV1AlertsResponse, error)
// GetV1AlertsNodeUuidWithResponse Get alerts for a specific node
//
// Get list of alerts for a specific node (machine) identified by nodeUUID, grouped by component
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/alerts/{nodeUUID} (the `GetV1AlertsNodeUuid` operationId).
GetV1AlertsNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1AlertsNodeUuidParams, reqEditors ...RequestEditorFn) (*GetV1AlertsNodeUuidResponse, error)
// GetV1AuthStatusWithResponse Get authentication status
//
// Returns whether the request reached the backend through the authenticated KAS path.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/status (the `GetV1AuthStatus` operationId).
GetV1AuthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1AuthStatusResponse, error)
// GetV1ComputezonesWithResponse Get compute zones
//
// Get list of compute zones with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for essential fields (ID, Name, Type, GeoLocation, Contact, timestamps)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/computezones (the `GetV1Computezones` operationId).
GetV1ComputezonesWithResponse(ctx context.Context, params *GetV1ComputezonesParams, reqEditors ...RequestEditorFn) (*GetV1ComputezonesResponse, error)
// PutV1ComputezonesWithBodyWithResponse Update compute zone
//
// Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
PutV1ComputezonesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)
// PutV1ComputezonesWithResponse Update compute zone
//
// Admin updates compute zone type and metadata. Compute zone names are agent-managed and cannot be changed from customer-api.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/computezones (the `PutV1Computezones` operationId).
PutV1ComputezonesWithResponse(ctx context.Context, body PutV1ComputezonesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ComputezonesResponse, error)
// GetV1EventsWithResponse Get events
//
// Get list of events with optional filtering by node UUID, component, and time range. Returns events from the events table for the specified time period.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/events (the `GetV1Events` operationId).
GetV1EventsWithResponse(ctx context.Context, params *GetV1EventsParams, reqEditors ...RequestEditorFn) (*GetV1EventsResponse, error)
// GetV1EventsBucketsWithResponse Get event counts bucketed by time
//
// Returns time-bucketed event counts for histogram display. The server picks a clean bucket interval based on the maxBuckets hint.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
GetV1EventsBucketsWithResponse(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*GetV1EventsBucketsResponse, error)
// GetV1InfoWithResponse Get application info
//
// Get version and build information for API backend and agent backend components, plus the current inventory-report signing key's rotation freshness.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/info (the `GetV1Info` operationId).
GetV1InfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1InfoResponse, error)
// GetV1MetricsWithResponse Get available metrics
//
// Get a list of all available metrics, organized by component. Supports optional filtering by isCritical, aggregatable, and type. Unknown or false values for boolean params are treated as no filter.
// Use psirtComponent=true to include active PSIRT CVE sub-components under the "psirt" component.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/metrics (the `GetV1Metrics` operationId).
GetV1MetricsWithResponse(ctx context.Context, params *GetV1MetricsParams, reqEditors ...RequestEditorFn) (*GetV1MetricsResponse, error)
// GetV1MetricsQueryRangeWithResponse Query metric range
//
// Query data for a particular metric for a node, node group, or compute zone over a range of time
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/metrics/query_range (the `GetV1MetricsQueryRange` operationId).
GetV1MetricsQueryRangeWithResponse(ctx context.Context, params *GetV1MetricsQueryRangeParams, reqEditors ...RequestEditorFn) (*GetV1MetricsQueryRangeResponse, error)
// GetV1NodeGroupMembershipsWithResponse Get node group memberships
//
// Get list of node group memberships with optional filtering. Customer ID is automatically extracted from the NV-ngc-nca-id header and used for filtering.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/node_group_memberships (the `GetV1NodeGroupMemberships` operationId).
GetV1NodeGroupMembershipsWithResponse(ctx context.Context, params *GetV1NodeGroupMembershipsParams, reqEditors ...RequestEditorFn) (*GetV1NodeGroupMembershipsResponse, error)
// GetV1NodeRemovalPolicyWithResponse Get auto node removal policy
//
// Returns the customer's "Auto remove machines" settings. Customers that never
// configured the policy get the defaults (disabled, offlineThreshold omitted).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/node_removal_policy (the `GetV1NodeRemovalPolicy` operationId).
GetV1NodeRemovalPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodeRemovalPolicyResponse, error)
// PutV1NodeRemovalPolicyWithBodyWithResponse Update auto node removal policy
//
// Updates the customer's "Auto remove machines" settings. When offlineThreshold
// is omitted the stored threshold is kept (disabling never clears it), so it is
// required only when enabling for the first time. The equivalent duration must be
// at least 1 day (whole numbers). An omitted enabled binds as false.
// Returns 204 No Content on success.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
PutV1NodeRemovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)
// PutV1NodeRemovalPolicyWithResponse Update auto node removal policy
//
// Updates the customer's "Auto remove machines" settings. When offlineThreshold
// is omitted the stored threshold is kept (disabling never clears it), so it is
// required only when enabling for the first time. The equivalent duration must be
// at least 1 day (whole numbers). An omitted enabled binds as false.
// Returns 204 No Content on success.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/node_removal_policy (the `PutV1NodeRemovalPolicy` operationId).
PutV1NodeRemovalPolicyWithResponse(ctx context.Context, body PutV1NodeRemovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodeRemovalPolicyResponse, error)
// GetV1NodegroupsWithResponse Get node groups
//
// Get list of node groups with optional filtering and different view modes. Use view=detail for comprehensive metrics and view=basic for minimal ID/Name list. Detail view supports additional filters: computeZoneNames (partial match), healthStatuses, and gpuTypes
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodegroups (the `GetV1Nodegroups` operationId).
GetV1NodegroupsWithResponse(ctx context.Context, params *GetV1NodegroupsParams, reqEditors ...RequestEditorFn) (*GetV1NodegroupsResponse, error)
// GetV1NodegroupsOptionsWithResponse Get available query options for node groups
//
// Returns available filters and sorting options for querying node groups.
// Filter options may be simple strings (e.g., health statuses, GPU types) or hierarchical objects (e.g., compute zones with nested nodegroups).
//
// Filter options examples:
// - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}`
// - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodegroups/options (the `GetV1NodegroupsOptions` operationId).
GetV1NodegroupsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NodegroupsOptionsResponse, error)
// DeleteV1NodesWithBodyWithResponse Delete multiple nodes (soft delete)
//
// Soft delete multiple nodes by setting the deleted flag to true.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
DeleteV1NodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
// DeleteV1NodesWithResponse Delete multiple nodes (soft delete)
//
// Soft delete multiple nodes by setting the deleted flag to true.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
DeleteV1NodesWithResponse(ctx context.Context, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
// GetV1NodesWithResponse Get nodes overview and states
//
// Get list of nodes with current state and overview. Use view=detail (default) for full response or view=basic for a lightweight nodeUUID + hostname list (see models.BasicNodesResponse). All filter parameters are optional arrays - empty means no filter applied.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodes (the `GetV1Nodes` operationId).
GetV1NodesWithResponse(ctx context.Context, params *GetV1NodesParams, reqEditors ...RequestEditorFn) (*GetV1NodesResponse, error)
// GetV1NodesHistoryWithResponse List node removal history
//
// Returns removed machines for the customer, newest first. Covers both
// auto-removed (actorType system, deleted by the node reaper) and manually
// deleted (actorType user) nodes. The same machine may appear multiple times
// across remove/re-enroll cycles.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodes/history (the `GetV1NodesHistory` operationId).
GetV1NodesHistoryWithResponse(ctx context.Context, params *GetV1NodesHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesHistoryResponse, error)
// GetV1NodesOptionsWithResponse Get available query options for nodes
//
// Returns available filters and sorting options for querying nodes.
// Filter options may be simple strings (e.g., health statuses) or hierarchical objects (e.g., compute zones with nested nodegroups).
//
// Filter options examples:
// - Simple strings: `{"name": "healthStatuses", "options": ["Healthy", "Degraded", "Unhealthy"]}`
// - Hierarchical objects: `{"name": "computeZones", "options": [{"id": "cz-1", "value": "Zone 1", "options": [{"id": "ng-1", "value": "Node Group 1"}]}]}`
//
// The available options depend on the agentType view. The OOB view omits the gpuTypes filter and the GPU/kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodes/options (the `GetV1NodesOptions` operationId).
GetV1NodesOptionsWithResponse(ctx context.Context, params *GetV1NodesOptionsParams, reqEditors ...RequestEditorFn) (*GetV1NodesOptionsResponse, error)
// DeleteV1NodesNodeUuidWithResponse Delete a node (soft delete)
//
// Soft delete a node by setting the deleted flag to true.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/nodes/{nodeUUID} (the `DeleteV1NodesNodeUuid` operationId).
DeleteV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)
// GetV1NodesNodeUuidWithResponse Get detailed node information
//
// Get detailed information about a specific node including resources, system info, and health status
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodes/{nodeUUID} (the `GetV1NodesNodeUuid` operationId).
GetV1NodesNodeUuidWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidResponse, error)
// GetV1NodesNodeUuidHealthHistoryWithResponse Get node health history
//
// Returns the health status timeline and summary for a node over a time window.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/nodes/{nodeUUID}/health_history (the `GetV1NodesNodeUuidHealthHistory` operationId).
GetV1NodesNodeUuidHealthHistoryWithResponse(ctx context.Context, nodeUUID string, params *GetV1NodesNodeUuidHealthHistoryParams, reqEditors ...RequestEditorFn) (*GetV1NodesNodeUuidHealthHistoryResponse, error)
// PutV1NodesNodeUuidTagsWithBodyWithResponse Set all tags for a node
//
// Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
//
// Tag Validation Rules:
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
PutV1NodesNodeUuidTagsWithBodyWithResponse(ctx context.Context, nodeUUID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)
// PutV1NodesNodeUuidTagsWithResponse Set all tags for a node
//
// Set all tags for a node to exactly the provided list (PUT semantics - full replacement)
//
// Tag Validation Rules:
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/nodes/{nodeUUID}/tags (the `PutV1NodesNodeUuidTags` operationId).
PutV1NodesNodeUuidTagsWithResponse(ctx context.Context, nodeUUID string, body PutV1NodesNodeUuidTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NodesNodeUuidTagsResponse, error)
// GetV1NotificationDeliveryLogWithResponse List notification delivery logs
//
// Get paginated notification delivery log entries for the customer, with optional filtering
// by component, channel, status, alertUUID, and time range.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/notification_delivery_log (the `GetV1NotificationDeliveryLog` operationId).
GetV1NotificationDeliveryLogWithResponse(ctx context.Context, params *GetV1NotificationDeliveryLogParams, reqEditors ...RequestEditorFn) (*GetV1NotificationDeliveryLogResponse, error)
// GetV1NotificationPreferencesWithResponse List notification preferences
//
// Get all notification preferences for the customer. The public resource name remains preferences for compatibility,
// but each preference is now id-addressable and applies one configuration
// (alert statuses, scope, and notification targets) to a set of components. Multiple
// preferences may cover the same component. Returns an empty list if none are configured.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/notification_preferences (the `GetV1NotificationPreferences` operationId).
GetV1NotificationPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferencesResponse, error)
// PostV1NotificationPreferencesWithBodyWithResponse Create a notification preference
//
// Create a notification preference. The public path remains notification_preferences
// for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope,
// notification targets) to one or more components. The settings apply equally to every
// component listed. To give a component different settings, create a separate preference.
//
// notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved.
// If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
//
// Channel config structures:
// - email: {"recipients": ["addr@example.com", ...]} (at least one required)
// - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required)
// - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
PostV1NotificationPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)
// PostV1NotificationPreferencesWithResponse Create a notification preference
//
// Create a notification preference. The public path remains notification_preferences
// for compatibility; each row is id-addressable and applies one configuration (alert statuses, scope,
// notification targets) to one or more components. The settings apply equally to every
// component listed. To give a component different settings, create a separate preference.
//
// notifiedOn: array of alert statuses to notify on. Valid values: Critical, Warning, Resolved.
// If notifiedOn is empty or omitted, defaults to all three: [Critical, Warning, Resolved].
//
// Channel config structures:
// - email: {"recipients": ["addr@example.com", ...]} (at least one required)
// - slack: {"recipients": ["channel@workspace.slack.com", ...]} (at least one required)
// - webhook: {"customerID": "cust-acme" (optional), "orgName": "0000000000000000" (optional), "webhookIDs": ["wh_abc123", ...]} (at least one webhook ID required; customerID defaults to the current customer when omitted; orgName is round-tripped for UI display only)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/notification_preferences (the `PostV1NotificationPreferences` operationId).
PostV1NotificationPreferencesWithResponse(ctx context.Context, body PostV1NotificationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1NotificationPreferencesResponse, error)
// DeleteV1NotificationPreferenceByIDWithResponse Delete a notification preference by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/notification_preferences/{id} (the `DeleteV1NotificationPreferenceByID` operationId).
DeleteV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1NotificationPreferenceByIDResponse, error)
// GetV1NotificationPreferenceByIDWithResponse Get a notification preference by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/notification_preferences/{id} (the `GetV1NotificationPreferenceByID` operationId).
GetV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1NotificationPreferenceByIDResponse, error)
// PutV1NotificationPreferenceByIDWithBodyWithResponse Update a notification preference
//
// Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
PutV1NotificationPreferenceByIDWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)
// PutV1NotificationPreferenceByIDWithResponse Update a notification preference
//
// Update the preference addressed by id. Uses the same body shape as create; components, notifiedOn, scope, and targets replace the stored configuration, while omitted active preserves the existing pause/resume toggle.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/notification_preferences/{id} (the `PutV1NotificationPreferenceByID` operationId).
PutV1NotificationPreferenceByIDWithResponse(ctx context.Context, id string, body PutV1NotificationPreferenceByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1NotificationPreferenceByIDResponse, error)
// GetV1OverviewWithResponse Get overview
//
// Get overview of the system.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/overview (the `GetV1Overview` operationId).
GetV1OverviewWithResponse(ctx context.Context, params *GetV1OverviewParams, reqEditors ...RequestEditorFn) (*GetV1OverviewResponse, error)
// GetV1ReportsErrorWithResponse Get error report
//
// Get error report grouped by error type or node in JSON or CSV format. Default response is JSON. For CSV download (list view only), set format=csv query parameter. Response structure varies based on view and groupBy parameters:
// - When view=list and groupBy=error: The 'errors' field is populated with paginated list
// - When view=list and groupBy=node: The 'nodes' field is populated with paginated list
// - When view=graph and groupBy=error: Returns time-series data with optional step parameter (page and pageSize not used)
// - When view=overview: Returns aggregate statistics (groupBy parameter not required, page and pageSize not used)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/reports/error (the `GetV1ReportsError` operationId).
GetV1ReportsErrorWithResponse(ctx context.Context, params *GetV1ReportsErrorParams, reqEditors ...RequestEditorFn) (*GetV1ReportsErrorResponse, error)
// GetV1ReportsInventoryWithResponse Get inventory report
//
// Get inventory report in JSON or CSV format. Default response is JSON. For CSV download, set format=csv. For a signed CSV bundle (CSV plus a cosign-verifiable signature, packaged as a zip), set format=csv and signed=true.
// Each node includes enrolledAt (original enrollment time, preserved across re-enrollment) and removedAt (soft-delete time for removed nodes, manual and auto-removed alike; absent for active nodes).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
GetV1ReportsInventoryWithResponse(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*GetV1ReportsInventoryResponse, error)
// GetV1RetentionPolicyWithResponse Get data retention policy
//
// Returns the customer's current data retention policy (retention period in days).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/retention_policy (the `GetV1RetentionPolicy` operationId).
GetV1RetentionPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1RetentionPolicyResponse, error)
// PutV1RetentionPolicyWithBodyWithResponse Update data retention policy
//
// Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
PutV1RetentionPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)
// PutV1RetentionPolicyWithResponse Update data retention policy
//
// Sets the customer's data retention period (1–365 days). Returns 204 No Content on success.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/retention_policy (the `PutV1RetentionPolicy` operationId).
PutV1RetentionPolicyWithResponse(ctx context.Context, body PutV1RetentionPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RetentionPolicyResponse, error)
// GetV1TagsWithResponse List all unique tags
//
// Returns all unique tags for the customer with optional filtering.
// Supports filtering by prefix, node UUID, node group ID, or compute zone ID.
// At most one of nodeUUID, nodeGroupId, or computeZoneId can be specified.
// Prefix can be combined with any of the other filters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/tags (the `GetV1Tags` operationId).
GetV1TagsWithResponse(ctx context.Context, params *GetV1TagsParams, reqEditors ...RequestEditorFn) (*GetV1TagsResponse, error)
// PatchV1TagsWithBodyWithResponse Batch update tags for multiple nodes
//
// Add and/or remove tags for multiple nodes in a single atomic operation.
// Returns 204 No Content on success. Fails if all nodes are invalid.
//
// Tag Validation Rules (applies to tags being added):
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
PatchV1TagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)
// PatchV1TagsWithResponse Batch update tags for multiple nodes
//
// Add and/or remove tags for multiple nodes in a single atomic operation.
// Returns 204 No Content on success. Fails if all nodes are invalid.
//
// Tag Validation Rules (applies to tags being added):
// - Format: lowercase letters (a-z), numbers (0-9), hyphens (-), and underscores (_)
// - Must start and end with alphanumeric characters
// - Separators (hyphen, underscore) cannot be consecutive
// - Maximum length: 50 characters
// - Reserved names: null, none, undefined, true, false
// - Examples: "gpu-health", "test_tag", "node123"
//
// Note: Tags being removed are not validated, allowing removal of invalid legacy tags.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/tags (the `PatchV1Tags` operationId).
PatchV1TagsWithResponse(ctx context.Context, body PatchV1TagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1TagsResponse, error)
// GetV1XIDBurstsWithResponse List finalized XID bursts
//
// Returns the flat finalized-burst table for the authenticated customer. Results default to startTime descending (latest first), with burstId descending as the stable pagination tie-breaker.
// The selected time range applies to burst start time using [startTime, endTime) and is required, matching GET /v1/events. Relative mode requires timeMode=relative and a positive Go duration window; absolute mode (default) requires startTime and endTime. Do not combine window with startTime/endTime. Absolute endTime must be after startTime.
// Node-group and compute-zone filters use customer-scoped UUIDs, matching the node and alert APIs. Values are OR-combined within each dimension and AND-combined across dimensions. Exclusion filters select every assignment except the supplied IDs and cannot be combined with the inclusive filter for the same dimension. Filter option IDs and labels are available from GET /v1/nodes/options. Bursts on soft-deleted nodes are never returned.
// Multiple xidNumbers are OR-combined: a burst matches if it contains any of the requested XIDs (including bursts that contain only one of them, or both). String search parameters are case-insensitive substring filters. Categories, subcategories, and action-code array parameters (e.g. tenantActions) are exact-match checkbox-style filters, OR-combined within the same parameter; their values come from GET /v1/xid/bursts/options. All filters across different columns/parameters are AND-combined, including a *Search param and its exact-match sibling. Action filters and searches match catalog action codes (not Guidance Classes text) and expand public alias codes (e.g. CONTACT_SUPPORT) to the raw DB forms they replace (RETURN_TO_PROVIDER, PULL_FROM_SERVICE), so options-published codes match stored bursts.
// Response fields are shaped server-side from the caller's persona. Tenants receive jobDisruption, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, jobDisruptionDueToPlatformIssue, XID catalog descriptions, and DC-admin actions. Action text is resolved from the persona-appropriate Guidance Classes catalog. Each item includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs), matching alert timeline Level 1 inventory enrichment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/xid/bursts (the `GetV1XIDBursts` operationId).
GetV1XIDBurstsWithResponse(ctx context.Context, params *GetV1XIDBurstsParams, reqEditors ...RequestEditorFn) (*GetV1XIDBurstsResponse, error)
// GetV1XIDBurstOptionsWithResponse Get XID burst filter options
//
// Returns all filter options available to the authenticated customer and persona. Options are not narrowed by the table's current time, scope, or column filters. This v1 response contains no counts and has no cross-filter impact-count behavior.
// Tenant callers receive public disruption values, XIDs, and tenant actions. Cloud-provider/NCP callers additionally receive platform-disruption values, categories, subcategories, and DC-admin actions. suggestedActions uses the shared action model; clients group it by persona and type. Category and action labels are resolved from the persona-appropriate catalogs.
// jobDisruption and jobDisruptionDueToPlatformIssue are always the full [true, false] domain. XID numbers, categories, subcategories, and suggestedActions reflect the distinct values actually present across the customer's finalized bursts (still unfiltered by the current table filters). Action codes are alias-normalized and de-duplicated after normalization, matching GET /v1/xid/bursts. Hostname filtering uses the free-text hostnameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
GetV1XIDBurstOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1XIDBurstOptionsResponse, error)
// GetV1XIDBurstDetailWithResponse Get finalized XID burst details
//
// Returns the side-panel details for one finalized burst belonging to the authenticated customer.
// Response fields are shaped server-side from the caller's persona. Tenants receive the public job-disruption value, XID numbers with mnemonics, and tenant actions. Cloud-provider/NCP callers additionally receive category, subcategory, platform-attributed disruption, XID catalog descriptions, and all tenant plus DC-admin actions. Suggested action text is resolved from the persona-appropriate Guidance Classes catalog. The response includes nodeUuid, hostname, and the node's current nodeGroup/computeZone (display names and IDs).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/xid/bursts/{burstId} (the `GetV1XIDBurstDetail` operationId).
GetV1XIDBurstDetailWithResponse(ctx context.Context, burstId string, reqEditors ...RequestEditorFn) (*GetV1XIDBurstDetailResponse, error)
// GetV2CommandsWithResponse Get commands (v2)
//
// Get list of commands (v2).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/commands (the `GetV2Commands` operationId).
GetV2CommandsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2CommandsResponse, error)
// GetV2MetricsWithResponse Get aggregated metrics with time series for any aggregation level
//
// Returns historical chart data for customer, node group, compute zone, or node level. The service selects the appropriate query path for each metric and aggregation level. Aggregation functions are determined by metric configuration in base-config.yaml.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/metrics (the `GetV2Metrics` operationId).
GetV2MetricsWithResponse(ctx context.Context, params *GetV2MetricsParams, reqEditors ...RequestEditorFn) (*GetV2MetricsResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteV1AlertMuteRulesJSONRequestBody ¶ added in v1.0.0
type DeleteV1AlertMuteRulesJSONRequestBody = ModelsDeleteMuteRulesRequest
DeleteV1AlertMuteRulesJSONRequestBody defines body for DeleteV1AlertMuteRules for application/json ContentType.
type DeleteV1AlertMuteRulesResponse ¶ added in v1.0.0
type DeleteV1AlertMuteRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseDeleteV1AlertMuteRulesResponse ¶ added in v1.0.0
func ParseDeleteV1AlertMuteRulesResponse(rsp *http.Response) (*DeleteV1AlertMuteRulesResponse, error)
ParseDeleteV1AlertMuteRulesResponse parses an HTTP response from a DeleteV1AlertMuteRulesWithResponse call
func (DeleteV1AlertMuteRulesResponse) ContentType ¶ added in v1.0.0
func (r DeleteV1AlertMuteRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteV1AlertMuteRulesResponse) GetBody ¶
func (r DeleteV1AlertMuteRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1AlertMuteRulesResponse) GetJSON400 ¶
func (r DeleteV1AlertMuteRulesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON401 ¶
func (r DeleteV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON403 ¶
func (r DeleteV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON404 ¶
func (r DeleteV1AlertMuteRulesResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON499 ¶
func (r DeleteV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON500 ¶
func (r DeleteV1AlertMuteRulesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1AlertMuteRulesResponse) Status ¶ added in v1.0.0
func (r DeleteV1AlertMuteRulesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1AlertMuteRulesResponse) StatusCode ¶ added in v1.0.0
func (r DeleteV1AlertMuteRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1NodesJSONRequestBody ¶
type DeleteV1NodesJSONRequestBody = ModelsDeleteNodesRequest
DeleteV1NodesJSONRequestBody defines body for DeleteV1Nodes for application/json ContentType.
type DeleteV1NodesNodeUuidResponse ¶
type DeleteV1NodesNodeUuidResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseDeleteV1NodesNodeUuidResponse ¶
func ParseDeleteV1NodesNodeUuidResponse(rsp *http.Response) (*DeleteV1NodesNodeUuidResponse, error)
ParseDeleteV1NodesNodeUuidResponse parses an HTTP response from a DeleteV1NodesNodeUuidWithResponse call
func (DeleteV1NodesNodeUuidResponse) ContentType ¶
func (r DeleteV1NodesNodeUuidResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteV1NodesNodeUuidResponse) GetBody ¶
func (r DeleteV1NodesNodeUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1NodesNodeUuidResponse) GetJSON200 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON400 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON401 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON403 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON404 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON499 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON500 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON503 ¶
func (r DeleteV1NodesNodeUuidResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteV1NodesNodeUuidResponse) Status ¶
func (r DeleteV1NodesNodeUuidResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1NodesNodeUuidResponse) StatusCode ¶
func (r DeleteV1NodesNodeUuidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1NodesResponse ¶
type DeleteV1NodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseDeleteV1NodesResponse ¶
func ParseDeleteV1NodesResponse(rsp *http.Response) (*DeleteV1NodesResponse, error)
ParseDeleteV1NodesResponse parses an HTTP response from a DeleteV1NodesWithResponse call
func (DeleteV1NodesResponse) ContentType ¶
func (r DeleteV1NodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteV1NodesResponse) GetBody ¶
func (r DeleteV1NodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1NodesResponse) GetJSON200 ¶
func (r DeleteV1NodesResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteV1NodesResponse) GetJSON400 ¶
func (r DeleteV1NodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1NodesResponse) GetJSON401 ¶
func (r DeleteV1NodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1NodesResponse) GetJSON403 ¶
func (r DeleteV1NodesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1NodesResponse) GetJSON404 ¶
func (r DeleteV1NodesResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1NodesResponse) GetJSON499 ¶
func (r DeleteV1NodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1NodesResponse) GetJSON500 ¶
func (r DeleteV1NodesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1NodesResponse) GetJSON503 ¶
func (r DeleteV1NodesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteV1NodesResponse) Status ¶
func (r DeleteV1NodesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1NodesResponse) StatusCode ¶
func (r DeleteV1NodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1NotificationPreferenceByIDResponse ¶ added in v1.0.0
type DeleteV1NotificationPreferenceByIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseDeleteV1NotificationPreferenceByIDResponse ¶ added in v1.0.0
func ParseDeleteV1NotificationPreferenceByIDResponse(rsp *http.Response) (*DeleteV1NotificationPreferenceByIDResponse, error)
ParseDeleteV1NotificationPreferenceByIDResponse parses an HTTP response from a DeleteV1NotificationPreferenceByIDWithResponse call
func (DeleteV1NotificationPreferenceByIDResponse) ContentType ¶ added in v1.0.0
func (r DeleteV1NotificationPreferenceByIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteV1NotificationPreferenceByIDResponse) GetBody ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON400 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON401 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON403 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON404 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON499 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON500 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON503 ¶
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) Status ¶ added in v1.0.0
func (r DeleteV1NotificationPreferenceByIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1NotificationPreferenceByIDResponse) StatusCode ¶ added in v1.0.0
func (r DeleteV1NotificationPreferenceByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertMuteRulesResponse ¶ added in v1.0.0
type GetV1AlertMuteRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsListMuteRulesResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertMuteRulesResponse ¶ added in v1.0.0
func ParseGetV1AlertMuteRulesResponse(rsp *http.Response) (*GetV1AlertMuteRulesResponse, error)
ParseGetV1AlertMuteRulesResponse parses an HTTP response from a GetV1AlertMuteRulesWithResponse call
func (GetV1AlertMuteRulesResponse) ContentType ¶ added in v1.0.0
func (r GetV1AlertMuteRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertMuteRulesResponse) GetBody ¶
func (r GetV1AlertMuteRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertMuteRulesResponse) GetJSON200 ¶
func (r GetV1AlertMuteRulesResponse) GetJSON200() *ModelsListMuteRulesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON401 ¶
func (r GetV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON403 ¶
func (r GetV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON499 ¶
func (r GetV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON500 ¶
func (r GetV1AlertMuteRulesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertMuteRulesResponse) Status ¶ added in v1.0.0
func (r GetV1AlertMuteRulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertMuteRulesResponse) StatusCode ¶ added in v1.0.0
func (r GetV1AlertMuteRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertTimelineFilterOptionsParams ¶ added in v1.0.0
type GetV1AlertTimelineFilterOptionsParams struct {
// Active Active Alerts view when true; Historical Alerts when false (default: false)
Active *bool `form:"active,omitempty" json:"active,omitempty"`
}
GetV1AlertTimelineFilterOptionsParams defines parameters for GetV1AlertTimelineFilterOptions.
type GetV1AlertTimelineFilterOptionsResponse ¶ added in v1.0.0
type GetV1AlertTimelineFilterOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsOptions
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertTimelineFilterOptionsResponse ¶ added in v1.0.0
func ParseGetV1AlertTimelineFilterOptionsResponse(rsp *http.Response) (*GetV1AlertTimelineFilterOptionsResponse, error)
ParseGetV1AlertTimelineFilterOptionsResponse parses an HTTP response from a GetV1AlertTimelineFilterOptionsWithResponse call
func (GetV1AlertTimelineFilterOptionsResponse) ContentType ¶ added in v1.0.0
func (r GetV1AlertTimelineFilterOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertTimelineFilterOptionsResponse) GetBody ¶
func (r GetV1AlertTimelineFilterOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON200 ¶
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON200() *ModelsOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON401 ¶
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON499 ¶
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON500 ¶
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) Status ¶ added in v1.0.0
func (r GetV1AlertTimelineFilterOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertTimelineFilterOptionsResponse) StatusCode ¶ added in v1.0.0
func (r GetV1AlertTimelineFilterOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams ¶ added in v1.0.0
type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams struct {
// Order Sort direction on event time: 'desc' (default, most recent update first) or 'asc' (chronological, oldest first)
Order *GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// Page Page number (0-indexed). Only applied when pageSize is supplied, but always validated: an invalid value returns 400 either way
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Timeline events per page. Omit for the full, unpaginated timeline (default behavior)
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParams defines parameters for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid.
type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder ¶ added in v1.0.0
type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder string
GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder defines parameters for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuid.
const ( GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrderAsc GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder = "asc" GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrderDesc GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder = "desc" )
Defines values for GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder.
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidParamsOrder enum.
type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse ¶
type GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsAlertTimelineDetailResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse ¶
func ParseGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse(rsp *http.Response) (*GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse, error)
ParseGetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse parses an HTTP response from a GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidWithResponse call
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) ContentType ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetBody ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON200 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON200() *ModelsAlertTimelineDetailResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON400 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON401 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON404 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON499 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON500 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) Status ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) StatusCode ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertTimelineNodesNodeUuidAlertsParams ¶
type GetV1AlertTimelineNodesNodeUuidAlertsParams struct {
// Active Active Alerts view when true; Historical Alerts when false (default: false)
Active *bool `form:"active,omitempty" json:"active,omitempty"`
// WithoutPsirt Exclude PSIRT alerts from results (default: false)
WithoutPsirt *bool `form:"withoutPsirt,omitempty" json:"withoutPsirt,omitempty"`
// SortBy Sortable table-header column.
SortBy *GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort direction for sortBy
Order *GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// AlertStates Filter to alerts whose state matches (OR within dimension), carried from the Level 1 filter. Resolved applies to the Historical view only (active=false).
AlertStates *[]GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates `form:"alertStates,omitempty" json:"alertStates,omitempty"`
// ComponentTypes Filter to alerts on matching component types. Use the value 'psirt' to match all security-vulnerability CVEs (the collapsed 'Security Vulnerability' option).
ComponentTypes *[]string `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`
// GpuTypes Node-level filter carried from Level 1: match the node's GPU type (OR within dimension)
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// NodeGroupIds Node-level filter carried from Level 1: match the node's node group by ID (OR within dimension)
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Node-level filter carried from Level 1: match the node's compute zone by ID (OR within dimension)
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of alerts per page
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1AlertTimelineNodesNodeUuidAlertsParams defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.
type GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates ¶ added in v1.0.0
type GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates string
GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.
const ( GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStatesCritical GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates = "Critical" GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStatesResolved GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates = "Resolved" GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStatesWarning GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates = "Warning" )
Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates.
func (GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsAlertStates enum.
type GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder ¶ added in v1.0.0
type GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder string
GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.
const ( GetV1AlertTimelineNodesNodeUuidAlertsParamsOrderAsc GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder = "asc" GetV1AlertTimelineNodesNodeUuidAlertsParamsOrderDesc GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder = "desc" )
Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder.
func (GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsOrder enum.
type GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy ¶ added in v1.0.0
type GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy string
GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.
const ( GetV1AlertTimelineNodesNodeUuidAlertsParamsSortByLastUpdate GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy = "lastUpdate" GetV1AlertTimelineNodesNodeUuidAlertsParamsSortByStartTime GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy = "startTime" )
Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy.
func (GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy enum.
type GetV1AlertTimelineNodesNodeUuidAlertsResponse ¶
type GetV1AlertTimelineNodesNodeUuidAlertsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsAlertTimelineNodeAlertsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertTimelineNodesNodeUuidAlertsResponse ¶
func ParseGetV1AlertTimelineNodesNodeUuidAlertsResponse(rsp *http.Response) (*GetV1AlertTimelineNodesNodeUuidAlertsResponse, error)
ParseGetV1AlertTimelineNodesNodeUuidAlertsResponse parses an HTTP response from a GetV1AlertTimelineNodesNodeUuidAlertsWithResponse call
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) ContentType ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetBody ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON200 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON200() *ModelsAlertTimelineNodeAlertsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON400 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON401 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON404 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON499 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON500 ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) Status ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) StatusCode ¶
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertTimelineNodesParams ¶
type GetV1AlertTimelineNodesParams struct {
// Active Active Alerts view when true; Historical Alerts when false (default: false)
Active *bool `form:"active,omitempty" json:"active,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of nodes per page
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Hostname Case-insensitive partial match on hostname
Hostname *string `form:"hostname,omitempty" json:"hostname,omitempty"`
// SortBy Sortable table-header column. alert ranks by critical then warning count.
SortBy *GetV1AlertTimelineNodesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort direction for sortBy
Order *GetV1AlertTimelineNodesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// GpuTypes Filter to nodes with matching GPU types (OR within dimension)
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// NodeGroupIds Filter to nodes in matching node groups by node group ID (OR within dimension)
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Filter to nodes in matching compute zones by compute zone ID (OR within dimension)
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// AlertStates Filter to nodes with at least one alert whose state matches (OR within dimension). Resolved applies to the Historical view only (active=false).
AlertStates *[]GetV1AlertTimelineNodesParamsAlertStates `form:"alertStates,omitempty" json:"alertStates,omitempty"`
// ComponentTypes Filter to nodes with alerts on matching component types. Use the value 'psirt' to match all security-vulnerability CVEs (the collapsed 'Security Vulnerability' option).
ComponentTypes *[]string `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`
}
GetV1AlertTimelineNodesParams defines parameters for GetV1AlertTimelineNodes.
type GetV1AlertTimelineNodesParamsAlertStates ¶ added in v1.0.0
type GetV1AlertTimelineNodesParamsAlertStates string
GetV1AlertTimelineNodesParamsAlertStates defines parameters for GetV1AlertTimelineNodes.
const ( GetV1AlertTimelineNodesParamsAlertStatesCritical GetV1AlertTimelineNodesParamsAlertStates = "Critical" GetV1AlertTimelineNodesParamsAlertStatesResolved GetV1AlertTimelineNodesParamsAlertStates = "Resolved" GetV1AlertTimelineNodesParamsAlertStatesWarning GetV1AlertTimelineNodesParamsAlertStates = "Warning" )
Defines values for GetV1AlertTimelineNodesParamsAlertStates.
func (GetV1AlertTimelineNodesParamsAlertStates) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesParamsAlertStates) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsAlertStates enum.
type GetV1AlertTimelineNodesParamsOrder ¶ added in v1.0.0
type GetV1AlertTimelineNodesParamsOrder string
GetV1AlertTimelineNodesParamsOrder defines parameters for GetV1AlertTimelineNodes.
const ( GetV1AlertTimelineNodesParamsOrderAsc GetV1AlertTimelineNodesParamsOrder = "asc" GetV1AlertTimelineNodesParamsOrderDesc GetV1AlertTimelineNodesParamsOrder = "desc" )
Defines values for GetV1AlertTimelineNodesParamsOrder.
func (GetV1AlertTimelineNodesParamsOrder) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsOrder enum.
type GetV1AlertTimelineNodesParamsSortBy ¶ added in v1.0.0
type GetV1AlertTimelineNodesParamsSortBy string
GetV1AlertTimelineNodesParamsSortBy defines parameters for GetV1AlertTimelineNodes.
const ( GetV1AlertTimelineNodesParamsSortByAlert GetV1AlertTimelineNodesParamsSortBy = "alert" GetV1AlertTimelineNodesParamsSortByComputeZone GetV1AlertTimelineNodesParamsSortBy = "computeZone" GetV1AlertTimelineNodesParamsSortByGpuType GetV1AlertTimelineNodesParamsSortBy = "gpuType" GetV1AlertTimelineNodesParamsSortByHostname GetV1AlertTimelineNodesParamsSortBy = "hostname" GetV1AlertTimelineNodesParamsSortByLastUpdate GetV1AlertTimelineNodesParamsSortBy = "lastUpdate" GetV1AlertTimelineNodesParamsSortByNodeGroup GetV1AlertTimelineNodesParamsSortBy = "nodeGroup" )
Defines values for GetV1AlertTimelineNodesParamsSortBy.
func (GetV1AlertTimelineNodesParamsSortBy) Valid ¶ added in v1.0.0
func (e GetV1AlertTimelineNodesParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsSortBy enum.
type GetV1AlertTimelineNodesResponse ¶
type GetV1AlertTimelineNodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsAlertTimelineNodesResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertTimelineNodesResponse ¶
func ParseGetV1AlertTimelineNodesResponse(rsp *http.Response) (*GetV1AlertTimelineNodesResponse, error)
ParseGetV1AlertTimelineNodesResponse parses an HTTP response from a GetV1AlertTimelineNodesWithResponse call
func (GetV1AlertTimelineNodesResponse) ContentType ¶
func (r GetV1AlertTimelineNodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertTimelineNodesResponse) GetBody ¶
func (r GetV1AlertTimelineNodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineNodesResponse) GetJSON200 ¶
func (r GetV1AlertTimelineNodesResponse) GetJSON200() *ModelsAlertTimelineNodesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON400 ¶
func (r GetV1AlertTimelineNodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON401 ¶
func (r GetV1AlertTimelineNodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON499 ¶
func (r GetV1AlertTimelineNodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON500 ¶
func (r GetV1AlertTimelineNodesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertTimelineNodesResponse) Status ¶
func (r GetV1AlertTimelineNodesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertTimelineNodesResponse) StatusCode ¶
func (r GetV1AlertTimelineNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertsNodeUuidParams ¶
type GetV1AlertsNodeUuidParams struct {
// Component Filter by component name
Component *string `form:"component,omitempty" json:"component,omitempty"`
// State Filter by alert state (Detected, Triggered, Resolved)
State *string `form:"state,omitempty" json:"state,omitempty"`
// Severity Filter by alert severity (Critical, Warning)
Severity *string `form:"severity,omitempty" json:"severity,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1AlertsNodeUuidParams defines parameters for GetV1AlertsNodeUuid.
type GetV1AlertsNodeUuidResponse ¶
type GetV1AlertsNodeUuidResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsNodeAlertResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertsNodeUuidResponse ¶
func ParseGetV1AlertsNodeUuidResponse(rsp *http.Response) (*GetV1AlertsNodeUuidResponse, error)
ParseGetV1AlertsNodeUuidResponse parses an HTTP response from a GetV1AlertsNodeUuidWithResponse call
func (GetV1AlertsNodeUuidResponse) ContentType ¶
func (r GetV1AlertsNodeUuidResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertsNodeUuidResponse) GetBody ¶
func (r GetV1AlertsNodeUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertsNodeUuidResponse) GetJSON200 ¶
func (r GetV1AlertsNodeUuidResponse) GetJSON200() *ModelsNodeAlertResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON400 ¶
func (r GetV1AlertsNodeUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON404 ¶
func (r GetV1AlertsNodeUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON499 ¶
func (r GetV1AlertsNodeUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON500 ¶
func (r GetV1AlertsNodeUuidResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertsNodeUuidResponse) Status ¶
func (r GetV1AlertsNodeUuidResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertsNodeUuidResponse) StatusCode ¶
func (r GetV1AlertsNodeUuidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AlertsParams ¶
type GetV1AlertsParams struct {
// NodeUUID Filter by node UUID
NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`
// Component Filter by component name
Component *string `form:"component,omitempty" json:"component,omitempty"`
// State Filter by alert state (Detected, Triggered, Resolved)
State *string `form:"state,omitempty" json:"state,omitempty"`
// Severity Filter by alert severity (Critical, Warning)
Severity *string `form:"severity,omitempty" json:"severity,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1AlertsParams defines parameters for GetV1Alerts.
type GetV1AlertsResponse ¶
type GetV1AlertsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsAlertResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1AlertsResponse ¶
func ParseGetV1AlertsResponse(rsp *http.Response) (*GetV1AlertsResponse, error)
ParseGetV1AlertsResponse parses an HTTP response from a GetV1AlertsWithResponse call
func (GetV1AlertsResponse) ContentType ¶
func (r GetV1AlertsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AlertsResponse) GetBody ¶
func (r GetV1AlertsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertsResponse) GetJSON200 ¶
func (r GetV1AlertsResponse) GetJSON200() *ModelsAlertResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertsResponse) GetJSON400 ¶
func (r GetV1AlertsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertsResponse) GetJSON499 ¶
func (r GetV1AlertsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertsResponse) GetJSON500 ¶
func (r GetV1AlertsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1AlertsResponse) Status ¶
func (r GetV1AlertsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AlertsResponse) StatusCode ¶
func (r GetV1AlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AuthStatusResponse ¶ added in v1.0.0
type GetV1AuthStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsAuthStatusResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
}
func ParseGetV1AuthStatusResponse ¶ added in v1.0.0
func ParseGetV1AuthStatusResponse(rsp *http.Response) (*GetV1AuthStatusResponse, error)
ParseGetV1AuthStatusResponse parses an HTTP response from a GetV1AuthStatusWithResponse call
func (GetV1AuthStatusResponse) ContentType ¶ added in v1.0.0
func (r GetV1AuthStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1AuthStatusResponse) GetBody ¶
func (r GetV1AuthStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AuthStatusResponse) GetJSON200 ¶
func (r GetV1AuthStatusResponse) GetJSON200() *ModelsAuthStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AuthStatusResponse) GetJSON401 ¶
func (r GetV1AuthStatusResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AuthStatusResponse) GetJSON403 ¶
func (r GetV1AuthStatusResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1AuthStatusResponse) GetJSON499 ¶
func (r GetV1AuthStatusResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AuthStatusResponse) Status ¶ added in v1.0.0
func (r GetV1AuthStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AuthStatusResponse) StatusCode ¶ added in v1.0.0
func (r GetV1AuthStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1Computezones200JSONResponseBody ¶
type GetV1Computezones200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1Computezones200JSONResponseBody defines parameters for GetV1Computezones.
func (GetV1Computezones200JSONResponseBody) AsModelsComputeZonesResponse ¶
func (t GetV1Computezones200JSONResponseBody) AsModelsComputeZonesResponse() (ModelsComputeZonesResponse, error)
AsModelsComputeZonesResponse returns the union data inside the GetV1Computezones200JSONResponseBody as a ModelsComputeZonesResponse
func (GetV1Computezones200JSONResponseBody) AsModelsListComputeZonesResponse ¶
func (t GetV1Computezones200JSONResponseBody) AsModelsListComputeZonesResponse() (ModelsListComputeZonesResponse, error)
AsModelsListComputeZonesResponse returns the union data inside the GetV1Computezones200JSONResponseBody as a ModelsListComputeZonesResponse
func (*GetV1Computezones200JSONResponseBody) FromModelsComputeZonesResponse ¶
func (t *GetV1Computezones200JSONResponseBody) FromModelsComputeZonesResponse(v ModelsComputeZonesResponse) error
FromModelsComputeZonesResponse overwrites any union data inside the GetV1Computezones200JSONResponseBody as the provided ModelsComputeZonesResponse
func (*GetV1Computezones200JSONResponseBody) FromModelsListComputeZonesResponse ¶
func (t *GetV1Computezones200JSONResponseBody) FromModelsListComputeZonesResponse(v ModelsListComputeZonesResponse) error
FromModelsListComputeZonesResponse overwrites any union data inside the GetV1Computezones200JSONResponseBody as the provided ModelsListComputeZonesResponse
func (GetV1Computezones200JSONResponseBody) MarshalJSON ¶
func (t GetV1Computezones200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1Computezones200JSONResponseBody) MergeModelsComputeZonesResponse ¶
func (t *GetV1Computezones200JSONResponseBody) MergeModelsComputeZonesResponse(v ModelsComputeZonesResponse) error
MergeModelsComputeZonesResponse performs a merge with any union data inside the GetV1Computezones200JSONResponseBody, using the provided ModelsComputeZonesResponse
func (*GetV1Computezones200JSONResponseBody) MergeModelsListComputeZonesResponse ¶
func (t *GetV1Computezones200JSONResponseBody) MergeModelsListComputeZonesResponse(v ModelsListComputeZonesResponse) error
MergeModelsListComputeZonesResponse performs a merge with any union data inside the GetV1Computezones200JSONResponseBody, using the provided ModelsListComputeZonesResponse
func (*GetV1Computezones200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1Computezones200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1ComputezonesParams ¶
type GetV1ComputezonesParams struct {
// View View mode: 'detail' for comprehensive metrics (default) or 'basic' for essential fields
View *GetV1ComputezonesParamsView `form:"view,omitempty" json:"view,omitempty"`
// IncludeMetrics [DETAIL VIEW ONLY] Include metrics in response (default: true). Set to false for better performance when metrics are not needed.
IncludeMetrics *bool `form:"includeMetrics,omitempty" json:"includeMetrics,omitempty"`
// ComputeZoneIds List of compute zone IDs to filter (comma-separated)
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1ComputezonesParams defines parameters for GetV1Computezones.
type GetV1ComputezonesParamsView ¶
type GetV1ComputezonesParamsView string
GetV1ComputezonesParamsView defines parameters for GetV1Computezones.
const ( GetV1ComputezonesParamsViewBasic GetV1ComputezonesParamsView = "basic" GetV1ComputezonesParamsViewDetail GetV1ComputezonesParamsView = "detail" )
Defines values for GetV1ComputezonesParamsView.
func (GetV1ComputezonesParamsView) Valid ¶
func (e GetV1ComputezonesParamsView) Valid() bool
Valid indicates whether the value is a known member of the GetV1ComputezonesParamsView enum.
type GetV1ComputezonesResponse ¶
type GetV1ComputezonesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1Computezones200JSONResponseBody
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1ComputezonesResponse ¶
func ParseGetV1ComputezonesResponse(rsp *http.Response) (*GetV1ComputezonesResponse, error)
ParseGetV1ComputezonesResponse parses an HTTP response from a GetV1ComputezonesWithResponse call
func (GetV1ComputezonesResponse) ContentType ¶
func (r GetV1ComputezonesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ComputezonesResponse) GetBody ¶
func (r GetV1ComputezonesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ComputezonesResponse) GetJSON200 ¶
func (r GetV1ComputezonesResponse) GetJSON200() *GetV1Computezones200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ComputezonesResponse) GetJSON400 ¶
func (r GetV1ComputezonesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ComputezonesResponse) GetJSON401 ¶
func (r GetV1ComputezonesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ComputezonesResponse) GetJSON403 ¶
func (r GetV1ComputezonesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ComputezonesResponse) GetJSON499 ¶
func (r GetV1ComputezonesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ComputezonesResponse) GetJSON500 ¶
func (r GetV1ComputezonesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ComputezonesResponse) GetJSON503 ¶
func (r GetV1ComputezonesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1ComputezonesResponse) Status ¶
func (r GetV1ComputezonesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ComputezonesResponse) StatusCode ¶
func (r GetV1ComputezonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1EventsBucketsParams ¶ added in v1.0.0
type GetV1EventsBucketsParams struct {
// StartTime Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// TimeMode Time mode for range selection. Defaults to absolute.
TimeMode *GetV1EventsBucketsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
Window *string `form:"window,omitempty" json:"window,omitempty"`
// NodeUUID Filter by node UUID (optional)
NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`
// Component Filter by component (optional)
Component *string `form:"component,omitempty" json:"component,omitempty"`
// MaxBuckets Maximum number of buckets (default: 100, max: 1000)
MaxBuckets *int `form:"maxBuckets,omitempty" json:"maxBuckets,omitempty"`
}
GetV1EventsBucketsParams defines parameters for GetV1EventsBuckets.
type GetV1EventsBucketsParamsTimeMode ¶ added in v1.0.0
type GetV1EventsBucketsParamsTimeMode string
GetV1EventsBucketsParamsTimeMode defines parameters for GetV1EventsBuckets.
const ( GetV1EventsBucketsParamsTimeModeAbsolute GetV1EventsBucketsParamsTimeMode = "absolute" GetV1EventsBucketsParamsTimeModeRelative GetV1EventsBucketsParamsTimeMode = "relative" )
Defines values for GetV1EventsBucketsParamsTimeMode.
func (GetV1EventsBucketsParamsTimeMode) Valid ¶ added in v1.0.0
func (e GetV1EventsBucketsParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV1EventsBucketsParamsTimeMode enum.
type GetV1EventsBucketsResponse ¶ added in v1.0.0
type GetV1EventsBucketsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsEventBucketsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1EventsBucketsResponse ¶ added in v1.0.0
func ParseGetV1EventsBucketsResponse(rsp *http.Response) (*GetV1EventsBucketsResponse, error)
ParseGetV1EventsBucketsResponse parses an HTTP response from a GetV1EventsBucketsWithResponse call
func (GetV1EventsBucketsResponse) ContentType ¶ added in v1.0.0
func (r GetV1EventsBucketsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1EventsBucketsResponse) GetBody ¶
func (r GetV1EventsBucketsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1EventsBucketsResponse) GetJSON200 ¶
func (r GetV1EventsBucketsResponse) GetJSON200() *ModelsEventBucketsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON400 ¶
func (r GetV1EventsBucketsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON401 ¶
func (r GetV1EventsBucketsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON403 ¶
func (r GetV1EventsBucketsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON499 ¶
func (r GetV1EventsBucketsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON500 ¶
func (r GetV1EventsBucketsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON503 ¶
func (r GetV1EventsBucketsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1EventsBucketsResponse) Status ¶ added in v1.0.0
func (r GetV1EventsBucketsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1EventsBucketsResponse) StatusCode ¶ added in v1.0.0
func (r GetV1EventsBucketsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1EventsParams ¶ added in v1.0.0
type GetV1EventsParams struct {
// StartTime Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// TimeMode Time mode for range selection. Defaults to absolute.
TimeMode *GetV1EventsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
Window *string `form:"window,omitempty" json:"window,omitempty"`
// NodeUUID Filter by node UUID (optional)
NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`
// Component Filter by component (optional)
Component *string `form:"component,omitempty" json:"component,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1EventsParams defines parameters for GetV1Events.
type GetV1EventsParamsTimeMode ¶ added in v1.0.0
type GetV1EventsParamsTimeMode string
GetV1EventsParamsTimeMode defines parameters for GetV1Events.
const ( GetV1EventsParamsTimeModeAbsolute GetV1EventsParamsTimeMode = "absolute" GetV1EventsParamsTimeModeRelative GetV1EventsParamsTimeMode = "relative" )
Defines values for GetV1EventsParamsTimeMode.
func (GetV1EventsParamsTimeMode) Valid ¶ added in v1.0.0
func (e GetV1EventsParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV1EventsParamsTimeMode enum.
type GetV1EventsResponse ¶ added in v1.0.0
type GetV1EventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsEventsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1EventsResponse ¶ added in v1.0.0
func ParseGetV1EventsResponse(rsp *http.Response) (*GetV1EventsResponse, error)
ParseGetV1EventsResponse parses an HTTP response from a GetV1EventsWithResponse call
func (GetV1EventsResponse) ContentType ¶ added in v1.0.0
func (r GetV1EventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1EventsResponse) GetBody ¶
func (r GetV1EventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1EventsResponse) GetJSON200 ¶
func (r GetV1EventsResponse) GetJSON200() *ModelsEventsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1EventsResponse) GetJSON400 ¶
func (r GetV1EventsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1EventsResponse) GetJSON401 ¶
func (r GetV1EventsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1EventsResponse) GetJSON403 ¶
func (r GetV1EventsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1EventsResponse) GetJSON499 ¶
func (r GetV1EventsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1EventsResponse) GetJSON500 ¶
func (r GetV1EventsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1EventsResponse) GetJSON503 ¶
func (r GetV1EventsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1EventsResponse) Status ¶ added in v1.0.0
func (r GetV1EventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1EventsResponse) StatusCode ¶ added in v1.0.0
func (r GetV1EventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1InfoResponse ¶ added in v1.0.0
type GetV1InfoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsInfoResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1InfoResponse ¶ added in v1.0.0
func ParseGetV1InfoResponse(rsp *http.Response) (*GetV1InfoResponse, error)
ParseGetV1InfoResponse parses an HTTP response from a GetV1InfoWithResponse call
func (GetV1InfoResponse) ContentType ¶ added in v1.0.0
func (r GetV1InfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1InfoResponse) GetBody ¶
func (r GetV1InfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1InfoResponse) GetJSON200 ¶
func (r GetV1InfoResponse) GetJSON200() *ModelsInfoResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1InfoResponse) GetJSON400 ¶
func (r GetV1InfoResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1InfoResponse) GetJSON499 ¶
func (r GetV1InfoResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1InfoResponse) GetJSON500 ¶
func (r GetV1InfoResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1InfoResponse) Status ¶ added in v1.0.0
func (r GetV1InfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1InfoResponse) StatusCode ¶ added in v1.0.0
func (r GetV1InfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1MetricsParams ¶ added in v1.0.0
type GetV1MetricsParams struct {
// IsCritical If 'true', only critical metrics are returned. If absent or 'false', all metrics are returned.
IsCritical *string `form:"isCritical,omitempty" json:"isCritical,omitempty"`
// Aggregatable If 'true', metrics that cannot be aggregated across nodes are excluded. If absent or 'false', all metrics are returned.
Aggregatable *string `form:"aggregatable,omitempty" json:"aggregatable,omitempty"`
// Type If set, only metrics matching this type are returned (e.g., 'utilization', 'limit'). If absent, all metrics are returned.
Type *string `form:"type,omitempty" json:"type,omitempty"`
// PsirtComponent Include active PSIRT CVE sub-components (default: false)
PsirtComponent *bool `form:"psirtComponent,omitempty" json:"psirtComponent,omitempty"`
// EntityLevel Optional entity scope for architecture-aware filtering. Currently only 'node' is supported.
EntityLevel *GetV1MetricsParamsEntityLevel `form:"entityLevel,omitempty" json:"entityLevel,omitempty"`
// EntityID Entity ID for architecture-aware filtering. Required when entityLevel is set.
EntityID *string `form:"entityID,omitempty" json:"entityID,omitempty"`
}
GetV1MetricsParams defines parameters for GetV1Metrics.
type GetV1MetricsParamsEntityLevel ¶ added in v1.0.0
type GetV1MetricsParamsEntityLevel string
GetV1MetricsParamsEntityLevel defines parameters for GetV1Metrics.
const (
GetV1MetricsParamsEntityLevelNode GetV1MetricsParamsEntityLevel = "node"
)
Defines values for GetV1MetricsParamsEntityLevel.
func (GetV1MetricsParamsEntityLevel) Valid ¶ added in v1.0.0
func (e GetV1MetricsParamsEntityLevel) Valid() bool
Valid indicates whether the value is a known member of the GetV1MetricsParamsEntityLevel enum.
type GetV1MetricsQueryRangeParams ¶ added in v1.0.0
type GetV1MetricsQueryRangeParams struct {
// Start Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
Start *string `form:"start,omitempty" json:"start,omitempty"`
// End End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
End *string `form:"end,omitempty" json:"end,omitempty"`
// TimeMode Time mode for range selection. Defaults to absolute.
TimeMode *GetV1MetricsQueryRangeParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
Window *string `form:"window,omitempty" json:"window,omitempty"`
// Step Query resolution step width in duration format (e.g. 1h, 1m). Minimum step width is 1 minute.
Step string `form:"step" json:"step"`
// Component Component name (e.g., accelerator-nvidia-clock-speed)
Component string `form:"component" json:"component"`
// Metric Name of the metric to query (e.g., accelerator_nvidia_clock_speed_graphics_mhz)
Metric string `form:"metric" json:"metric"`
// EntityLevel The level of the entity to query for. In the future we intend to support aggregation across tags, node groups, and compute zones
EntityLevel GetV1MetricsQueryRangeParamsEntityLevel `form:"entityLevel" json:"entityLevel"`
// EntityID The ID of the compute zone, node group, or node
EntityID string `form:"entityID" json:"entityID"`
}
GetV1MetricsQueryRangeParams defines parameters for GetV1MetricsQueryRange.
type GetV1MetricsQueryRangeParamsEntityLevel ¶ added in v1.0.0
type GetV1MetricsQueryRangeParamsEntityLevel string
GetV1MetricsQueryRangeParamsEntityLevel defines parameters for GetV1MetricsQueryRange.
const (
GetV1MetricsQueryRangeParamsEntityLevelNode GetV1MetricsQueryRangeParamsEntityLevel = "node"
)
Defines values for GetV1MetricsQueryRangeParamsEntityLevel.
func (GetV1MetricsQueryRangeParamsEntityLevel) Valid ¶ added in v1.0.0
func (e GetV1MetricsQueryRangeParamsEntityLevel) Valid() bool
Valid indicates whether the value is a known member of the GetV1MetricsQueryRangeParamsEntityLevel enum.
type GetV1MetricsQueryRangeParamsTimeMode ¶ added in v1.0.0
type GetV1MetricsQueryRangeParamsTimeMode string
GetV1MetricsQueryRangeParamsTimeMode defines parameters for GetV1MetricsQueryRange.
const ( GetV1MetricsQueryRangeParamsTimeModeAbsolute GetV1MetricsQueryRangeParamsTimeMode = "absolute" GetV1MetricsQueryRangeParamsTimeModeRelative GetV1MetricsQueryRangeParamsTimeMode = "relative" )
Defines values for GetV1MetricsQueryRangeParamsTimeMode.
func (GetV1MetricsQueryRangeParamsTimeMode) Valid ¶ added in v1.0.0
func (e GetV1MetricsQueryRangeParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV1MetricsQueryRangeParamsTimeMode enum.
type GetV1MetricsQueryRangeResponse ¶ added in v1.0.0
type GetV1MetricsQueryRangeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsQueryMetricRangeResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1MetricsQueryRangeResponse ¶ added in v1.0.0
func ParseGetV1MetricsQueryRangeResponse(rsp *http.Response) (*GetV1MetricsQueryRangeResponse, error)
ParseGetV1MetricsQueryRangeResponse parses an HTTP response from a GetV1MetricsQueryRangeWithResponse call
func (GetV1MetricsQueryRangeResponse) ContentType ¶ added in v1.0.0
func (r GetV1MetricsQueryRangeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1MetricsQueryRangeResponse) GetBody ¶
func (r GetV1MetricsQueryRangeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1MetricsQueryRangeResponse) GetJSON200 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON200() *ModelsQueryMetricRangeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON400 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON401 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON403 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON404 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON499 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON500 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON503 ¶
func (r GetV1MetricsQueryRangeResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1MetricsQueryRangeResponse) Status ¶ added in v1.0.0
func (r GetV1MetricsQueryRangeResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1MetricsQueryRangeResponse) StatusCode ¶ added in v1.0.0
func (r GetV1MetricsQueryRangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1MetricsResponse ¶ added in v1.0.0
type GetV1MetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsGetMetricsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1MetricsResponse ¶ added in v1.0.0
func ParseGetV1MetricsResponse(rsp *http.Response) (*GetV1MetricsResponse, error)
ParseGetV1MetricsResponse parses an HTTP response from a GetV1MetricsWithResponse call
func (GetV1MetricsResponse) ContentType ¶ added in v1.0.0
func (r GetV1MetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1MetricsResponse) GetBody ¶
func (r GetV1MetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1MetricsResponse) GetJSON200 ¶
func (r GetV1MetricsResponse) GetJSON200() *ModelsGetMetricsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1MetricsResponse) GetJSON401 ¶
func (r GetV1MetricsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1MetricsResponse) GetJSON403 ¶
func (r GetV1MetricsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1MetricsResponse) GetJSON499 ¶
func (r GetV1MetricsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1MetricsResponse) GetJSON500 ¶
func (r GetV1MetricsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1MetricsResponse) Status ¶ added in v1.0.0
func (r GetV1MetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1MetricsResponse) StatusCode ¶ added in v1.0.0
func (r GetV1MetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodeGroupMembershipsParams ¶ added in v1.0.0
type GetV1NodeGroupMembershipsParams struct {
// NodeGroupId Node group ID to filter memberships
NodeGroupId *string `form:"nodeGroupId,omitempty" json:"nodeGroupId,omitempty"`
// NodeUUID Node UUID to filter memberships
NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1NodeGroupMembershipsParams defines parameters for GetV1NodeGroupMemberships.
type GetV1NodeGroupMembershipsResponse ¶ added in v1.0.0
type GetV1NodeGroupMembershipsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsNodeGroupMembershipsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NodeGroupMembershipsResponse ¶ added in v1.0.0
func ParseGetV1NodeGroupMembershipsResponse(rsp *http.Response) (*GetV1NodeGroupMembershipsResponse, error)
ParseGetV1NodeGroupMembershipsResponse parses an HTTP response from a GetV1NodeGroupMembershipsWithResponse call
func (GetV1NodeGroupMembershipsResponse) ContentType ¶ added in v1.0.0
func (r GetV1NodeGroupMembershipsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodeGroupMembershipsResponse) GetBody ¶
func (r GetV1NodeGroupMembershipsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodeGroupMembershipsResponse) GetJSON200 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON200() *ModelsNodeGroupMembershipsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON400 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON401 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON403 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON499 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON500 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON503 ¶
func (r GetV1NodeGroupMembershipsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NodeGroupMembershipsResponse) Status ¶ added in v1.0.0
func (r GetV1NodeGroupMembershipsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodeGroupMembershipsResponse) StatusCode ¶ added in v1.0.0
func (r GetV1NodeGroupMembershipsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodeRemovalPolicyResponse ¶ added in v1.0.0
type GetV1NodeRemovalPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsNodeRemovalPolicy
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NodeRemovalPolicyResponse ¶ added in v1.0.0
func ParseGetV1NodeRemovalPolicyResponse(rsp *http.Response) (*GetV1NodeRemovalPolicyResponse, error)
ParseGetV1NodeRemovalPolicyResponse parses an HTTP response from a GetV1NodeRemovalPolicyWithResponse call
func (GetV1NodeRemovalPolicyResponse) ContentType ¶ added in v1.0.0
func (r GetV1NodeRemovalPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodeRemovalPolicyResponse) GetBody ¶
func (r GetV1NodeRemovalPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodeRemovalPolicyResponse) GetJSON200 ¶
func (r GetV1NodeRemovalPolicyResponse) GetJSON200() *ModelsNodeRemovalPolicy
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON401 ¶
func (r GetV1NodeRemovalPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON403 ¶
func (r GetV1NodeRemovalPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON500 ¶
func (r GetV1NodeRemovalPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON503 ¶
func (r GetV1NodeRemovalPolicyResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NodeRemovalPolicyResponse) Status ¶ added in v1.0.0
func (r GetV1NodeRemovalPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodeRemovalPolicyResponse) StatusCode ¶ added in v1.0.0
func (r GetV1NodeRemovalPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1Nodegroups200JSONResponseBody ¶
type GetV1Nodegroups200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1Nodegroups200JSONResponseBody defines parameters for GetV1Nodegroups.
func (GetV1Nodegroups200JSONResponseBody) AsModelsListNodeGroupsResponse ¶
func (t GetV1Nodegroups200JSONResponseBody) AsModelsListNodeGroupsResponse() (ModelsListNodeGroupsResponse, error)
AsModelsListNodeGroupsResponse returns the union data inside the GetV1Nodegroups200JSONResponseBody as a ModelsListNodeGroupsResponse
func (GetV1Nodegroups200JSONResponseBody) AsModelsNodeGroupsResponse ¶
func (t GetV1Nodegroups200JSONResponseBody) AsModelsNodeGroupsResponse() (ModelsNodeGroupsResponse, error)
AsModelsNodeGroupsResponse returns the union data inside the GetV1Nodegroups200JSONResponseBody as a ModelsNodeGroupsResponse
func (*GetV1Nodegroups200JSONResponseBody) FromModelsListNodeGroupsResponse ¶
func (t *GetV1Nodegroups200JSONResponseBody) FromModelsListNodeGroupsResponse(v ModelsListNodeGroupsResponse) error
FromModelsListNodeGroupsResponse overwrites any union data inside the GetV1Nodegroups200JSONResponseBody as the provided ModelsListNodeGroupsResponse
func (*GetV1Nodegroups200JSONResponseBody) FromModelsNodeGroupsResponse ¶
func (t *GetV1Nodegroups200JSONResponseBody) FromModelsNodeGroupsResponse(v ModelsNodeGroupsResponse) error
FromModelsNodeGroupsResponse overwrites any union data inside the GetV1Nodegroups200JSONResponseBody as the provided ModelsNodeGroupsResponse
func (GetV1Nodegroups200JSONResponseBody) MarshalJSON ¶
func (t GetV1Nodegroups200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1Nodegroups200JSONResponseBody) MergeModelsListNodeGroupsResponse ¶
func (t *GetV1Nodegroups200JSONResponseBody) MergeModelsListNodeGroupsResponse(v ModelsListNodeGroupsResponse) error
MergeModelsListNodeGroupsResponse performs a merge with any union data inside the GetV1Nodegroups200JSONResponseBody, using the provided ModelsListNodeGroupsResponse
func (*GetV1Nodegroups200JSONResponseBody) MergeModelsNodeGroupsResponse ¶
func (t *GetV1Nodegroups200JSONResponseBody) MergeModelsNodeGroupsResponse(v ModelsNodeGroupsResponse) error
MergeModelsNodeGroupsResponse performs a merge with any union data inside the GetV1Nodegroups200JSONResponseBody, using the provided ModelsNodeGroupsResponse
func (*GetV1Nodegroups200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1Nodegroups200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1NodegroupsOptionsResponse ¶
type GetV1NodegroupsOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsOptions
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1NodegroupsOptionsResponse ¶
func ParseGetV1NodegroupsOptionsResponse(rsp *http.Response) (*GetV1NodegroupsOptionsResponse, error)
ParseGetV1NodegroupsOptionsResponse parses an HTTP response from a GetV1NodegroupsOptionsWithResponse call
func (GetV1NodegroupsOptionsResponse) ContentType ¶
func (r GetV1NodegroupsOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodegroupsOptionsResponse) GetBody ¶
func (r GetV1NodegroupsOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodegroupsOptionsResponse) GetJSON200 ¶
func (r GetV1NodegroupsOptionsResponse) GetJSON200() *ModelsOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON401 ¶
func (r GetV1NodegroupsOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON403 ¶
func (r GetV1NodegroupsOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON499 ¶
func (r GetV1NodegroupsOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON500 ¶
func (r GetV1NodegroupsOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodegroupsOptionsResponse) Status ¶
func (r GetV1NodegroupsOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodegroupsOptionsResponse) StatusCode ¶
func (r GetV1NodegroupsOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodegroupsParams ¶
type GetV1NodegroupsParams struct {
// View View mode: 'detail' for comprehensive metrics (default) or 'basic' for minimal list
View *GetV1NodegroupsParamsView `form:"view,omitempty" json:"view,omitempty"`
// IncludeMetrics [DETAIL VIEW ONLY] Include metrics in response (default: true). Set to false for better performance when metrics are not needed.
IncludeMetrics *bool `form:"includeMetrics,omitempty" json:"includeMetrics,omitempty"`
// ComputeZoneIds Filter by compute zone IDs (e.g., ?computeZoneIds=id1&computeZoneIds=id2)
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// ComputeZoneNames [DETAIL VIEW ONLY] Filter by compute zone names with partial match (e.g., ?computeZoneNames=east&computeZoneNames=west)
ComputeZoneNames *[]string `form:"computeZoneNames,omitempty" json:"computeZoneNames,omitempty"`
// ComputeZoneId [LEGACY] Single compute zone ID to filter node groups - use computeZoneIds instead
ComputeZoneId *string `form:"computeZoneId,omitempty" json:"computeZoneId,omitempty"`
// NodeGroupIds List of node group IDs to filter (e.g., ?nodeGroupIds=id1&nodeGroupIds=id2)
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// HealthStatuses [DETAIL VIEW ONLY] Filter by node health status values (e.g., ?healthStatuses=Healthy&healthStatuses=Degraded)
HealthStatuses *[]GetV1NodegroupsParamsHealthStatuses `form:"healthStatuses,omitempty" json:"healthStatuses,omitempty"`
// GpuTypes [DETAIL VIEW ONLY] Filter by GPU type values (e.g., ?gpuTypes=NVIDIA-H100-80GB-HBM3)
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// SortBy Field to sort by (health, nodes)
SortBy *GetV1NodegroupsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort order (asc, desc)
Order *GetV1NodegroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1NodegroupsParams defines parameters for GetV1Nodegroups.
type GetV1NodegroupsParamsHealthStatuses ¶
type GetV1NodegroupsParamsHealthStatuses string
GetV1NodegroupsParamsHealthStatuses defines parameters for GetV1Nodegroups.
const ( GetV1NodegroupsParamsHealthStatusesDegraded GetV1NodegroupsParamsHealthStatuses = "Degraded" GetV1NodegroupsParamsHealthStatusesHealthy GetV1NodegroupsParamsHealthStatuses = "Healthy" GetV1NodegroupsParamsHealthStatusesUnhealthy GetV1NodegroupsParamsHealthStatuses = "Unhealthy" GetV1NodegroupsParamsHealthStatusesUnknown GetV1NodegroupsParamsHealthStatuses = "Unknown" )
Defines values for GetV1NodegroupsParamsHealthStatuses.
func (GetV1NodegroupsParamsHealthStatuses) Valid ¶
func (e GetV1NodegroupsParamsHealthStatuses) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodegroupsParamsHealthStatuses enum.
type GetV1NodegroupsParamsOrder ¶
type GetV1NodegroupsParamsOrder string
GetV1NodegroupsParamsOrder defines parameters for GetV1Nodegroups.
const ( GetV1NodegroupsParamsOrderAsc GetV1NodegroupsParamsOrder = "asc" GetV1NodegroupsParamsOrderDesc GetV1NodegroupsParamsOrder = "desc" )
Defines values for GetV1NodegroupsParamsOrder.
func (GetV1NodegroupsParamsOrder) Valid ¶
func (e GetV1NodegroupsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodegroupsParamsOrder enum.
type GetV1NodegroupsParamsSortBy ¶
type GetV1NodegroupsParamsSortBy string
GetV1NodegroupsParamsSortBy defines parameters for GetV1Nodegroups.
const ( Health GetV1NodegroupsParamsSortBy = "health" Nodes GetV1NodegroupsParamsSortBy = "nodes" )
Defines values for GetV1NodegroupsParamsSortBy.
func (GetV1NodegroupsParamsSortBy) Valid ¶
func (e GetV1NodegroupsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodegroupsParamsSortBy enum.
type GetV1NodegroupsParamsView ¶
type GetV1NodegroupsParamsView string
GetV1NodegroupsParamsView defines parameters for GetV1Nodegroups.
const ( GetV1NodegroupsParamsViewBasic GetV1NodegroupsParamsView = "basic" GetV1NodegroupsParamsViewDetail GetV1NodegroupsParamsView = "detail" )
Defines values for GetV1NodegroupsParamsView.
func (GetV1NodegroupsParamsView) Valid ¶
func (e GetV1NodegroupsParamsView) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodegroupsParamsView enum.
type GetV1NodegroupsResponse ¶
type GetV1NodegroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1Nodegroups200JSONResponseBody
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NodegroupsResponse ¶
func ParseGetV1NodegroupsResponse(rsp *http.Response) (*GetV1NodegroupsResponse, error)
ParseGetV1NodegroupsResponse parses an HTTP response from a GetV1NodegroupsWithResponse call
func (GetV1NodegroupsResponse) ContentType ¶
func (r GetV1NodegroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodegroupsResponse) GetBody ¶
func (r GetV1NodegroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodegroupsResponse) GetJSON200 ¶
func (r GetV1NodegroupsResponse) GetJSON200() *GetV1Nodegroups200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodegroupsResponse) GetJSON400 ¶
func (r GetV1NodegroupsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodegroupsResponse) GetJSON401 ¶
func (r GetV1NodegroupsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodegroupsResponse) GetJSON403 ¶
func (r GetV1NodegroupsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodegroupsResponse) GetJSON499 ¶
func (r GetV1NodegroupsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodegroupsResponse) GetJSON500 ¶
func (r GetV1NodegroupsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodegroupsResponse) GetJSON503 ¶
func (r GetV1NodegroupsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NodegroupsResponse) Status ¶
func (r GetV1NodegroupsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodegroupsResponse) StatusCode ¶
func (r GetV1NodegroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1Nodes200JSONResponseBody ¶
type GetV1Nodes200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1Nodes200JSONResponseBody defines parameters for GetV1Nodes.
func (GetV1Nodes200JSONResponseBody) AsModelsBasicNodesResponse ¶
func (t GetV1Nodes200JSONResponseBody) AsModelsBasicNodesResponse() (ModelsBasicNodesResponse, error)
AsModelsBasicNodesResponse returns the union data inside the GetV1Nodes200JSONResponseBody as a ModelsBasicNodesResponse
func (GetV1Nodes200JSONResponseBody) AsModelsInbandNodesResponse ¶
func (t GetV1Nodes200JSONResponseBody) AsModelsInbandNodesResponse() (ModelsInbandNodesResponse, error)
AsModelsInbandNodesResponse returns the union data inside the GetV1Nodes200JSONResponseBody as a ModelsInbandNodesResponse
func (GetV1Nodes200JSONResponseBody) AsModelsOobNodesResponse ¶
func (t GetV1Nodes200JSONResponseBody) AsModelsOobNodesResponse() (ModelsOobNodesResponse, error)
AsModelsOobNodesResponse returns the union data inside the GetV1Nodes200JSONResponseBody as a ModelsOobNodesResponse
func (*GetV1Nodes200JSONResponseBody) FromModelsBasicNodesResponse ¶
func (t *GetV1Nodes200JSONResponseBody) FromModelsBasicNodesResponse(v ModelsBasicNodesResponse) error
FromModelsBasicNodesResponse overwrites any union data inside the GetV1Nodes200JSONResponseBody as the provided ModelsBasicNodesResponse
func (*GetV1Nodes200JSONResponseBody) FromModelsInbandNodesResponse ¶
func (t *GetV1Nodes200JSONResponseBody) FromModelsInbandNodesResponse(v ModelsInbandNodesResponse) error
FromModelsInbandNodesResponse overwrites any union data inside the GetV1Nodes200JSONResponseBody as the provided ModelsInbandNodesResponse
func (*GetV1Nodes200JSONResponseBody) FromModelsOobNodesResponse ¶
func (t *GetV1Nodes200JSONResponseBody) FromModelsOobNodesResponse(v ModelsOobNodesResponse) error
FromModelsOobNodesResponse overwrites any union data inside the GetV1Nodes200JSONResponseBody as the provided ModelsOobNodesResponse
func (GetV1Nodes200JSONResponseBody) MarshalJSON ¶
func (t GetV1Nodes200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1Nodes200JSONResponseBody) MergeModelsBasicNodesResponse ¶
func (t *GetV1Nodes200JSONResponseBody) MergeModelsBasicNodesResponse(v ModelsBasicNodesResponse) error
MergeModelsBasicNodesResponse performs a merge with any union data inside the GetV1Nodes200JSONResponseBody, using the provided ModelsBasicNodesResponse
func (*GetV1Nodes200JSONResponseBody) MergeModelsInbandNodesResponse ¶
func (t *GetV1Nodes200JSONResponseBody) MergeModelsInbandNodesResponse(v ModelsInbandNodesResponse) error
MergeModelsInbandNodesResponse performs a merge with any union data inside the GetV1Nodes200JSONResponseBody, using the provided ModelsInbandNodesResponse
func (*GetV1Nodes200JSONResponseBody) MergeModelsOobNodesResponse ¶
func (t *GetV1Nodes200JSONResponseBody) MergeModelsOobNodesResponse(v ModelsOobNodesResponse) error
MergeModelsOobNodesResponse performs a merge with any union data inside the GetV1Nodes200JSONResponseBody, using the provided ModelsOobNodesResponse
func (*GetV1Nodes200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1Nodes200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1NodesHistoryParams ¶ added in v1.0.0
type GetV1NodesHistoryParams struct {
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// ActorType Filter by removal actor
ActorType *GetV1NodesHistoryParamsActorType `form:"actorType,omitempty" json:"actorType,omitempty"`
}
GetV1NodesHistoryParams defines parameters for GetV1NodesHistory.
type GetV1NodesHistoryParamsActorType ¶ added in v1.0.0
type GetV1NodesHistoryParamsActorType string
GetV1NodesHistoryParamsActorType defines parameters for GetV1NodesHistory.
const ( All GetV1NodesHistoryParamsActorType = "all" System GetV1NodesHistoryParamsActorType = "system" User GetV1NodesHistoryParamsActorType = "user" )
Defines values for GetV1NodesHistoryParamsActorType.
func (GetV1NodesHistoryParamsActorType) Valid ¶ added in v1.0.0
func (e GetV1NodesHistoryParamsActorType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesHistoryParamsActorType enum.
type GetV1NodesHistoryResponse ¶ added in v1.0.0
type GetV1NodesHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsNodeHistoryResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NodesHistoryResponse ¶ added in v1.0.0
func ParseGetV1NodesHistoryResponse(rsp *http.Response) (*GetV1NodesHistoryResponse, error)
ParseGetV1NodesHistoryResponse parses an HTTP response from a GetV1NodesHistoryWithResponse call
func (GetV1NodesHistoryResponse) ContentType ¶ added in v1.0.0
func (r GetV1NodesHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodesHistoryResponse) GetBody ¶
func (r GetV1NodesHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesHistoryResponse) GetJSON200 ¶
func (r GetV1NodesHistoryResponse) GetJSON200() *ModelsNodeHistoryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON400 ¶
func (r GetV1NodesHistoryResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON401 ¶
func (r GetV1NodesHistoryResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON403 ¶
func (r GetV1NodesHistoryResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON500 ¶
func (r GetV1NodesHistoryResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON503 ¶
func (r GetV1NodesHistoryResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NodesHistoryResponse) Status ¶ added in v1.0.0
func (r GetV1NodesHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodesHistoryResponse) StatusCode ¶ added in v1.0.0
func (r GetV1NodesHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodesNodeUuid200JSONResponseBody ¶
type GetV1NodesNodeUuid200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1NodesNodeUuid200JSONResponseBody defines parameters for GetV1NodesNodeUuid.
func (GetV1NodesNodeUuid200JSONResponseBody) AsModelsInbandNodeDetailsResponse ¶
func (t GetV1NodesNodeUuid200JSONResponseBody) AsModelsInbandNodeDetailsResponse() (ModelsInbandNodeDetailsResponse, error)
AsModelsInbandNodeDetailsResponse returns the union data inside the GetV1NodesNodeUuid200JSONResponseBody as a ModelsInbandNodeDetailsResponse
func (GetV1NodesNodeUuid200JSONResponseBody) AsModelsOobNodeDetailsResponse ¶
func (t GetV1NodesNodeUuid200JSONResponseBody) AsModelsOobNodeDetailsResponse() (ModelsOobNodeDetailsResponse, error)
AsModelsOobNodeDetailsResponse returns the union data inside the GetV1NodesNodeUuid200JSONResponseBody as a ModelsOobNodeDetailsResponse
func (*GetV1NodesNodeUuid200JSONResponseBody) FromModelsInbandNodeDetailsResponse ¶
func (t *GetV1NodesNodeUuid200JSONResponseBody) FromModelsInbandNodeDetailsResponse(v ModelsInbandNodeDetailsResponse) error
FromModelsInbandNodeDetailsResponse overwrites any union data inside the GetV1NodesNodeUuid200JSONResponseBody as the provided ModelsInbandNodeDetailsResponse
func (*GetV1NodesNodeUuid200JSONResponseBody) FromModelsOobNodeDetailsResponse ¶
func (t *GetV1NodesNodeUuid200JSONResponseBody) FromModelsOobNodeDetailsResponse(v ModelsOobNodeDetailsResponse) error
FromModelsOobNodeDetailsResponse overwrites any union data inside the GetV1NodesNodeUuid200JSONResponseBody as the provided ModelsOobNodeDetailsResponse
func (GetV1NodesNodeUuid200JSONResponseBody) MarshalJSON ¶
func (t GetV1NodesNodeUuid200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1NodesNodeUuid200JSONResponseBody) MergeModelsInbandNodeDetailsResponse ¶
func (t *GetV1NodesNodeUuid200JSONResponseBody) MergeModelsInbandNodeDetailsResponse(v ModelsInbandNodeDetailsResponse) error
MergeModelsInbandNodeDetailsResponse performs a merge with any union data inside the GetV1NodesNodeUuid200JSONResponseBody, using the provided ModelsInbandNodeDetailsResponse
func (*GetV1NodesNodeUuid200JSONResponseBody) MergeModelsOobNodeDetailsResponse ¶
func (t *GetV1NodesNodeUuid200JSONResponseBody) MergeModelsOobNodeDetailsResponse(v ModelsOobNodeDetailsResponse) error
MergeModelsOobNodeDetailsResponse performs a merge with any union data inside the GetV1NodesNodeUuid200JSONResponseBody, using the provided ModelsOobNodeDetailsResponse
func (*GetV1NodesNodeUuid200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1NodesNodeUuid200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1NodesNodeUuidHealthHistoryParams ¶
type GetV1NodesNodeUuidHealthHistoryParams struct {
// StartTime Start time in RFC3339 format (e.g., 2026-04-07T00:00:00Z)
StartTime string `form:"startTime" json:"startTime"`
// EndTime End time in RFC3339 format (e.g., 2026-04-14T00:00:00Z)
EndTime string `form:"endTime" json:"endTime"`
}
GetV1NodesNodeUuidHealthHistoryParams defines parameters for GetV1NodesNodeUuidHealthHistory.
type GetV1NodesNodeUuidHealthHistoryResponse ¶
type GetV1NodesNodeUuidHealthHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsNodeHealthHistoryResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1NodesNodeUuidHealthHistoryResponse ¶
func ParseGetV1NodesNodeUuidHealthHistoryResponse(rsp *http.Response) (*GetV1NodesNodeUuidHealthHistoryResponse, error)
ParseGetV1NodesNodeUuidHealthHistoryResponse parses an HTTP response from a GetV1NodesNodeUuidHealthHistoryWithResponse call
func (GetV1NodesNodeUuidHealthHistoryResponse) ContentType ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodesNodeUuidHealthHistoryResponse) GetBody ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON200 ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON200() *ModelsNodeHealthHistoryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON400 ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON401 ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON404 ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON499 ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON500 ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) Status ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodesNodeUuidHealthHistoryResponse) StatusCode ¶
func (r GetV1NodesNodeUuidHealthHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodesNodeUuidParams ¶
type GetV1NodesNodeUuidParams struct {
// AgentType Agent type view: inband (default) or oob
AgentType *GetV1NodesNodeUuidParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
}
GetV1NodesNodeUuidParams defines parameters for GetV1NodesNodeUuid.
type GetV1NodesNodeUuidParamsAgentType ¶
type GetV1NodesNodeUuidParamsAgentType string
GetV1NodesNodeUuidParamsAgentType defines parameters for GetV1NodesNodeUuid.
const ( GetV1NodesNodeUuidParamsAgentTypeInband GetV1NodesNodeUuidParamsAgentType = "inband" GetV1NodesNodeUuidParamsAgentTypeOob GetV1NodesNodeUuidParamsAgentType = "oob" )
Defines values for GetV1NodesNodeUuidParamsAgentType.
func (GetV1NodesNodeUuidParamsAgentType) Valid ¶
func (e GetV1NodesNodeUuidParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesNodeUuidParamsAgentType enum.
type GetV1NodesNodeUuidResponse ¶
type GetV1NodesNodeUuidResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1NodesNodeUuid200JSONResponseBody
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NodesNodeUuidResponse ¶
func ParseGetV1NodesNodeUuidResponse(rsp *http.Response) (*GetV1NodesNodeUuidResponse, error)
ParseGetV1NodesNodeUuidResponse parses an HTTP response from a GetV1NodesNodeUuidWithResponse call
func (GetV1NodesNodeUuidResponse) ContentType ¶
func (r GetV1NodesNodeUuidResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodesNodeUuidResponse) GetBody ¶
func (r GetV1NodesNodeUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesNodeUuidResponse) GetJSON200 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON200() *GetV1NodesNodeUuid200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON400 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON401 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON403 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON404 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON499 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON500 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON503 ¶
func (r GetV1NodesNodeUuidResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NodesNodeUuidResponse) Status ¶
func (r GetV1NodesNodeUuidResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodesNodeUuidResponse) StatusCode ¶
func (r GetV1NodesNodeUuidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodesOptionsParams ¶
type GetV1NodesOptionsParams struct {
// AgentType Select the in-band (default) or OOB (BMC/Redfish) view. The OOB view returns a reduced set of filter and sorting options.
AgentType *GetV1NodesOptionsParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
}
GetV1NodesOptionsParams defines parameters for GetV1NodesOptions.
type GetV1NodesOptionsParamsAgentType ¶
type GetV1NodesOptionsParamsAgentType string
GetV1NodesOptionsParamsAgentType defines parameters for GetV1NodesOptions.
const ( GetV1NodesOptionsParamsAgentTypeInband GetV1NodesOptionsParamsAgentType = "inband" GetV1NodesOptionsParamsAgentTypeOob GetV1NodesOptionsParamsAgentType = "oob" )
Defines values for GetV1NodesOptionsParamsAgentType.
func (GetV1NodesOptionsParamsAgentType) Valid ¶
func (e GetV1NodesOptionsParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesOptionsParamsAgentType enum.
type GetV1NodesOptionsResponse ¶
type GetV1NodesOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsOptions
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1NodesOptionsResponse ¶
func ParseGetV1NodesOptionsResponse(rsp *http.Response) (*GetV1NodesOptionsResponse, error)
ParseGetV1NodesOptionsResponse parses an HTTP response from a GetV1NodesOptionsWithResponse call
func (GetV1NodesOptionsResponse) ContentType ¶
func (r GetV1NodesOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodesOptionsResponse) GetBody ¶
func (r GetV1NodesOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesOptionsResponse) GetJSON200 ¶
func (r GetV1NodesOptionsResponse) GetJSON200() *ModelsOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON400 ¶
func (r GetV1NodesOptionsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON401 ¶
func (r GetV1NodesOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON403 ¶
func (r GetV1NodesOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON499 ¶
func (r GetV1NodesOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON500 ¶
func (r GetV1NodesOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesOptionsResponse) Status ¶
func (r GetV1NodesOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodesOptionsResponse) StatusCode ¶
func (r GetV1NodesOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NodesParams ¶
type GetV1NodesParams struct {
// View View mode: 'detail' for full response (default) or 'basic' for nodeUUID + hostname + bmcHostname/bmcIP only (lightweight query, does not support filtering or sorting by healthStatuses, integrityChecks, firmwareChecks, or agentStatuses).
View *GetV1NodesParamsView `form:"view,omitempty" json:"view,omitempty"`
// AgentType Select the in-band or OOB (BMC/Redfish) view: returns only nodes enrolled by that agent type. In the OOB view, nodes expose bmcHostname/bmcIP and BMC-based integrityCheck, while publicIP/privateIP/kernelVersion/gpuDriverVersion/gpuType/gpuCount/gpuFirmwareVersions are empty. Empty defaults to the in-band view for view=detail; for view=basic, an empty agentType returns a combined view populating hostname and bmcHostname/bmcIP for every node.
AgentType *GetV1NodesParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// NodeUUIDs Filter by specific node UUIDs. Empty means all nodes
NodeUUIDs *[]string `form:"nodeUUIDs,omitempty" json:"nodeUUIDs,omitempty"`
// HealthStatuses Filter by health status values
HealthStatuses *[]GetV1NodesParamsHealthStatuses `form:"healthStatuses,omitempty" json:"healthStatuses,omitempty"`
// ComputeZoneIds Filter by computezone IDs. Empty means all computezones
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// ComputeZoneNames Filter by computezone names (partial match). Empty means all computezones
ComputeZoneNames *[]string `form:"computeZoneNames,omitempty" json:"computeZoneNames,omitempty"`
// NodeGroupIds Filter by nodegroup IDs. Empty means all nodegroups
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// NodeGroupNames Filter by nodegroup names (partial match). Empty means all nodegroups
NodeGroupNames *[]string `form:"nodeGroupNames,omitempty" json:"nodeGroupNames,omitempty"`
// GpuTypes Filter by GPU type values. Empty means all GPU types
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// GpuCounts Filter by GPU count values. Empty means all GPU counts
GpuCounts *[]int `form:"gpuCounts,omitempty" json:"gpuCounts,omitempty"`
// PublicIPs Filter by public IP addresses. Empty means all public IPs
PublicIPs *[]string `form:"publicIPs,omitempty" json:"publicIPs,omitempty"`
// PrivateIPs Filter by private IP addresses. Empty means all private IPs
PrivateIPs *[]string `form:"privateIPs,omitempty" json:"privateIPs,omitempty"`
// IntegrityChecks Filter by integrity check status
IntegrityChecks *[]ModelsIntegrityCheck `form:"integrityChecks,omitempty" json:"integrityChecks,omitempty"`
// FirmwareChecks Filter by firmware check status
FirmwareChecks *[]ModelsFirmwareCheck `form:"firmwareChecks,omitempty" json:"firmwareChecks,omitempty"`
// AgentStatuses Filter by agent status values
AgentStatuses *[]ModelsAgentStatus `form:"agentStatuses,omitempty" json:"agentStatuses,omitempty"`
// Hostname Filter by hostname (case-insensitive partial match)
Hostname *string `form:"hostname,omitempty" json:"hostname,omitempty"`
// BmcHostname Filter by BMC hostname (case-insensitive partial match). Applies only to the OOB view (agentType=oob); ignored in the in-band view.
BmcHostname *string `form:"bmcHostname,omitempty" json:"bmcHostname,omitempty"`
// SortBy Field to sort by. Defaults to hostname (in-band view) or bmcHostname (OOB view). bmcHostname applies only to the OOB view; the in-band-only GPU/kernel/driver/agentVersion keys apply only to the in-band view — a key not valid for the selected view falls back to the view's default. gpuFirmwareVersions pins nodes whose GPUs have mismatched vbios versions to the top, then sorts the remaining (uniform) nodes by that common vbios in the requested order.
SortBy *GetV1NodesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort order (asc, desc)
Order *GetV1NodesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
GetV1NodesParams defines parameters for GetV1Nodes.
type GetV1NodesParamsAgentType ¶
type GetV1NodesParamsAgentType string
GetV1NodesParamsAgentType defines parameters for GetV1Nodes.
const ( GetV1NodesParamsAgentTypeInband GetV1NodesParamsAgentType = "inband" GetV1NodesParamsAgentTypeOob GetV1NodesParamsAgentType = "oob" )
Defines values for GetV1NodesParamsAgentType.
func (GetV1NodesParamsAgentType) Valid ¶
func (e GetV1NodesParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsAgentType enum.
type GetV1NodesParamsHealthStatuses ¶
type GetV1NodesParamsHealthStatuses string
GetV1NodesParamsHealthStatuses defines parameters for GetV1Nodes.
const ( GetV1NodesParamsHealthStatusesDegraded GetV1NodesParamsHealthStatuses = "Degraded" GetV1NodesParamsHealthStatusesHealthy GetV1NodesParamsHealthStatuses = "Healthy" GetV1NodesParamsHealthStatusesUnhealthy GetV1NodesParamsHealthStatuses = "Unhealthy" GetV1NodesParamsHealthStatusesUnknown GetV1NodesParamsHealthStatuses = "Unknown" )
Defines values for GetV1NodesParamsHealthStatuses.
func (GetV1NodesParamsHealthStatuses) Valid ¶
func (e GetV1NodesParamsHealthStatuses) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsHealthStatuses enum.
type GetV1NodesParamsOrder ¶
type GetV1NodesParamsOrder string
GetV1NodesParamsOrder defines parameters for GetV1Nodes.
const ( GetV1NodesParamsOrderAsc GetV1NodesParamsOrder = "asc" GetV1NodesParamsOrderDesc GetV1NodesParamsOrder = "desc" )
Defines values for GetV1NodesParamsOrder.
func (GetV1NodesParamsOrder) Valid ¶
func (e GetV1NodesParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsOrder enum.
type GetV1NodesParamsSortBy ¶
type GetV1NodesParamsSortBy string
GetV1NodesParamsSortBy defines parameters for GetV1Nodes.
const ( GetV1NodesParamsSortByAgentStatus GetV1NodesParamsSortBy = "agentStatus" GetV1NodesParamsSortByAgentVersion GetV1NodesParamsSortBy = "agentVersion" GetV1NodesParamsSortByBmcHostname GetV1NodesParamsSortBy = "bmcHostname" GetV1NodesParamsSortByComputezone GetV1NodesParamsSortBy = "computezone" GetV1NodesParamsSortByGpuCount GetV1NodesParamsSortBy = "gpuCount" GetV1NodesParamsSortByGpuDriverVersion GetV1NodesParamsSortBy = "gpuDriverVersion" GetV1NodesParamsSortByGpuFirmwareVersions GetV1NodesParamsSortBy = "gpuFirmwareVersions" GetV1NodesParamsSortByGpuType GetV1NodesParamsSortBy = "gpuType" GetV1NodesParamsSortByHealthStatus GetV1NodesParamsSortBy = "healthStatus" GetV1NodesParamsSortByHostname GetV1NodesParamsSortBy = "hostname" GetV1NodesParamsSortByIntegrityCheck GetV1NodesParamsSortBy = "integrityCheck" GetV1NodesParamsSortByKernelVersion GetV1NodesParamsSortBy = "kernelVersion" GetV1NodesParamsSortByNodeUUID GetV1NodesParamsSortBy = "nodeUUID" GetV1NodesParamsSortByNodegroup GetV1NodesParamsSortBy = "nodegroup" )
Defines values for GetV1NodesParamsSortBy.
func (GetV1NodesParamsSortBy) Valid ¶
func (e GetV1NodesParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsSortBy enum.
type GetV1NodesParamsView ¶
type GetV1NodesParamsView string
GetV1NodesParamsView defines parameters for GetV1Nodes.
const ( GetV1NodesParamsViewBasic GetV1NodesParamsView = "basic" GetV1NodesParamsViewDetail GetV1NodesParamsView = "detail" )
Defines values for GetV1NodesParamsView.
func (GetV1NodesParamsView) Valid ¶
func (e GetV1NodesParamsView) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsView enum.
type GetV1NodesResponse ¶
type GetV1NodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1Nodes200JSONResponseBody
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NodesResponse ¶
func ParseGetV1NodesResponse(rsp *http.Response) (*GetV1NodesResponse, error)
ParseGetV1NodesResponse parses an HTTP response from a GetV1NodesWithResponse call
func (GetV1NodesResponse) ContentType ¶
func (r GetV1NodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NodesResponse) GetBody ¶
func (r GetV1NodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesResponse) GetJSON200 ¶
func (r GetV1NodesResponse) GetJSON200() *GetV1Nodes200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesResponse) GetJSON400 ¶
func (r GetV1NodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesResponse) GetJSON401 ¶
func (r GetV1NodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesResponse) GetJSON403 ¶
func (r GetV1NodesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesResponse) GetJSON499 ¶
func (r GetV1NodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesResponse) GetJSON500 ¶
func (r GetV1NodesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesResponse) GetJSON503 ¶
func (r GetV1NodesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NodesResponse) Status ¶
func (r GetV1NodesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NodesResponse) StatusCode ¶
func (r GetV1NodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NotificationDeliveryLogParams ¶ added in v1.0.0
type GetV1NotificationDeliveryLogParams struct {
// Component Filter by component (GPU, NVSwitch, etc.)
Component *string `form:"component,omitempty" json:"component,omitempty"`
// Channel Filter by delivery channel (email, slack, webhook)
Channel *string `form:"channel,omitempty" json:"channel,omitempty"`
// Status Filter by delivery outcome (sent, failed)
Status *string `form:"status,omitempty" json:"status,omitempty"`
// AlertUUID Filter by alert lifecycle UUID
AlertUUID *string `form:"alertUUID,omitempty" json:"alertUUID,omitempty"`
// StartTime Start of time range (RFC3339)
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End of time range (RFC3339)
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// Order Sort direction on createdAt (asc, desc)
Order *string `form:"order,omitempty" json:"order,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1NotificationDeliveryLogParams defines parameters for GetV1NotificationDeliveryLog.
type GetV1NotificationDeliveryLogResponse ¶ added in v1.0.0
type GetV1NotificationDeliveryLogResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsDeliveryLogResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NotificationDeliveryLogResponse ¶ added in v1.0.0
func ParseGetV1NotificationDeliveryLogResponse(rsp *http.Response) (*GetV1NotificationDeliveryLogResponse, error)
ParseGetV1NotificationDeliveryLogResponse parses an HTTP response from a GetV1NotificationDeliveryLogWithResponse call
func (GetV1NotificationDeliveryLogResponse) ContentType ¶ added in v1.0.0
func (r GetV1NotificationDeliveryLogResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NotificationDeliveryLogResponse) GetBody ¶
func (r GetV1NotificationDeliveryLogResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NotificationDeliveryLogResponse) GetJSON200 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON200() *ModelsDeliveryLogResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON400 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON401 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON403 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON499 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON500 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON503 ¶
func (r GetV1NotificationDeliveryLogResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NotificationDeliveryLogResponse) Status ¶ added in v1.0.0
func (r GetV1NotificationDeliveryLogResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NotificationDeliveryLogResponse) StatusCode ¶ added in v1.0.0
func (r GetV1NotificationDeliveryLogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NotificationPreferenceByIDResponse ¶ added in v1.0.0
type GetV1NotificationPreferenceByIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsNotificationPreferenceDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NotificationPreferenceByIDResponse ¶ added in v1.0.0
func ParseGetV1NotificationPreferenceByIDResponse(rsp *http.Response) (*GetV1NotificationPreferenceByIDResponse, error)
ParseGetV1NotificationPreferenceByIDResponse parses an HTTP response from a GetV1NotificationPreferenceByIDWithResponse call
func (GetV1NotificationPreferenceByIDResponse) ContentType ¶ added in v1.0.0
func (r GetV1NotificationPreferenceByIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NotificationPreferenceByIDResponse) GetBody ¶
func (r GetV1NotificationPreferenceByIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NotificationPreferenceByIDResponse) GetJSON200 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON200() *ModelsNotificationPreferenceDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON401 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON403 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON404 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON499 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON500 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON503 ¶
func (r GetV1NotificationPreferenceByIDResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) Status ¶ added in v1.0.0
func (r GetV1NotificationPreferenceByIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NotificationPreferenceByIDResponse) StatusCode ¶ added in v1.0.0
func (r GetV1NotificationPreferenceByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1NotificationPreferencesResponse ¶ added in v1.0.0
type GetV1NotificationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsListNotificationPreferencesResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1NotificationPreferencesResponse ¶ added in v1.0.0
func ParseGetV1NotificationPreferencesResponse(rsp *http.Response) (*GetV1NotificationPreferencesResponse, error)
ParseGetV1NotificationPreferencesResponse parses an HTTP response from a GetV1NotificationPreferencesWithResponse call
func (GetV1NotificationPreferencesResponse) ContentType ¶ added in v1.0.0
func (r GetV1NotificationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1NotificationPreferencesResponse) GetBody ¶
func (r GetV1NotificationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NotificationPreferencesResponse) GetJSON200 ¶
func (r GetV1NotificationPreferencesResponse) GetJSON200() *ModelsListNotificationPreferencesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON401 ¶
func (r GetV1NotificationPreferencesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON403 ¶
func (r GetV1NotificationPreferencesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON499 ¶
func (r GetV1NotificationPreferencesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON500 ¶
func (r GetV1NotificationPreferencesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON503 ¶
func (r GetV1NotificationPreferencesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1NotificationPreferencesResponse) Status ¶ added in v1.0.0
func (r GetV1NotificationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1NotificationPreferencesResponse) StatusCode ¶ added in v1.0.0
func (r GetV1NotificationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1OverviewParams ¶ added in v1.0.0
type GetV1OverviewParams struct {
// IncludeMetrics Include metrics in response (default: true). Set to false for better performance when metrics are not needed.
IncludeMetrics *bool `form:"includeMetrics,omitempty" json:"includeMetrics,omitempty"`
}
GetV1OverviewParams defines parameters for GetV1Overview.
type GetV1OverviewResponse ¶ added in v1.0.0
type GetV1OverviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsOverviewResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1OverviewResponse ¶ added in v1.0.0
func ParseGetV1OverviewResponse(rsp *http.Response) (*GetV1OverviewResponse, error)
ParseGetV1OverviewResponse parses an HTTP response from a GetV1OverviewWithResponse call
func (GetV1OverviewResponse) ContentType ¶ added in v1.0.0
func (r GetV1OverviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1OverviewResponse) GetBody ¶
func (r GetV1OverviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1OverviewResponse) GetJSON200 ¶
func (r GetV1OverviewResponse) GetJSON200() *ModelsOverviewResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1OverviewResponse) GetJSON400 ¶
func (r GetV1OverviewResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1OverviewResponse) GetJSON401 ¶
func (r GetV1OverviewResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1OverviewResponse) GetJSON403 ¶
func (r GetV1OverviewResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1OverviewResponse) GetJSON499 ¶
func (r GetV1OverviewResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1OverviewResponse) GetJSON500 ¶
func (r GetV1OverviewResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1OverviewResponse) GetJSON503 ¶
func (r GetV1OverviewResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1OverviewResponse) Status ¶ added in v1.0.0
func (r GetV1OverviewResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1OverviewResponse) StatusCode ¶ added in v1.0.0
func (r GetV1OverviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ReportsError200JSONResponseBody ¶
type GetV1ReportsError200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1ReportsError200JSONResponseBody defines parameters for GetV1ReportsError.
func (GetV1ReportsError200JSONResponseBody) AsGetV1ReportsError200JSONResponseBody4 ¶
func (t GetV1ReportsError200JSONResponseBody) AsGetV1ReportsError200JSONResponseBody4() (GetV1ReportsError200JSONResponseBody4, error)
AsGetV1ReportsError200JSONResponseBody4 returns the union data inside the GetV1ReportsError200JSONResponseBody as a GetV1ReportsError200JSONResponseBody4
func (GetV1ReportsError200JSONResponseBody) AsModelsByErrorResponse ¶
func (t GetV1ReportsError200JSONResponseBody) AsModelsByErrorResponse() (ModelsByErrorResponse, error)
AsModelsByErrorResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsByErrorResponse
func (GetV1ReportsError200JSONResponseBody) AsModelsByNodeResponse ¶
func (t GetV1ReportsError200JSONResponseBody) AsModelsByNodeResponse() (ModelsByNodeResponse, error)
AsModelsByNodeResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsByNodeResponse
func (GetV1ReportsError200JSONResponseBody) AsModelsErrorOverviewResponse ¶
func (t GetV1ReportsError200JSONResponseBody) AsModelsErrorOverviewResponse() (ModelsErrorOverviewResponse, error)
AsModelsErrorOverviewResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsErrorOverviewResponse
func (GetV1ReportsError200JSONResponseBody) AsModelsErrorReportGraphByErrorResponse ¶
func (t GetV1ReportsError200JSONResponseBody) AsModelsErrorReportGraphByErrorResponse() (ModelsErrorReportGraphByErrorResponse, error)
AsModelsErrorReportGraphByErrorResponse returns the union data inside the GetV1ReportsError200JSONResponseBody as a ModelsErrorReportGraphByErrorResponse
func (*GetV1ReportsError200JSONResponseBody) FromGetV1ReportsError200JSONResponseBody4 ¶
func (t *GetV1ReportsError200JSONResponseBody) FromGetV1ReportsError200JSONResponseBody4(v GetV1ReportsError200JSONResponseBody4) error
FromGetV1ReportsError200JSONResponseBody4 overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided GetV1ReportsError200JSONResponseBody4
func (*GetV1ReportsError200JSONResponseBody) FromModelsByErrorResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) FromModelsByErrorResponse(v ModelsByErrorResponse) error
FromModelsByErrorResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsByErrorResponse
func (*GetV1ReportsError200JSONResponseBody) FromModelsByNodeResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) FromModelsByNodeResponse(v ModelsByNodeResponse) error
FromModelsByNodeResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsByNodeResponse
func (*GetV1ReportsError200JSONResponseBody) FromModelsErrorOverviewResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) FromModelsErrorOverviewResponse(v ModelsErrorOverviewResponse) error
FromModelsErrorOverviewResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsErrorOverviewResponse
func (*GetV1ReportsError200JSONResponseBody) FromModelsErrorReportGraphByErrorResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) FromModelsErrorReportGraphByErrorResponse(v ModelsErrorReportGraphByErrorResponse) error
FromModelsErrorReportGraphByErrorResponse overwrites any union data inside the GetV1ReportsError200JSONResponseBody as the provided ModelsErrorReportGraphByErrorResponse
func (GetV1ReportsError200JSONResponseBody) MarshalJSON ¶
func (t GetV1ReportsError200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1ReportsError200JSONResponseBody) MergeGetV1ReportsError200JSONResponseBody4 ¶
func (t *GetV1ReportsError200JSONResponseBody) MergeGetV1ReportsError200JSONResponseBody4(v GetV1ReportsError200JSONResponseBody4) error
MergeGetV1ReportsError200JSONResponseBody4 performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided GetV1ReportsError200JSONResponseBody4
func (*GetV1ReportsError200JSONResponseBody) MergeModelsByErrorResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) MergeModelsByErrorResponse(v ModelsByErrorResponse) error
MergeModelsByErrorResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsByErrorResponse
func (*GetV1ReportsError200JSONResponseBody) MergeModelsByNodeResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) MergeModelsByNodeResponse(v ModelsByNodeResponse) error
MergeModelsByNodeResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsByNodeResponse
func (*GetV1ReportsError200JSONResponseBody) MergeModelsErrorOverviewResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) MergeModelsErrorOverviewResponse(v ModelsErrorOverviewResponse) error
MergeModelsErrorOverviewResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsErrorOverviewResponse
func (*GetV1ReportsError200JSONResponseBody) MergeModelsErrorReportGraphByErrorResponse ¶
func (t *GetV1ReportsError200JSONResponseBody) MergeModelsErrorReportGraphByErrorResponse(v ModelsErrorReportGraphByErrorResponse) error
MergeModelsErrorReportGraphByErrorResponse performs a merge with any union data inside the GetV1ReportsError200JSONResponseBody, using the provided ModelsErrorReportGraphByErrorResponse
func (*GetV1ReportsError200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1ReportsError200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1ReportsError200JSONResponseBody4 ¶
type GetV1ReportsError200JSONResponseBody4 = string
GetV1ReportsError200JSONResponseBody4 defines parameters for GetV1ReportsError.
type GetV1ReportsErrorParams ¶
type GetV1ReportsErrorParams struct {
// GroupBy Group by error or node (not required for overview view)
GroupBy *GetV1ReportsErrorParamsGroupBy `form:"groupBy,omitempty" json:"groupBy,omitempty"`
// View View type: list, graph, or overview
View GetV1ReportsErrorParamsView `form:"view" json:"view"`
// Format Response format (json or csv, only for list view)
Format *GetV1ReportsErrorParamsFormat `form:"format,omitempty" json:"format,omitempty"`
// Page Page number (0-indexed). Not used for CSV format, graph view, or overview view
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size. Not used for CSV format, graph view, or overview view
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Step Query resolution step width in duration format (e.g. 1h, 1m). Only used for graph view. If not provided, backend will choose a suitable step width. Minimum step width is 1 minute.
Step *string `form:"step,omitempty" json:"step,omitempty"`
// ComputeZoneIds Filter by computezone IDs. Empty means all computezones
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// NodeGroupIds Filter by nodegroup IDs. Empty means all nodegroups
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// Tags Filter by tags (AND logic - matches nodes with ANY of the specified tags). Empty means all nodes
Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`
// Errors Filter nodes by specific error types (only for list view, groupBy=node). Returns ALL errors for nodes that have any of the specified errors. Examples: 'NVSwitch Fatal Error', 'xid_154'
Errors *[]string `form:"errors,omitempty" json:"errors,omitempty"`
// Severities Filter errors by severity. Empty means all severities
Severities *[]ModelsEventSeverity `form:"severities,omitempty" json:"severities,omitempty"`
// TimeMode Time mode: 'absolute' (default) or 'relative'. Absolute requires start/end; relative requires window
TimeMode *string `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Relative time window (e.g., 1h, 1m, 30s). Only used when timeMode=relative
Window *string `form:"window,omitempty" json:"window,omitempty"`
// StartTime Start time for filtering errors (RFC3339 format). Required when timeMode=absolute
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End time for filtering errors (RFC3339 format). Required when timeMode=absolute
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
}
GetV1ReportsErrorParams defines parameters for GetV1ReportsError.
type GetV1ReportsErrorParamsFormat ¶
type GetV1ReportsErrorParamsFormat string
GetV1ReportsErrorParamsFormat defines parameters for GetV1ReportsError.
const ( GetV1ReportsErrorParamsFormatCsv GetV1ReportsErrorParamsFormat = "csv" GetV1ReportsErrorParamsFormatJson GetV1ReportsErrorParamsFormat = "json" )
Defines values for GetV1ReportsErrorParamsFormat.
func (GetV1ReportsErrorParamsFormat) Valid ¶
func (e GetV1ReportsErrorParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsFormat enum.
type GetV1ReportsErrorParamsGroupBy ¶
type GetV1ReportsErrorParamsGroupBy string
GetV1ReportsErrorParamsGroupBy defines parameters for GetV1ReportsError.
const ( GetV1ReportsErrorParamsGroupByError GetV1ReportsErrorParamsGroupBy = "error" GetV1ReportsErrorParamsGroupByNode GetV1ReportsErrorParamsGroupBy = "node" )
Defines values for GetV1ReportsErrorParamsGroupBy.
func (GetV1ReportsErrorParamsGroupBy) Valid ¶
func (e GetV1ReportsErrorParamsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsGroupBy enum.
type GetV1ReportsErrorParamsView ¶
type GetV1ReportsErrorParamsView string
GetV1ReportsErrorParamsView defines parameters for GetV1ReportsError.
const ( Graph GetV1ReportsErrorParamsView = "graph" List GetV1ReportsErrorParamsView = "list" Overview GetV1ReportsErrorParamsView = "overview" )
Defines values for GetV1ReportsErrorParamsView.
func (GetV1ReportsErrorParamsView) Valid ¶
func (e GetV1ReportsErrorParamsView) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsView enum.
type GetV1ReportsErrorResponse ¶
type GetV1ReportsErrorResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1ReportsError200JSONResponseBody
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1ReportsErrorResponse ¶
func ParseGetV1ReportsErrorResponse(rsp *http.Response) (*GetV1ReportsErrorResponse, error)
ParseGetV1ReportsErrorResponse parses an HTTP response from a GetV1ReportsErrorWithResponse call
func (GetV1ReportsErrorResponse) ContentType ¶
func (r GetV1ReportsErrorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ReportsErrorResponse) GetBody ¶
func (r GetV1ReportsErrorResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsErrorResponse) GetJSON200 ¶
func (r GetV1ReportsErrorResponse) GetJSON200() *GetV1ReportsError200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON400 ¶
func (r GetV1ReportsErrorResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON401 ¶
func (r GetV1ReportsErrorResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON403 ¶
func (r GetV1ReportsErrorResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON499 ¶
func (r GetV1ReportsErrorResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON500 ¶
func (r GetV1ReportsErrorResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON503 ¶
func (r GetV1ReportsErrorResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1ReportsErrorResponse) Status ¶
func (r GetV1ReportsErrorResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ReportsErrorResponse) StatusCode ¶
func (r GetV1ReportsErrorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ReportsInventory200JSONResponseBody ¶
type GetV1ReportsInventory200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1ReportsInventory200JSONResponseBody defines parameters for GetV1ReportsInventory.
func (GetV1ReportsInventory200JSONResponseBody) AsGetV1ReportsInventory200JSONResponseBody1 ¶
func (t GetV1ReportsInventory200JSONResponseBody) AsGetV1ReportsInventory200JSONResponseBody1() (GetV1ReportsInventory200JSONResponseBody1, error)
AsGetV1ReportsInventory200JSONResponseBody1 returns the union data inside the GetV1ReportsInventory200JSONResponseBody as a GetV1ReportsInventory200JSONResponseBody1
func (GetV1ReportsInventory200JSONResponseBody) AsModelsInventoryReportResponse ¶
func (t GetV1ReportsInventory200JSONResponseBody) AsModelsInventoryReportResponse() (ModelsInventoryReportResponse, error)
AsModelsInventoryReportResponse returns the union data inside the GetV1ReportsInventory200JSONResponseBody as a ModelsInventoryReportResponse
func (*GetV1ReportsInventory200JSONResponseBody) FromGetV1ReportsInventory200JSONResponseBody1 ¶
func (t *GetV1ReportsInventory200JSONResponseBody) FromGetV1ReportsInventory200JSONResponseBody1(v GetV1ReportsInventory200JSONResponseBody1) error
FromGetV1ReportsInventory200JSONResponseBody1 overwrites any union data inside the GetV1ReportsInventory200JSONResponseBody as the provided GetV1ReportsInventory200JSONResponseBody1
func (*GetV1ReportsInventory200JSONResponseBody) FromModelsInventoryReportResponse ¶
func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsInventoryReportResponse(v ModelsInventoryReportResponse) error
FromModelsInventoryReportResponse overwrites any union data inside the GetV1ReportsInventory200JSONResponseBody as the provided ModelsInventoryReportResponse
func (GetV1ReportsInventory200JSONResponseBody) MarshalJSON ¶
func (t GetV1ReportsInventory200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1ReportsInventory200JSONResponseBody) MergeGetV1ReportsInventory200JSONResponseBody1 ¶
func (t *GetV1ReportsInventory200JSONResponseBody) MergeGetV1ReportsInventory200JSONResponseBody1(v GetV1ReportsInventory200JSONResponseBody1) error
MergeGetV1ReportsInventory200JSONResponseBody1 performs a merge with any union data inside the GetV1ReportsInventory200JSONResponseBody, using the provided GetV1ReportsInventory200JSONResponseBody1
func (*GetV1ReportsInventory200JSONResponseBody) MergeModelsInventoryReportResponse ¶
func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsInventoryReportResponse(v ModelsInventoryReportResponse) error
MergeModelsInventoryReportResponse performs a merge with any union data inside the GetV1ReportsInventory200JSONResponseBody, using the provided ModelsInventoryReportResponse
func (*GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1ReportsInventory200JSONResponseBody1 ¶
type GetV1ReportsInventory200JSONResponseBody1 = string
GetV1ReportsInventory200JSONResponseBody1 defines parameters for GetV1ReportsInventory.
type GetV1ReportsInventoryParams ¶
type GetV1ReportsInventoryParams struct {
// Page Page number (0-indexed). Not used for CSV format
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size. Not used for CSV format
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Format Response format (json or csv)
Format *GetV1ReportsInventoryParamsFormat `form:"format,omitempty" json:"format,omitempty"`
// Signed Sign the CSV with NVIDIA's signing key and return a zip containing the CSV plus a .sig.bundle (cosign-verifiable Sigstore bundle). Only valid with format=csv.
Signed *bool `form:"signed,omitempty" json:"signed,omitempty"`
// ComputeZoneIds Filter by computezone IDs. Empty means all computezones
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// NodeGroupIds Filter by nodegroup IDs. Empty means all nodegroups
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// Tags Filter by tags. Empty means all tags
Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`
// StartTime Start time for filtering nodes active during period (RFC3339 format, e.g., 2024-01-01T00:00:00Z)
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End time for filtering nodes active during period (RFC3339 format, e.g., 2024-12-31T23:59:59Z)
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// SortBy Field to sort by
SortBy *GetV1ReportsInventoryParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort order (asc, desc)
Order *GetV1ReportsInventoryParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
GetV1ReportsInventoryParams defines parameters for GetV1ReportsInventory.
type GetV1ReportsInventoryParamsFormat ¶
type GetV1ReportsInventoryParamsFormat string
GetV1ReportsInventoryParamsFormat defines parameters for GetV1ReportsInventory.
const ( GetV1ReportsInventoryParamsFormatCsv GetV1ReportsInventoryParamsFormat = "csv" GetV1ReportsInventoryParamsFormatJson GetV1ReportsInventoryParamsFormat = "json" )
Defines values for GetV1ReportsInventoryParamsFormat.
func (GetV1ReportsInventoryParamsFormat) Valid ¶
func (e GetV1ReportsInventoryParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsFormat enum.
type GetV1ReportsInventoryParamsOrder ¶
type GetV1ReportsInventoryParamsOrder string
GetV1ReportsInventoryParamsOrder defines parameters for GetV1ReportsInventory.
const ( GetV1ReportsInventoryParamsOrderAsc GetV1ReportsInventoryParamsOrder = "asc" GetV1ReportsInventoryParamsOrderDesc GetV1ReportsInventoryParamsOrder = "desc" )
Defines values for GetV1ReportsInventoryParamsOrder.
func (GetV1ReportsInventoryParamsOrder) Valid ¶
func (e GetV1ReportsInventoryParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsOrder enum.
type GetV1ReportsInventoryParamsSortBy ¶
type GetV1ReportsInventoryParamsSortBy string
GetV1ReportsInventoryParamsSortBy defines parameters for GetV1ReportsInventory.
const ( GetV1ReportsInventoryParamsSortByComputezone GetV1ReportsInventoryParamsSortBy = "computezone" GetV1ReportsInventoryParamsSortByGeoLocation GetV1ReportsInventoryParamsSortBy = "geoLocation" GetV1ReportsInventoryParamsSortByGpuCount GetV1ReportsInventoryParamsSortBy = "gpuCount" GetV1ReportsInventoryParamsSortByGpuType GetV1ReportsInventoryParamsSortBy = "gpuType" GetV1ReportsInventoryParamsSortByHostname GetV1ReportsInventoryParamsSortBy = "hostname" GetV1ReportsInventoryParamsSortByIntegrityCheck GetV1ReportsInventoryParamsSortBy = "integrityCheck" GetV1ReportsInventoryParamsSortByNodeUUID GetV1ReportsInventoryParamsSortBy = "nodeUUID" GetV1ReportsInventoryParamsSortByNodegroup GetV1ReportsInventoryParamsSortBy = "nodegroup" GetV1ReportsInventoryParamsSortByPrivateIP GetV1ReportsInventoryParamsSortBy = "privateIP" GetV1ReportsInventoryParamsSortByPublicIP GetV1ReportsInventoryParamsSortBy = "publicIP" )
Defines values for GetV1ReportsInventoryParamsSortBy.
func (GetV1ReportsInventoryParamsSortBy) Valid ¶
func (e GetV1ReportsInventoryParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsSortBy enum.
type GetV1ReportsInventoryResponse ¶
type GetV1ReportsInventoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1ReportsInventory200JSONResponseBody
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1ReportsInventoryResponse ¶
func ParseGetV1ReportsInventoryResponse(rsp *http.Response) (*GetV1ReportsInventoryResponse, error)
ParseGetV1ReportsInventoryResponse parses an HTTP response from a GetV1ReportsInventoryWithResponse call
func (GetV1ReportsInventoryResponse) ContentType ¶
func (r GetV1ReportsInventoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ReportsInventoryResponse) GetBody ¶
func (r GetV1ReportsInventoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsInventoryResponse) GetJSON200 ¶
func (r GetV1ReportsInventoryResponse) GetJSON200() *GetV1ReportsInventory200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON400 ¶
func (r GetV1ReportsInventoryResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON401 ¶
func (r GetV1ReportsInventoryResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON403 ¶
func (r GetV1ReportsInventoryResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON499 ¶
func (r GetV1ReportsInventoryResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON500 ¶
func (r GetV1ReportsInventoryResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON503 ¶
func (r GetV1ReportsInventoryResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1ReportsInventoryResponse) Status ¶
func (r GetV1ReportsInventoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ReportsInventoryResponse) StatusCode ¶
func (r GetV1ReportsInventoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RetentionPolicyResponse ¶ added in v1.0.0
type GetV1RetentionPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsGetRetentionPolicyResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1RetentionPolicyResponse ¶ added in v1.0.0
func ParseGetV1RetentionPolicyResponse(rsp *http.Response) (*GetV1RetentionPolicyResponse, error)
ParseGetV1RetentionPolicyResponse parses an HTTP response from a GetV1RetentionPolicyWithResponse call
func (GetV1RetentionPolicyResponse) ContentType ¶ added in v1.0.0
func (r GetV1RetentionPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1RetentionPolicyResponse) GetBody ¶
func (r GetV1RetentionPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1RetentionPolicyResponse) GetJSON200 ¶
func (r GetV1RetentionPolicyResponse) GetJSON200() *ModelsGetRetentionPolicyResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON401 ¶
func (r GetV1RetentionPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON403 ¶
func (r GetV1RetentionPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON404 ¶
func (r GetV1RetentionPolicyResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON499 ¶
func (r GetV1RetentionPolicyResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON500 ¶
func (r GetV1RetentionPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON503 ¶
func (r GetV1RetentionPolicyResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1RetentionPolicyResponse) Status ¶ added in v1.0.0
func (r GetV1RetentionPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RetentionPolicyResponse) StatusCode ¶ added in v1.0.0
func (r GetV1RetentionPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1TagsParams ¶ added in v1.0.0
type GetV1TagsParams struct {
// Prefix Filter tags by prefix (case-insensitive)
Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`
// NodeUUID Filter to tags from a specific node
NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`
// NodeGroupId Filter to tags from nodes in a specific node group
NodeGroupId *string `form:"nodeGroupId,omitempty" json:"nodeGroupId,omitempty"`
// ComputeZoneId Filter to tags from nodes in a specific compute zone
ComputeZoneId *string `form:"computeZoneId,omitempty" json:"computeZoneId,omitempty"`
}
GetV1TagsParams defines parameters for GetV1Tags.
type GetV1TagsResponse ¶ added in v1.0.0
type GetV1TagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsListTagsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1TagsResponse ¶ added in v1.0.0
func ParseGetV1TagsResponse(rsp *http.Response) (*GetV1TagsResponse, error)
ParseGetV1TagsResponse parses an HTTP response from a GetV1TagsWithResponse call
func (GetV1TagsResponse) ContentType ¶ added in v1.0.0
func (r GetV1TagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1TagsResponse) GetBody ¶
func (r GetV1TagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1TagsResponse) GetJSON200 ¶
func (r GetV1TagsResponse) GetJSON200() *ModelsListTagsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1TagsResponse) GetJSON400 ¶
func (r GetV1TagsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1TagsResponse) GetJSON401 ¶
func (r GetV1TagsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1TagsResponse) GetJSON403 ¶
func (r GetV1TagsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1TagsResponse) GetJSON499 ¶
func (r GetV1TagsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1TagsResponse) GetJSON500 ¶
func (r GetV1TagsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1TagsResponse) Status ¶ added in v1.0.0
func (r GetV1TagsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1TagsResponse) StatusCode ¶ added in v1.0.0
func (r GetV1TagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1XIDBurstDetailResponse ¶
type GetV1XIDBurstDetailResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsXIDBurstDetail
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1XIDBurstDetailResponse ¶
func ParseGetV1XIDBurstDetailResponse(rsp *http.Response) (*GetV1XIDBurstDetailResponse, error)
ParseGetV1XIDBurstDetailResponse parses an HTTP response from a GetV1XIDBurstDetailWithResponse call
func (GetV1XIDBurstDetailResponse) ContentType ¶
func (r GetV1XIDBurstDetailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1XIDBurstDetailResponse) GetBody ¶
func (r GetV1XIDBurstDetailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1XIDBurstDetailResponse) GetJSON200 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON200() *ModelsXIDBurstDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON400 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON401 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON403 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON404 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON499 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON500 ¶
func (r GetV1XIDBurstDetailResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1XIDBurstDetailResponse) Status ¶
func (r GetV1XIDBurstDetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1XIDBurstDetailResponse) StatusCode ¶
func (r GetV1XIDBurstDetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1XIDBurstOptionsResponse ¶
type GetV1XIDBurstOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsXIDBurstFilterOptionsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1XIDBurstOptionsResponse ¶
func ParseGetV1XIDBurstOptionsResponse(rsp *http.Response) (*GetV1XIDBurstOptionsResponse, error)
ParseGetV1XIDBurstOptionsResponse parses an HTTP response from a GetV1XIDBurstOptionsWithResponse call
func (GetV1XIDBurstOptionsResponse) ContentType ¶
func (r GetV1XIDBurstOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1XIDBurstOptionsResponse) GetBody ¶
func (r GetV1XIDBurstOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1XIDBurstOptionsResponse) GetJSON200 ¶
func (r GetV1XIDBurstOptionsResponse) GetJSON200() *ModelsXIDBurstFilterOptionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON401 ¶
func (r GetV1XIDBurstOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON403 ¶
func (r GetV1XIDBurstOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON499 ¶
func (r GetV1XIDBurstOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON500 ¶
func (r GetV1XIDBurstOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1XIDBurstOptionsResponse) Status ¶
func (r GetV1XIDBurstOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1XIDBurstOptionsResponse) StatusCode ¶
func (r GetV1XIDBurstOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1XIDBurstsParams ¶
type GetV1XIDBurstsParams struct {
// StartTime Start time in RFC3339 format (required for absolute mode, e.g. 2024-01-01T01:00:00Z).
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End time in RFC3339 format (required for absolute mode). Must be after startTime.
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// TimeMode Time mode for range selection. Defaults to absolute.
TimeMode *GetV1XIDBurstsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Relative duration window (required for relative mode). Uses Go duration units h, m, and s; use 168h for 7 days ('d' is not supported)
Window *string `form:"window,omitempty" json:"window,omitempty"`
// NodeUUID Filter by node UUID
NodeUUID *string `form:"nodeUUID,omitempty" json:"nodeUUID,omitempty"`
// NodeGroupIds Filter to nodes in matching node groups by node group ID (OR within dimension)
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Filter to nodes in matching compute zones by compute zone ID (OR within dimension)
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// ExcludeNodeGroupIds Exclude nodes in matching node groups by node group ID (OR within dimension; cannot be combined with nodeGroupIds)
ExcludeNodeGroupIds *[]string `form:"excludeNodeGroupIds,omitempty" json:"excludeNodeGroupIds,omitempty"`
// ExcludeComputeZoneIds Exclude nodes in matching compute zones by compute zone ID (OR within dimension; cannot be combined with computeZoneIds)
ExcludeComputeZoneIds *[]string `form:"excludeComputeZoneIds,omitempty" json:"excludeComputeZoneIds,omitempty"`
// JobDisruption Filter by the public fatal-XID job-disruption definition
JobDisruption *bool `form:"jobDisruption,omitempty" json:"jobDisruption,omitempty"`
// JobDisruptionDueToPlatformIssue Filter by analyzer platform-attributed disruption (cloud-provider/NCP only)
JobDisruptionDueToPlatformIssue *bool `form:"jobDisruptionDueToPlatformIssue,omitempty" json:"jobDisruptionDueToPlatformIssue,omitempty"`
// XidNumbers Exact XID numbers; burst matches if it contains any of them (OR semantics)
XidNumbers *[]int `form:"xidNumbers,omitempty" json:"xidNumbers,omitempty"`
// HostnameSearch Case-insensitive hostname substring
HostnameSearch *string `form:"hostnameSearch,omitempty" json:"hostnameSearch,omitempty"`
// CategorySearch Case-insensitive category substring (cloud-provider/NCP only)
CategorySearch *string `form:"categorySearch,omitempty" json:"categorySearch,omitempty"`
// SubcategorySearch Case-insensitive subcategory substring (cloud-provider/NCP only)
SubcategorySearch *string `form:"subcategorySearch,omitempty" json:"subcategorySearch,omitempty"`
// TenantActionSearch Case-insensitive tenant immediate-action code substring
TenantActionSearch *string `form:"tenantActionSearch,omitempty" json:"tenantActionSearch,omitempty"`
// TenantInvestigationSearch Case-insensitive tenant investigatory-action code substring
TenantInvestigationSearch *string `form:"tenantInvestigationSearch,omitempty" json:"tenantInvestigationSearch,omitempty"`
// DcAdminActionSearch Case-insensitive DC-admin immediate-action code substring (cloud-provider/NCP only)
DcAdminActionSearch *string `form:"dcAdminActionSearch,omitempty" json:"dcAdminActionSearch,omitempty"`
// DcAdminInvestigationSearch Case-insensitive DC-admin investigatory-action code substring (cloud-provider/NCP only)
DcAdminInvestigationSearch *string `form:"dcAdminInvestigationSearch,omitempty" json:"dcAdminInvestigationSearch,omitempty"`
// Categories Exact category values from GET /v1/xid/bursts/options; OR-combined (cloud-provider/NCP only)
Categories *[]string `form:"categories,omitempty" json:"categories,omitempty"`
// Subcategories Exact subcategory values from GET /v1/xid/bursts/options; OR-combined (cloud-provider/NCP only)
Subcategories *[]string `form:"subcategories,omitempty" json:"subcategories,omitempty"`
// TenantActions Exact tenant immediate-action codes from GET /v1/xid/bursts/options; OR-combined
TenantActions *[]string `form:"tenantActions,omitempty" json:"tenantActions,omitempty"`
// TenantInvestigations Exact tenant investigatory-action codes from GET /v1/xid/bursts/options; OR-combined
TenantInvestigations *[]string `form:"tenantInvestigations,omitempty" json:"tenantInvestigations,omitempty"`
// DcAdminActions Exact DC-admin immediate-action codes from GET /v1/xid/bursts/options; OR-combined (cloud-provider/NCP only)
DcAdminActions *[]string `form:"dcAdminActions,omitempty" json:"dcAdminActions,omitempty"`
// DcAdminInvestigations Exact DC-admin investigatory-action codes from GET /v1/xid/bursts/options; OR-combined (cloud-provider/NCP only)
DcAdminInvestigations *[]string `form:"dcAdminInvestigations,omitempty" json:"dcAdminInvestigations,omitempty"`
// SortBy Sortable table column (cloud-provider/NCP only for jobDisruptionDueToPlatformIssue, category, subcategory, dcAdminAction, dcAdminInvestigation)
SortBy *GetV1XIDBurstsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// SortOrder Sort direction
SortOrder *GetV1XIDBurstsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size (1-100)
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1XIDBurstsParams defines parameters for GetV1XIDBursts.
type GetV1XIDBurstsParamsSortBy ¶
type GetV1XIDBurstsParamsSortBy string
GetV1XIDBurstsParamsSortBy defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsSortByBurstDurationSeconds GetV1XIDBurstsParamsSortBy = "burstDurationSeconds" GetV1XIDBurstsParamsSortByCategory GetV1XIDBurstsParamsSortBy = "category" GetV1XIDBurstsParamsSortByComputeZone GetV1XIDBurstsParamsSortBy = "computeZone" GetV1XIDBurstsParamsSortByDcAdminAction GetV1XIDBurstsParamsSortBy = "dcAdminAction" GetV1XIDBurstsParamsSortByDcAdminInvestigation GetV1XIDBurstsParamsSortBy = "dcAdminInvestigation" GetV1XIDBurstsParamsSortByHostname GetV1XIDBurstsParamsSortBy = "hostname" GetV1XIDBurstsParamsSortByJobDisruption GetV1XIDBurstsParamsSortBy = "jobDisruption" GetV1XIDBurstsParamsSortByJobDisruptionDueToPlatformIssue GetV1XIDBurstsParamsSortBy = "jobDisruptionDueToPlatformIssue" GetV1XIDBurstsParamsSortByNodeGroup GetV1XIDBurstsParamsSortBy = "nodeGroup" GetV1XIDBurstsParamsSortByNodeUuid GetV1XIDBurstsParamsSortBy = "nodeUuid" GetV1XIDBurstsParamsSortByStartTime GetV1XIDBurstsParamsSortBy = "startTime" GetV1XIDBurstsParamsSortBySubcategory GetV1XIDBurstsParamsSortBy = "subcategory" GetV1XIDBurstsParamsSortByTenantAction GetV1XIDBurstsParamsSortBy = "tenantAction" GetV1XIDBurstsParamsSortByTenantInvestigation GetV1XIDBurstsParamsSortBy = "tenantInvestigation" GetV1XIDBurstsParamsSortByXidCount GetV1XIDBurstsParamsSortBy = "xidCount" GetV1XIDBurstsParamsSortByXidNumbers GetV1XIDBurstsParamsSortBy = "xidNumbers" )
Defines values for GetV1XIDBurstsParamsSortBy.
func (GetV1XIDBurstsParamsSortBy) Valid ¶
func (e GetV1XIDBurstsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsSortBy enum.
type GetV1XIDBurstsParamsSortOrder ¶
type GetV1XIDBurstsParamsSortOrder string
GetV1XIDBurstsParamsSortOrder defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsSortOrderAsc GetV1XIDBurstsParamsSortOrder = "asc" GetV1XIDBurstsParamsSortOrderDesc GetV1XIDBurstsParamsSortOrder = "desc" )
Defines values for GetV1XIDBurstsParamsSortOrder.
func (GetV1XIDBurstsParamsSortOrder) Valid ¶
func (e GetV1XIDBurstsParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsSortOrder enum.
type GetV1XIDBurstsParamsTimeMode ¶
type GetV1XIDBurstsParamsTimeMode string
GetV1XIDBurstsParamsTimeMode defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsTimeModeAbsolute GetV1XIDBurstsParamsTimeMode = "absolute" GetV1XIDBurstsParamsTimeModeRelative GetV1XIDBurstsParamsTimeMode = "relative" )
Defines values for GetV1XIDBurstsParamsTimeMode.
func (GetV1XIDBurstsParamsTimeMode) Valid ¶
func (e GetV1XIDBurstsParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsTimeMode enum.
type GetV1XIDBurstsResponse ¶
type GetV1XIDBurstsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsXIDBurstsListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV1XIDBurstsResponse ¶
func ParseGetV1XIDBurstsResponse(rsp *http.Response) (*GetV1XIDBurstsResponse, error)
ParseGetV1XIDBurstsResponse parses an HTTP response from a GetV1XIDBurstsWithResponse call
func (GetV1XIDBurstsResponse) ContentType ¶
func (r GetV1XIDBurstsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1XIDBurstsResponse) GetBody ¶
func (r GetV1XIDBurstsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1XIDBurstsResponse) GetJSON200 ¶
func (r GetV1XIDBurstsResponse) GetJSON200() *ModelsXIDBurstsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON400 ¶
func (r GetV1XIDBurstsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON401 ¶
func (r GetV1XIDBurstsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON403 ¶
func (r GetV1XIDBurstsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON499 ¶
func (r GetV1XIDBurstsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON500 ¶
func (r GetV1XIDBurstsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1XIDBurstsResponse) Status ¶
func (r GetV1XIDBurstsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1XIDBurstsResponse) StatusCode ¶
func (r GetV1XIDBurstsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2CommandsResponse ¶ added in v1.0.0
type GetV2CommandsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsCommandsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParseGetV2CommandsResponse ¶ added in v1.0.0
func ParseGetV2CommandsResponse(rsp *http.Response) (*GetV2CommandsResponse, error)
ParseGetV2CommandsResponse parses an HTTP response from a GetV2CommandsWithResponse call
func (GetV2CommandsResponse) ContentType ¶ added in v1.0.0
func (r GetV2CommandsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV2CommandsResponse) GetBody ¶
func (r GetV2CommandsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2CommandsResponse) GetJSON200 ¶
func (r GetV2CommandsResponse) GetJSON200() *ModelsCommandsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2CommandsResponse) GetJSON400 ¶
func (r GetV2CommandsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV2CommandsResponse) GetJSON499 ¶
func (r GetV2CommandsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV2CommandsResponse) GetJSON500 ¶
func (r GetV2CommandsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV2CommandsResponse) Status ¶ added in v1.0.0
func (r GetV2CommandsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2CommandsResponse) StatusCode ¶ added in v1.0.0
func (r GetV2CommandsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2MetricsParams ¶ added in v1.0.0
type GetV2MetricsParams struct {
// GroupBy The aggregation level to group metrics by
GroupBy GetV2MetricsParamsGroupBy `form:"groupBy" json:"groupBy"`
// GroupId Entity ID for node, nodegroup, or computezone queries.
GroupId *string `form:"groupId,omitempty" json:"groupId,omitempty"`
// GroupName Legacy generic entity name. Prefer nodeGroupName for nodegroup and computeZoneName for computezone.
GroupName *string `form:"groupName,omitempty" json:"groupName,omitempty"`
// NodeGroupName The node group name for nodegroup level when computeZoneId or computeZoneName is also provided.
NodeGroupName *string `form:"nodeGroupName,omitempty" json:"nodeGroupName,omitempty"`
// ComputeZoneId The compute zone ID disambiguator when querying nodegroup by name.
ComputeZoneId *string `form:"computeZoneId,omitempty" json:"computeZoneId,omitempty"`
// ComputeZoneName The compute zone name for computezone level, or disambiguator with nodeGroupName.
ComputeZoneName *string `form:"computeZoneName,omitempty" json:"computeZoneName,omitempty"`
// MetricNames Comma-separated list of metric names to query (e.g., dcgm_fi_dev_gpu_util,cpu_used_percent,memory_used_percent)
MetricNames []string `form:"metricNames" json:"metricNames"`
// StartTime Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T00:00:00Z)
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// TimeMode Time mode for range selection. Defaults to absolute.
TimeMode *GetV2MetricsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Relative duration window (required for relative mode). Uses Go duration syntax — valid units: h, m, s (e.g. 24h, 1h30m, 90m). 'd' is not supported; use hours instead (e.g. 168h for 7 days)
Window *string `form:"window,omitempty" json:"window,omitempty"`
// Step Query resolution step width in duration format (e.g., 1m, 5m, 1h). Minimum step width is 1 minute.
Step string `form:"step" json:"step"`
}
GetV2MetricsParams defines parameters for GetV2Metrics.
type GetV2MetricsParamsGroupBy ¶ added in v1.0.0
type GetV2MetricsParamsGroupBy string
GetV2MetricsParamsGroupBy defines parameters for GetV2Metrics.
const ( GetV2MetricsParamsGroupByComputezone GetV2MetricsParamsGroupBy = "computezone" GetV2MetricsParamsGroupByCustomer GetV2MetricsParamsGroupBy = "customer" GetV2MetricsParamsGroupByNode GetV2MetricsParamsGroupBy = "node" GetV2MetricsParamsGroupByNodegroup GetV2MetricsParamsGroupBy = "nodegroup" )
Defines values for GetV2MetricsParamsGroupBy.
func (GetV2MetricsParamsGroupBy) Valid ¶ added in v1.0.0
func (e GetV2MetricsParamsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the GetV2MetricsParamsGroupBy enum.
type GetV2MetricsParamsTimeMode ¶ added in v1.0.0
type GetV2MetricsParamsTimeMode string
GetV2MetricsParamsTimeMode defines parameters for GetV2Metrics.
const ( GetV2MetricsParamsTimeModeAbsolute GetV2MetricsParamsTimeMode = "absolute" GetV2MetricsParamsTimeModeRelative GetV2MetricsParamsTimeMode = "relative" )
Defines values for GetV2MetricsParamsTimeMode.
func (GetV2MetricsParamsTimeMode) Valid ¶ added in v1.0.0
func (e GetV2MetricsParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV2MetricsParamsTimeMode enum.
type GetV2MetricsResponse ¶ added in v1.0.0
type GetV2MetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsMetricsAggregationResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
}
func ParseGetV2MetricsResponse ¶ added in v1.0.0
func ParseGetV2MetricsResponse(rsp *http.Response) (*GetV2MetricsResponse, error)
ParseGetV2MetricsResponse parses an HTTP response from a GetV2MetricsWithResponse call
func (GetV2MetricsResponse) ContentType ¶ added in v1.0.0
func (r GetV2MetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV2MetricsResponse) GetBody ¶
func (r GetV2MetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2MetricsResponse) GetJSON200 ¶
func (r GetV2MetricsResponse) GetJSON200() *ModelsMetricsAggregationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2MetricsResponse) GetJSON499 ¶
func (r GetV2MetricsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV2MetricsResponse) Status ¶ added in v1.0.0
func (r GetV2MetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2MetricsResponse) StatusCode ¶ added in v1.0.0
func (r GetV2MetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWellKnownSigningKeyPubResponse ¶ added in v1.0.0
type GetWellKnownSigningKeyPubResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetWellKnownSigningKeyPubResponse ¶ added in v1.0.0
func ParseGetWellKnownSigningKeyPubResponse(rsp *http.Response) (*GetWellKnownSigningKeyPubResponse, error)
ParseGetWellKnownSigningKeyPubResponse parses an HTTP response from a GetWellKnownSigningKeyPubWithResponse call
func (GetWellKnownSigningKeyPubResponse) ContentType ¶ added in v1.0.0
func (r GetWellKnownSigningKeyPubResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWellKnownSigningKeyPubResponse) GetBody ¶
func (r GetWellKnownSigningKeyPubResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownSigningKeyPubResponse) GetJSON499 ¶
func (r GetWellKnownSigningKeyPubResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetWellKnownSigningKeyPubResponse) GetJSON503 ¶
func (r GetWellKnownSigningKeyPubResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetWellKnownSigningKeyPubResponse) Status ¶ added in v1.0.0
func (r GetWellKnownSigningKeyPubResponse) Status() string
Status returns HTTPResponse.Status
func (GetWellKnownSigningKeyPubResponse) StatusCode ¶ added in v1.0.0
func (r GetWellKnownSigningKeyPubResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ModelsActionPersona ¶
type ModelsActionPersona string
ModelsActionPersona Target persona; omitted when an endpoint has already reduced actions to one persona
const ( ActionPersonaDCAdmin ModelsActionPersona = "dc_admin" ActionPersonaTenant ModelsActionPersona = "tenant" )
Defines values for ModelsActionPersona.
func (ModelsActionPersona) Valid ¶
func (e ModelsActionPersona) Valid() bool
Valid indicates whether the value is a known member of the ModelsActionPersona enum.
type ModelsActionType ¶
type ModelsActionType string
ModelsActionType Action type: "immediate" or "investigatory"
const ( ActionTypeImmediate ModelsActionType = "immediate" ActionTypeInvestigatory ModelsActionType = "investigatory" )
Defines values for ModelsActionType.
func (ModelsActionType) Valid ¶
func (e ModelsActionType) Valid() bool
Valid indicates whether the value is a known member of the ModelsActionType enum.
type ModelsAgentStatus ¶
type ModelsAgentStatus string
ModelsAgentStatus defines model for models.AgentStatus.
const ( AgentStatusOffline ModelsAgentStatus = "Offline" AgentStatusOnline ModelsAgentStatus = "Online" AgentStatusUnknown ModelsAgentStatus = "Unknown" )
Defines values for ModelsAgentStatus.
func (ModelsAgentStatus) Valid ¶
func (e ModelsAgentStatus) Valid() bool
Valid indicates whether the value is a known member of the ModelsAgentStatus enum.
type ModelsAggregation ¶
type ModelsAggregation string
ModelsAggregation defines model for models.Aggregation.
const ( AggregationAverage ModelsAggregation = "average" AggregationMax ModelsAggregation = "max" AggregationMin ModelsAggregation = "min" AggregationNone ModelsAggregation = "none" AggregationSum ModelsAggregation = "sum" )
Defines values for ModelsAggregation.
func (ModelsAggregation) Valid ¶
func (e ModelsAggregation) Valid() bool
Valid indicates whether the value is a known member of the ModelsAggregation enum.
type ModelsAlert ¶
type ModelsAlert struct {
AlertUUID *string `json:"alertUUID,omitempty"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
CustomerId *string `json:"customerId,omitempty"`
DetectedAt *string `json:"detectedAt,omitempty"`
Error *string `json:"error,omitempty"`
EventTimestamp *string `json:"eventTimestamp,omitempty"`
ExtraInfo *string `json:"extraInfo,omitempty"`
Incidents *string `json:"incidents,omitempty"`
IsMuted *bool `json:"isMuted,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Message *string `json:"message,omitempty"`
MutedAt *string `json:"mutedAt,omitempty"`
MutedBy *string `json:"mutedBy,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
Severity *ModelsAlertSeverity `json:"severity,omitempty"`
State *ModelsAlertState `json:"state,omitempty"`
SuggestedActions *string `json:"suggestedActions,omitempty"`
TriggeredAt *string `json:"triggeredAt,omitempty"`
}
ModelsAlert defines model for models.Alert.
type ModelsAlertEventType ¶
type ModelsAlertEventType string
ModelsAlertEventType defines model for models.AlertEventType.
const ( AlertEventBurstAnalyzed ModelsAlertEventType = "burst_analyzed" AlertEventDetected ModelsAlertEventType = "detected" AlertEventMetadataUpdated ModelsAlertEventType = "metadata_updated" AlertEventMuted ModelsAlertEventType = "muted" AlertEventNotifyFailed ModelsAlertEventType = "notify_failed" AlertEventNotifySent ModelsAlertEventType = "notify_sent" AlertEventResolved ModelsAlertEventType = "resolved" AlertEventRetriggered ModelsAlertEventType = "retriggered" AlertEventSeverityChanged ModelsAlertEventType = "severity_changed" AlertEventTriggered ModelsAlertEventType = "triggered" AlertEventUnmuted ModelsAlertEventType = "unmuted" )
Defines values for ModelsAlertEventType.
func (ModelsAlertEventType) Valid ¶
func (e ModelsAlertEventType) Valid() bool
Valid indicates whether the value is a known member of the ModelsAlertEventType enum.
type ModelsAlertOverview ¶
type ModelsAlertOverview struct {
CriticalCount *int `json:"criticalCount,omitempty"`
InfoCount *int `json:"infoCount,omitempty"`
LastCriticalAlert *string `json:"lastCriticalAlert,omitempty"`
LastWarningAlert *string `json:"lastWarningAlert,omitempty"`
TotalCount *int `json:"totalCount,omitempty"`
UnknownCount *int `json:"unknownCount,omitempty"`
WarningCount *int `json:"warningCount,omitempty"`
}
ModelsAlertOverview defines model for models.AlertOverview.
type ModelsAlertResponse ¶
type ModelsAlertResponse struct {
Alerts *[]ModelsAlert `json:"alerts,omitempty"`
Page *int `json:"page,omitempty"`
PageCursorNext *string `json:"pageCursorNext,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsAlertResponse defines model for models.AlertResponse.
type ModelsAlertSeverity ¶
type ModelsAlertSeverity string
ModelsAlertSeverity defines model for models.AlertSeverity.
const ( AlertSeverityCritical ModelsAlertSeverity = "Critical" AlertSeverityWarning ModelsAlertSeverity = "Warning" )
Defines values for ModelsAlertSeverity.
func (ModelsAlertSeverity) Valid ¶
func (e ModelsAlertSeverity) Valid() bool
Valid indicates whether the value is a known member of the ModelsAlertSeverity enum.
type ModelsAlertState ¶
type ModelsAlertState string
ModelsAlertState defines model for models.AlertState.
const ( AlertStateDetected ModelsAlertState = "Detected" AlertStateResolved ModelsAlertState = "Resolved" AlertStateTriggered ModelsAlertState = "Triggered" )
Defines values for ModelsAlertState.
func (ModelsAlertState) Valid ¶
func (e ModelsAlertState) Valid() bool
Valid indicates whether the value is a known member of the ModelsAlertState enum.
type ModelsAlertTimelineDetailResponse ¶
type ModelsAlertTimelineDetailResponse struct {
// AlertStatus Current alert status: severity if active, state if resolved/detected
AlertStatus *string `json:"alertStatus,omitempty"`
AlertUuid *string `json:"alertUuid,omitempty"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
// ComputeZone Compute zone display name from node inventory
ComputeZone *string `json:"computeZone,omitempty"`
CustomerID *string `json:"customerID,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
IsBackendComponent *bool `json:"isBackendComponent,omitempty"`
// NodeGroup Node group display name from node inventory
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUuid *string `json:"nodeUuid,omitempty"`
// Page Pagination metadata for the timeline events. These fields are populated only when the caller
// opts into pagination by supplying the pageSize query parameter; they are omitted entirely
// otherwise, so existing clients that expect the full, unpaginated timeline are unaffected.
// When present, Timeline holds only the requested page (order controlled by query param) and Total
// is the count of all timeline events for the alert.
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
// Timeline Sorted by eventTimestamp (default DESC = newest-first; query param order=asc reverses)
Timeline *[]ModelsAlertTimelineEvent `json:"timeline,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsAlertTimelineDetailResponse defines model for models.AlertTimelineDetailResponse.
type ModelsAlertTimelineEvent ¶
type ModelsAlertTimelineEvent struct {
// AlertStatus "Critical"/"Warning" if Triggered, "Detected"/"Resolved" otherwise
AlertStatus *string `json:"alertStatus,omitempty"`
Error *string `json:"error,omitempty"`
EventTimestamp *string `json:"eventTimestamp,omitempty"`
EventType *ModelsAlertEventType `json:"eventType,omitempty"`
ExtraInfo *map[string]interface{} `json:"extraInfo,omitempty"`
Incidents *[]interface{} `json:"incidents,omitempty"`
Message *string `json:"message,omitempty"`
SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
}
ModelsAlertTimelineEvent defines model for models.AlertTimelineEvent.
type ModelsAlertTimelineNode ¶
type ModelsAlertTimelineNode struct {
// ComputeZone Compute zone display name
ComputeZone *string `json:"computeZone,omitempty"`
// CriticalCount Count of Critical alerts on this node (respects filters and component visibility)
CriticalCount *int `json:"criticalCount,omitempty"`
// GpuType GPU product name from node inventory
GpuType *string `json:"gpuType,omitempty"`
// HostStatus Deprecated: use criticalCount/warningCount; kept for backward compatibility
HostStatus *string `json:"hostStatus,omitempty"`
Hostname *string `json:"hostname,omitempty"`
LastAlertTime *string `json:"lastAlertTime,omitempty"`
// NodeGroup Node group display name
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUuid *string `json:"nodeUuid,omitempty"`
// ResolvedCount Count of Resolved alerts; historical view only (0 when active=true)
ResolvedCount *int `json:"resolvedCount,omitempty"`
// WarningCount Count of Warning alerts on this node
WarningCount *int `json:"warningCount,omitempty"`
}
ModelsAlertTimelineNode defines model for models.AlertTimelineNode.
type ModelsAlertTimelineNodeAlert ¶
type ModelsAlertTimelineNodeAlert struct {
// AlertStatus "Critical"/"Warning" if active (in alerts table), "Detected"/"Resolved" if inactive (from alert_audit)
AlertStatus *string `json:"alertStatus,omitempty"`
AlertUuid *string `json:"alertUuid,omitempty"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
LastEventTime *string `json:"lastEventTime,omitempty"`
// StartTime When the alert was first detected
StartTime *string `json:"startTime,omitempty"`
}
ModelsAlertTimelineNodeAlert defines model for models.AlertTimelineNodeAlert.
type ModelsAlertTimelineNodeAlertsResponse ¶
type ModelsAlertTimelineNodeAlertsResponse struct {
Alerts *[]ModelsAlertTimelineNodeAlert `json:"alerts,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Hostname *string `json:"hostname,omitempty"`
NodeUuid *string `json:"nodeUuid,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
// Total Total number of alerts for this node
Total *int `json:"total,omitempty"`
}
ModelsAlertTimelineNodeAlertsResponse defines model for models.AlertTimelineNodeAlertsResponse.
type ModelsAlertTimelineNodesResponse ¶
type ModelsAlertTimelineNodesResponse struct {
// DistinctComputeZoneCount Distinct compute zones among matching nodes
DistinctComputeZoneCount *int `json:"distinctComputeZoneCount,omitempty"`
// DistinctGpuTypeCount Distinct GPU types among matching nodes
DistinctGpuTypeCount *int `json:"distinctGpuTypeCount,omitempty"`
// DistinctNodeGroupCount Distinct node groups among matching nodes
DistinctNodeGroupCount *int `json:"distinctNodeGroupCount,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsAlertTimelineNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
// Total Total number of nodes matching filters across all pages
Total *int `json:"total,omitempty"`
// TotalCritical Cross-page critical alert total; drives ALERT header
TotalCritical *int `json:"totalCritical,omitempty"`
// TotalResolved Cross-page resolved alert total; historical view only
TotalResolved *int `json:"totalResolved,omitempty"`
// TotalWarning Cross-page warning alert total
TotalWarning *int `json:"totalWarning,omitempty"`
}
ModelsAlertTimelineNodesResponse defines model for models.AlertTimelineNodesResponse.
type ModelsAudience ¶ added in v1.0.0
type ModelsAudience string
ModelsAudience defines model for models.Audience.
const ( AudienceDefault ModelsAudience = "default" AudienceExternalCloudProvider ModelsAudience = "external_cloud_provider" AudienceForbidden ModelsAudience = "forbidden" )
Defines values for ModelsAudience.
func (ModelsAudience) Valid ¶ added in v1.0.0
func (e ModelsAudience) Valid() bool
Valid indicates whether the value is a known member of the ModelsAudience enum.
type ModelsAuthStatusResponse ¶ added in v1.0.0
type ModelsAuthStatusResponse struct {
Authenticated *bool `json:"authenticated,omitempty"`
}
ModelsAuthStatusResponse defines model for models.AuthStatusResponse.
type ModelsBasicNodesResponse ¶
type ModelsBasicNodesResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsSimpleNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsBasicNodesResponse defines model for models.BasicNodesResponse.
type ModelsBatchUpdateTagsRequest ¶ added in v1.0.0
type ModelsBatchUpdateTagsRequest struct {
Add *[]string `json:"add,omitempty"`
NodeUUIDs []string `json:"nodeUUIDs"`
Remove *[]string `json:"remove,omitempty"`
}
ModelsBatchUpdateTagsRequest defines model for models.BatchUpdateTagsRequest.
type ModelsBlockDevice ¶
type ModelsBlockDevice struct {
FsType *string `json:"fsType,omitempty"`
// MountPoint Vendor string `json:"vendor" example:"Samsung"`
// Model string `json:"model" example:"SSD 870 EVO"`
// Rev string `json:"rev" example:"1B6Q"`
MountPoint *string `json:"mountPoint,omitempty"`
Name *string `json:"name,omitempty"`
Parents *[]string `json:"parents,omitempty"`
PartUUID *string `json:"partUUID,omitempty"`
Size *int `json:"size,omitempty"`
Type *string `json:"type,omitempty"`
Used *int `json:"used,omitempty"`
// Wwn Rota bool `json:"rota" example:"true"`
// Serial string `json:"serial" example:"ABC123"`
Wwn *string `json:"wwn,omitempty"`
}
ModelsBlockDevice defines model for models.BlockDevice.
type ModelsByError ¶
type ModelsByError struct {
Count *int `json:"count,omitempty"`
Name *string `json:"name,omitempty"`
NodeCount *int `json:"nodeCount,omitempty"`
// Severities Severities lists all remaining severities this error still carries after
// the severity filter has been applied. When no severity filter is set it
// contains every severity the error was observed with.
Severities *[]ModelsEventSeverity `json:"severities,omitempty"`
SuggestedAction *ModelsSuggestedAction `json:"suggestedAction,omitempty"`
}
ModelsByError defines model for models.ByError.
type ModelsByErrorResponse ¶
type ModelsByErrorResponse struct {
Errors *[]ModelsByError `json:"errors,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsByErrorResponse defines model for models.ByErrorResponse.
type ModelsByNode ¶
type ModelsByNode struct {
Errors *[]string `json:"errors,omitempty"`
Hostname *string `json:"hostname,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
}
ModelsByNode defines model for models.ByNode.
type ModelsByNodeResponse ¶
type ModelsByNodeResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsByNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsByNodeResponse defines model for models.ByNodeResponse.
type ModelsCPUInfo ¶
type ModelsCPUInfo struct {
Architecture *string `json:"architecture,omitempty"`
LogicalCores *string `json:"logicalCores,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Type *string `json:"type,omitempty"`
}
ModelsCPUInfo defines model for models.CPUInfo.
type ModelsCertChainStatus ¶
type ModelsCertChainStatus struct {
XNvidiaCertExpirationDate *string `json:"x-nvidia-cert-expiration-date,omitempty"`
XNvidiaCertOcspNonceMatches *bool `json:"x-nvidia-cert-ocsp-nonce-matches,omitempty"`
XNvidiaCertOcspResponseValid *bool `json:"x-nvidia-cert-ocsp-response-valid,omitempty"`
XNvidiaCertOcspStatus *string `json:"x-nvidia-cert-ocsp-status,omitempty"`
XNvidiaCertRevocationReason *string `json:"x-nvidia-cert-revocation-reason,omitempty"`
XNvidiaCertStatus *string `json:"x-nvidia-cert-status,omitempty"`
}
ModelsCertChainStatus defines model for models.CertChainStatus.
type ModelsCommand ¶ added in v1.0.0
type ModelsCommand struct {
Flavors *[]ModelsSingleCommand `json:"flavors,omitempty"`
Link *string `json:"link,omitempty"`
Name *string `json:"name,omitempty"`
Placeholders *[]string `json:"placeholders,omitempty"`
Template *string `json:"template,omitempty"`
}
ModelsCommand defines model for models.Command.
type ModelsCommandsResponse ¶ added in v1.0.0
type ModelsCommandsResponse struct {
Commands *[]ModelsCommand `json:"commands,omitempty"`
}
ModelsCommandsResponse defines model for models.CommandsResponse.
type ModelsComponentInfo ¶ added in v1.0.0
type ModelsComponentInfo struct {
Build *string `json:"build,omitempty"`
Version *string `json:"version,omitempty"`
}
ModelsComponentInfo defines model for models.ComponentInfo.
type ModelsComponentMetricList ¶ added in v1.0.0
type ModelsComponentMetricList struct {
DisplayName *string `json:"displayName,omitempty"`
IsBackendComponent *bool `json:"isBackendComponent,omitempty"`
Metrics *[]ModelsMetricInfo `json:"metrics,omitempty"`
Name *string `json:"name,omitempty"`
// SubComponents Dynamic children (e.g., active PSIRT CVEs)
SubComponents *[]string `json:"subComponents,omitempty"`
}
ModelsComponentMetricList defines model for models.ComponentMetricList.
type ModelsComponentsInfo ¶ added in v1.0.0
type ModelsComponentsInfo struct {
AgentBackend *ModelsComponentInfo `json:"agentBackend,omitempty"`
ApiBackend *ModelsComponentInfo `json:"apiBackend,omitempty"`
}
ModelsComponentsInfo defines model for models.ComponentsInfo.
type ModelsComputeZoneOverview ¶
type ModelsComputeZoneOverview struct {
AlertOverview *ModelsAlertOverview `json:"alertOverview,omitempty"`
Contact *ModelsContact `json:"contact,omitempty"`
CpuCoresCount *int `json:"cpuCoresCount,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
DegradedNodesCount *int `json:"degradedNodesCount,omitempty"`
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
GpusCount *int `json:"gpusCount,omitempty"`
HealthPercentage *float32 `json:"healthPercentage,omitempty"`
HealthState *ModelsHealthState `json:"healthState,omitempty"`
HealthyNodesCount *int `json:"healthyNodesCount,omitempty"`
Id *string `json:"id,omitempty"`
Metrics *[]ModelsMetric `json:"metrics,omitempty"`
Name *string `json:"name,omitempty"`
NodeGroupsCount *int `json:"nodeGroupsCount,omitempty"`
NodesCount *int `json:"nodesCount,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Type *ModelsComputeZoneType `json:"type,omitempty"`
UnhealthyNodesCount *int `json:"unhealthyNodesCount,omitempty"`
UnknownNodesCount *int `json:"unknownNodesCount,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
ModelsComputeZoneOverview defines model for models.ComputeZoneOverview.
type ModelsComputeZoneType ¶
type ModelsComputeZoneType string
ModelsComputeZoneType defines model for models.ComputeZoneType.
const ( ComputeZoneTypeCloudProvider ModelsComputeZoneType = "cloud provider" ComputeZoneTypeDatacenter ModelsComputeZoneType = "datacenter" )
Defines values for ModelsComputeZoneType.
func (ModelsComputeZoneType) Valid ¶
func (e ModelsComputeZoneType) Valid() bool
Valid indicates whether the value is a known member of the ModelsComputeZoneType enum.
type ModelsComputeZonesResponse ¶
type ModelsComputeZonesResponse struct {
Computezones *[]ModelsComputeZoneOverview `json:"computezones,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsComputeZonesResponse defines model for models.ComputeZonesResponse.
type ModelsContact ¶
type ModelsContact struct {
Email *string `json:"email,omitempty"`
Pic *string `json:"pic,omitempty"`
}
ModelsContact defines model for models.Contact.
type ModelsCreateNotificationPreferenceResponse ¶ added in v1.0.0
type ModelsCreateNotificationPreferenceResponse struct {
Id string `json:"id"`
}
ModelsCreateNotificationPreferenceResponse defines model for models.CreateNotificationPreferenceResponse.
type ModelsDeleteMuteRulesRequest ¶ added in v1.0.0
type ModelsDeleteMuteRulesRequest struct {
Component string `json:"component"`
Severities *[]string `json:"severities,omitempty"`
}
ModelsDeleteMuteRulesRequest defines model for models.DeleteMuteRulesRequest.
type ModelsDeleteNodesRequest ¶
type ModelsDeleteNodesRequest struct {
NodeUUIDs []string `json:"nodeUUIDs"`
}
ModelsDeleteNodesRequest defines model for models.DeleteNodesRequest.
type ModelsDeliveryLogItem ¶ added in v1.0.0
type ModelsDeliveryLogItem struct {
AlertEventType *ModelsAlertEventType `json:"alertEventType,omitempty"`
// AlertStatus Alert status at time of notification: "Critical", "Warning", or "Resolved"
AlertStatus *string `json:"alertStatus,omitempty"`
AlertUUID *string `json:"alertUUID,omitempty"`
Channel *string `json:"channel,omitempty"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
Hostname *string `json:"hostname,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
Recipient *string `json:"recipient,omitempty"`
Status *ModelsDeliveryStatus `json:"status,omitempty"`
}
ModelsDeliveryLogItem defines model for models.DeliveryLogItem.
type ModelsDeliveryLogResponse ¶ added in v1.0.0
type ModelsDeliveryLogResponse struct {
DeliveryLog *[]ModelsDeliveryLogItem `json:"deliveryLog,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsDeliveryLogResponse defines model for models.DeliveryLogResponse.
type ModelsDeliveryStatus ¶ added in v1.0.0
type ModelsDeliveryStatus string
ModelsDeliveryStatus defines model for models.DeliveryStatus.
const ( DeliveryStatusFailed ModelsDeliveryStatus = "failed" DeliveryStatusSent ModelsDeliveryStatus = "sent" )
Defines values for ModelsDeliveryStatus.
func (ModelsDeliveryStatus) Valid ¶ added in v1.0.0
func (e ModelsDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the ModelsDeliveryStatus enum.
type ModelsDiskInfo ¶
type ModelsDiskInfo struct {
BlockDevices *[]ModelsBlockDevice `json:"blockDevices,omitempty"`
ContainerRootDisk *string `json:"containerRootDisk,omitempty"`
}
ModelsDiskInfo defines model for models.DiskInfo.
type ModelsErrorLabelByError ¶
type ModelsErrorLabelByError struct {
Error *string `json:"error,omitempty"`
}
ModelsErrorLabelByError defines model for models.ErrorLabelByError.
type ModelsErrorOverviewResponse ¶
type ModelsErrorOverviewResponse struct {
TotalErrorNodes *int `json:"totalErrorNodes,omitempty"`
TotalErrorTypes *int `json:"totalErrorTypes,omitempty"`
TotalErrors *int `json:"totalErrors,omitempty"`
}
ModelsErrorOverviewResponse defines model for models.ErrorOverviewResponse.
type ModelsErrorReportGraphByErrorResponse ¶
type ModelsErrorReportGraphByErrorResponse struct {
Result *[]ModelsErrorTimeSeriesByError `json:"result,omitempty"`
TimeRange *ModelsTimeRange `json:"timeRange,omitempty"`
}
ModelsErrorReportGraphByErrorResponse defines model for models.ErrorReportGraphByErrorResponse.
type ModelsErrorResponse ¶
type ModelsErrorResponse struct {
// Details Detailed error information
Details *string `json:"details,omitempty"`
// Error Error message or type
Error *string `json:"error,omitempty"`
// RequestStatus RequestStatus contains KAS-specific error details
// This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code
// If KAS returns an error, the request will not be forwarded to the backend
RequestStatus *ModelsKASRequestStatus `json:"requestStatus,omitempty"`
}
ModelsErrorResponse Standard error response returned by all API endpoints. For KAS API errors, requestStatus fields are populated.
type ModelsErrorTimeSeriesByError ¶
type ModelsErrorTimeSeriesByError struct {
Label *ModelsErrorLabelByError `json:"label,omitempty"`
Values *string `json:"values,omitempty"`
}
ModelsErrorTimeSeriesByError defines model for models.ErrorTimeSeriesByError.
type ModelsEvent ¶ added in v1.0.0
type ModelsEvent struct {
// Component Component name
Component *string `json:"component,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
// EventId Unique event identifier
EventId *string `json:"eventId,omitempty"`
Message *string `json:"message,omitempty"`
// Name Event name
Name *string `json:"name,omitempty"`
// NodeUUID Node UUID
NodeUUID *string `json:"nodeUUID,omitempty"`
// SuggestedActions Suggested actions for resolving the event
SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
// Type Event type
Type *string `json:"type,omitempty"`
}
ModelsEvent defines model for models.Event.
type ModelsEventBucket ¶ added in v1.0.0
type ModelsEventBucket struct {
Count *int `json:"count,omitempty"`
EndTime *string `json:"endTime,omitempty"`
FirstEventTime *string `json:"firstEventTime,omitempty"`
StartTime *string `json:"startTime,omitempty"`
}
ModelsEventBucket defines model for models.EventBucket.
type ModelsEventBucketsResponse ¶ added in v1.0.0
type ModelsEventBucketsResponse struct {
BucketInterval *string `json:"bucketInterval,omitempty"`
Buckets *[]ModelsEventBucket `json:"buckets,omitempty"`
}
ModelsEventBucketsResponse defines model for models.EventBucketsResponse.
type ModelsEventSeverity ¶
type ModelsEventSeverity string
ModelsEventSeverity defines model for models.EventSeverity.
const ( EventSeverityCritical ModelsEventSeverity = "Critical" EventSeverityFatal ModelsEventSeverity = "Fatal" EventSeverityInfo ModelsEventSeverity = "Info" EventSeverityWarning ModelsEventSeverity = "Warning" )
Defines values for ModelsEventSeverity.
func (ModelsEventSeverity) Valid ¶
func (e ModelsEventSeverity) Valid() bool
Valid indicates whether the value is a known member of the ModelsEventSeverity enum.
type ModelsEventsResponse ¶ added in v1.0.0
type ModelsEventsResponse struct {
Events *[]ModelsEvent `json:"events,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsEventsResponse defines model for models.EventsResponse.
type ModelsFilterField ¶
type ModelsFilterField struct {
Name *string `json:"name,omitempty"`
Options *[]ModelsFilterOption `json:"options,omitempty"`
}
ModelsFilterField defines model for models.FilterField.
type ModelsFilterOption ¶
type ModelsFilterOption = map[string]interface{}
ModelsFilterOption defines model for models.FilterOption.
type ModelsFilterOptions ¶
type ModelsFilterOptions struct {
Fields *[]ModelsFilterField `json:"fields,omitempty"`
}
ModelsFilterOptions defines model for models.FilterOptions.
type ModelsFirmwareCheck ¶
type ModelsFirmwareCheck string
ModelsFirmwareCheck defines model for models.FirmwareCheck.
const ( FirmwareCheckFailed ModelsFirmwareCheck = "Failed" FirmwareCheckPassed ModelsFirmwareCheck = "Passed" FirmwareCheckUnknown ModelsFirmwareCheck = "Unknown" )
Defines values for ModelsFirmwareCheck.
func (ModelsFirmwareCheck) Valid ¶
func (e ModelsFirmwareCheck) Valid() bool
Valid indicates whether the value is a known member of the ModelsFirmwareCheck enum.
type ModelsGPUDevice ¶
type ModelsGPUDevice struct {
BoardID *int `json:"boardID,omitempty"`
BusID *string `json:"busID,omitempty"`
ChassisSN *string `json:"chassisSN,omitempty"`
CliqueID *int `json:"cliqueID,omitempty"`
ClusterUUID *string `json:"clusterUUID,omitempty"`
GpuIndex *string `json:"gpuIndex,omitempty"`
MinorID *string `json:"minorID,omitempty"`
Sn *string `json:"sn,omitempty"`
Uuid *string `json:"uuid,omitempty"`
VbiosVersion *string `json:"vbiosVersion,omitempty"`
}
ModelsGPUDevice defines model for models.GPUDevice.
type ModelsGPUFirmwareVersion ¶ added in v1.0.0
type ModelsGPUFirmwareVersion struct {
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
GpuIndex *string `json:"gpuIndex,omitempty"`
}
ModelsGPUFirmwareVersion defines model for models.GPUFirmwareVersion.
type ModelsGPUInfo ¶
type ModelsGPUInfo struct {
Architecture *string `json:"architecture,omitempty"`
Gpus *[]ModelsGPUDevice `json:"gpus,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Memory *string `json:"memory,omitempty"`
Product *string `json:"product,omitempty"`
}
ModelsGPUInfo defines model for models.GPUInfo.
type ModelsGeoLocation ¶
type ModelsGeoLocation struct {
City *string `json:"city,omitempty"`
Country *string `json:"country,omitempty"`
Latitude *float32 `json:"latitude,omitempty"`
Longitude *float32 `json:"longitude,omitempty"`
Region *string `json:"region,omitempty"`
}
ModelsGeoLocation defines model for models.GeoLocation.
type ModelsGetMetricsResponse ¶ added in v1.0.0
type ModelsGetMetricsResponse struct {
Components *[]ModelsComponentMetricList `json:"components,omitempty"`
}
ModelsGetMetricsResponse defines model for models.GetMetricsResponse.
type ModelsGetRetentionPolicyResponse ¶ added in v1.0.0
type ModelsGetRetentionPolicyResponse struct {
CreatedAt *string `json:"createdAt,omitempty"`
RetentionDays *int `json:"retentionDays,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
UpdatedBy *string `json:"updatedBy,omitempty"`
}
ModelsGetRetentionPolicyResponse defines model for models.GetRetentionPolicyResponse.
type ModelsHealthSegment ¶
type ModelsHealthSegment struct {
EndTime *string `json:"endTime,omitempty"`
StartTime *string `json:"startTime,omitempty"`
Status *ModelsHealthState `json:"status,omitempty"`
}
ModelsHealthSegment defines model for models.HealthSegment.
type ModelsHealthState ¶
type ModelsHealthState string
ModelsHealthState defines model for models.HealthState.
const ( HealthStateDegraded ModelsHealthState = "Degraded" HealthStateHealthy ModelsHealthState = "Healthy" HealthStatePending ModelsHealthState = "Pending" HealthStateUnhealthy ModelsHealthState = "Unhealthy" HealthStateUnknown ModelsHealthState = "Unknown" HealthStateUnsupported ModelsHealthState = "Unsupported" )
Defines values for ModelsHealthState.
func (ModelsHealthState) Valid ¶
func (e ModelsHealthState) Valid() bool
Valid indicates whether the value is a known member of the ModelsHealthState enum.
type ModelsHealthSummary ¶
type ModelsHealthSummary struct {
DegradedDurationSeconds *float32 `json:"degradedDurationSeconds,omitempty"`
DegradedPercentage *float32 `json:"degradedPercentage,omitempty"`
HealthyDurationSeconds *float32 `json:"healthyDurationSeconds,omitempty"`
HealthyPercentage *float32 `json:"healthyPercentage,omitempty"`
UnhealthyDurationSeconds *float32 `json:"unhealthyDurationSeconds,omitempty"`
UnhealthyPercentage *float32 `json:"unhealthyPercentage,omitempty"`
}
ModelsHealthSummary defines model for models.HealthSummary.
type ModelsInbandNode ¶
type ModelsInbandNode struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
AgentType *string `json:"agentType,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
FirmwareCheck *ModelsFirmwareCheck `json:"firmwareCheck,omitempty"`
GpuCount *int `json:"gpuCount,omitempty"`
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty"`
GpuFirmwareVersions *[]ModelsGPUFirmwareVersion `json:"gpuFirmwareVersions,omitempty"`
GpuType *string `json:"gpuType,omitempty"`
HealthStatus *ModelsHealthState `json:"healthStatus,omitempty"`
Hostname *string `json:"hostname,omitempty"`
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUUID string `json:"nodeUUID"`
PrivateIP *string `json:"privateIP,omitempty"`
PublicIP *string `json:"publicIP,omitempty"`
}
ModelsInbandNode defines model for models.InbandNode.
type ModelsInbandNodeDetailsResponse ¶
type ModelsInbandNodeDetailsResponse struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
AgentType *string `json:"agentType,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
DegradedComponentCount *int `json:"degradedComponentCount,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
FirmwareCheck *ModelsFirmwareCheck `json:"firmwareCheck,omitempty"`
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
GpuCount *int `json:"gpuCount,omitempty"`
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty"`
GpuFirmwareVersions *[]ModelsGPUFirmwareVersion `json:"gpuFirmwareVersions,omitempty"`
GpuType *string `json:"gpuType,omitempty"`
HealthStatus *ModelsHealthState `json:"healthStatus,omitempty"`
HealthyComponentCount *int `json:"healthyComponentCount,omitempty"`
Hostname *string `json:"hostname,omitempty"`
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeGroupId *string `json:"nodeGroupId,omitempty"`
NodeUUID string `json:"nodeUUID"`
PrivateIP *string `json:"privateIP,omitempty"`
PublicIP *string `json:"publicIP,omitempty"`
Resources *ModelsNodeResources `json:"resources,omitempty"`
SystemInfo *ModelsSystemInfo `json:"systemInfo,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UnhealthyComponentCount *int `json:"unhealthyComponentCount,omitempty"`
}
ModelsInbandNodeDetailsResponse defines model for models.InbandNodeDetailsResponse.
type ModelsInbandNodesResponse ¶
type ModelsInbandNodesResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsInbandNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsInbandNodesResponse defines model for models.InbandNodesResponse.
type ModelsInfoResponse ¶ added in v1.0.0
type ModelsInfoResponse struct {
Components *ModelsComponentsInfo `json:"components,omitempty"`
SigningKey *ModelsSigningKeyInfo `json:"signingKey,omitempty"`
}
ModelsInfoResponse defines model for models.InfoResponse.
type ModelsIntegrityCheck ¶
type ModelsIntegrityCheck string
ModelsIntegrityCheck defines model for models.IntegrityCheck.
const ( IntegrityCheckDegraded ModelsIntegrityCheck = "Degraded" IntegrityCheckFailed ModelsIntegrityCheck = "Unverified" IntegrityCheckPassed ModelsIntegrityCheck = "Verified" IntegrityCheckPending ModelsIntegrityCheck = "Pending" IntegrityCheckUnknown ModelsIntegrityCheck = "Unknown" IntegrityCheckUnsupported ModelsIntegrityCheck = "Unsupported" )
Defines values for ModelsIntegrityCheck.
func (ModelsIntegrityCheck) Valid ¶
func (e ModelsIntegrityCheck) Valid() bool
Valid indicates whether the value is a known member of the ModelsIntegrityCheck enum.
type ModelsIntegrityCheckExtraInfo ¶
type ModelsIntegrityCheckExtraInfo struct {
ErrorDetails *string `json:"errorDetails,omitempty"`
GpuEvidencePresent *bool `json:"gpuEvidencePresent,omitempty"`
GpuResults *map[string]ModelsJWTClaims `json:"gpuResults,omitempty"`
NrasCallResult *string `json:"nrasCallResult,omitempty"`
OverallAttestationResult *bool `json:"overallAttestationResult,omitempty"`
}
ModelsIntegrityCheckExtraInfo defines model for models.IntegrityCheckExtraInfo.
type ModelsInventoryNode ¶
type ModelsInventoryNode struct {
AgentVersion *string `json:"agentVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
FirmwareCheck *ModelsFirmwareCheck `json:"firmwareCheck,omitempty"`
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
GpuCount *int `json:"gpuCount,omitempty"`
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty"`
GpuFirmwareVersions *[]ModelsGPUFirmwareVersion `json:"gpuFirmwareVersions,omitempty"`
GpuType *string `json:"gpuType,omitempty"`
GpuUUIDs *[]string `json:"gpuUUIDs,omitempty"`
Hostname *string `json:"hostname,omitempty"`
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
PrivateIP *string `json:"privateIP,omitempty"`
PublicIP *string `json:"publicIP,omitempty"`
RemovedAt *string `json:"removedAt,omitempty"`
SerialNumbers *[]string `json:"serialNumbers,omitempty"`
SystemUUID *string `json:"systemUUID,omitempty"`
}
ModelsInventoryNode defines model for models.InventoryNode.
type ModelsInventoryReportResponse ¶
type ModelsInventoryReportResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsInventoryNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsInventoryReportResponse defines model for models.InventoryReportResponse.
type ModelsJWTClaims ¶
type ModelsJWTClaims struct {
EatNonce *string `json:"eat_nonce,omitempty"`
Exp *int `json:"exp,omitempty"`
// Hwmodel Hardware info
Hwmodel *string `json:"hwmodel,omitempty"`
Iat *int `json:"iat,omitempty"`
// Iss Standard JWT claims
Iss *string `json:"iss,omitempty"`
Jti *string `json:"jti,omitempty"`
Measres *string `json:"measres,omitempty"`
Nbf *int `json:"nbf,omitempty"`
Sub *string `json:"sub,omitempty"`
Ueid *string `json:"ueid,omitempty"`
XNvidiaAttestationWarning *string `json:"x-nvidia-attestation-warning,omitempty"`
XNvidiaErrorDetails *[]ModelsNRASErrorDetail `json:"x-nvidia-error-details,omitempty"`
// XNvidiaGpuArchCheck NVIDIA attestation claims - GPU specific
XNvidiaGpuArchCheck *bool `json:"x-nvidia-gpu-arch-check,omitempty"`
XNvidiaGpuAttestationReportCertChain *ModelsCertChainStatus `json:"x-nvidia-gpu-attestation-report-cert-chain,omitempty"`
XNvidiaGpuAttestationReportNonceMatch *bool `json:"x-nvidia-gpu-attestation-report-nonce-match,omitempty"`
XNvidiaGpuAttestationReportParsed *bool `json:"x-nvidia-gpu-attestation-report-parsed,omitempty"`
XNvidiaGpuAttestationReportSignatureVerified *bool `json:"x-nvidia-gpu-attestation-report-signature-verified,omitempty"`
XNvidiaGpuVbiosRimFetched *bool `json:"x-nvidia-gpu-vbios-rim-fetched,omitempty"`
XNvidiaGpuVbiosRimMeasurementsAvailable *bool `json:"x-nvidia-gpu-vbios-rim-measurements-available,omitempty"`
XNvidiaGpuVbiosVersion *string `json:"x-nvidia-gpu-vbios-version,omitempty"`
XNvidiaMismatchMeasurementRecords *[]interface{} `json:"x-nvidia-mismatch-measurement-records,omitempty"`
// XNvidiaOverallAttResult NVIDIA attestation claims - overall result (for overall JWT)
XNvidiaOverallAttResult *bool `json:"x-nvidia-overall-att-result,omitempty"`
}
ModelsJWTClaims defines model for models.JWTClaims.
type ModelsKASRequestStatus ¶
type ModelsKASRequestStatus struct {
// RequestId Request ID for tracing
RequestId *string `json:"requestId,omitempty"`
// StatusCode Status code from KAS
StatusCode *string `json:"statusCode,omitempty"`
// StatusDescription Status description from KAS
StatusDescription *string `json:"statusDescription,omitempty"`
}
ModelsKASRequestStatus RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend
type ModelsListComputeZonesResponse ¶
type ModelsListComputeZonesResponse struct {
Computezones *[]ModelsSimpleComputeZone `json:"computezones,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsListComputeZonesResponse defines model for models.ListComputeZonesResponse.
type ModelsListMuteRulesResponse ¶ added in v1.0.0
type ModelsListMuteRulesResponse struct {
Rules *[]ModelsMuteRuleWithDetails `json:"rules,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsListMuteRulesResponse defines model for models.ListMuteRulesResponse.
type ModelsListNodeGroupsResponse ¶
type ModelsListNodeGroupsResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
NodeGroups *[]ModelsSimpleNodeGroup `json:"nodeGroups,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsListNodeGroupsResponse defines model for models.ListNodeGroupsResponse.
type ModelsListNotificationPreferencesResponse ¶ added in v1.0.0
type ModelsListNotificationPreferencesResponse struct {
ComponentPreferenceCounts *map[string]int `json:"componentPreferenceCounts,omitempty"`
Preferences *[]ModelsNotificationPreferenceDetail `json:"preferences,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsListNotificationPreferencesResponse defines model for models.ListNotificationPreferencesResponse.
type ModelsListTagsResponse ¶ added in v1.0.0
type ModelsListTagsResponse struct {
Tags *[]string `json:"tags,omitempty"`
}
ModelsListTagsResponse defines model for models.ListTagsResponse.
type ModelsMemoryInfo ¶
type ModelsMemoryInfo struct {
TotalBytes *string `json:"totalBytes,omitempty"`
}
ModelsMemoryInfo defines model for models.MemoryInfo.
type ModelsMetric ¶
type ModelsMetric struct {
Aggregation *ModelsAggregation `json:"aggregation,omitempty"`
Description *string `json:"description,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
Unit *string `json:"unit,omitempty"`
Value *float32 `json:"value,omitempty"`
}
ModelsMetric defines model for models.Metric.
type ModelsMetricInfo ¶ added in v1.0.0
type ModelsMetricInfo struct {
DisplayName *string `json:"displayName,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Unit *string `json:"unit,omitempty"`
}
ModelsMetricInfo defines model for models.MetricInfo.
type ModelsMetricQueryWarning ¶ added in v1.0.0
type ModelsMetricQueryWarning struct {
Code *string `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
}
ModelsMetricQueryWarning e.g. omitted invalid metric points; null when no issues
type ModelsMetricSeriesData ¶ added in v1.0.0
type ModelsMetricSeriesData struct {
// DisplayLabel DisplayLabel is the preferred label value for UI display (e.g., GPU index for DCGM metrics).
// Derived from the "gpu" key if present, otherwise falls back to "gpu_uuid".
// Omitted for aggregated levels where labels are not present.
DisplayLabel *string `json:"displayLabel,omitempty"`
// Label Label contains identifying information (e.g., GPU UUID) for node-level queries.
// Omitted for aggregated levels (customer/nodegroup/computezone).
// Typical keys: "gpu" (GPU index), "uuid" (GPU UUID).
Label *map[string]string `json:"label,omitempty"`
// Values Values is a 2D array where each inner array contains [unix_timestamp, metric_value]
// This follows the Prometheus/Grafana standard format for compatibility
// The last element in the array represents the most recent/latest value
// Example: [[1705276800, 0.723], [1705277100, 0.741]]
// NOTE: swaggertype:"string" is a workaround for swag limitations with nested arrays
Values *string `json:"values,omitempty"`
}
ModelsMetricSeriesData defines model for models.MetricSeriesData.
type ModelsMetricTimeSeries ¶ added in v1.0.0
type ModelsMetricTimeSeries struct {
Aggregation *ModelsAggregation `json:"aggregation,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
EmptyStateMessage *string `json:"emptyStateMessage,omitempty"`
// FalseLabel FalseLabel is the human-readable label for value 0 in boolean/count-as-bool metrics.
// Omitted for non-boolean metrics.
FalseLabel *string `json:"falseLabel,omitempty"`
Name *string `json:"name,omitempty"`
// Result Array of series data (1 for aggregated, multiple for node-level)
Result *[]ModelsMetricSeriesData `json:"result,omitempty"`
// TrueLabel TrueLabel is the human-readable label for value 1 in boolean/count-as-bool metrics.
// Omitted for non-boolean metrics.
TrueLabel *string `json:"trueLabel,omitempty"`
Unit *string `json:"unit,omitempty"`
// Warning e.g. omitted invalid metric points; null when no issues
Warning ModelsMetricQueryWarning `json:"warning"`
}
ModelsMetricTimeSeries defines model for models.MetricTimeSeries.
type ModelsMetricsAggregationResponse ¶ added in v1.0.0
type ModelsMetricsAggregationResponse struct {
Metrics *[]ModelsMetricTimeSeries `json:"metrics,omitempty"`
// Step Query resolution step width from request
Step *string `json:"step,omitempty"`
TimeRange *ModelsTimeRange `json:"timeRange,omitempty"`
}
ModelsMetricsAggregationResponse defines model for models.MetricsAggregationResponse.
type ModelsMuteRuleWithDetails ¶ added in v1.0.0
type ModelsMuteRuleWithDetails struct {
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
Reason *string `json:"reason,omitempty"`
Severities *[]string `json:"severities,omitempty"`
}
ModelsMuteRuleWithDetails defines model for models.MuteRuleWithDetails.
type ModelsNRASErrorDetail ¶
type ModelsNRASErrorDetail struct {
Code *int `json:"code,omitempty"`
Description *string `json:"description,omitempty"`
FieldName *string `json:"fieldName,omitempty"`
HttpStatus *string `json:"httpStatus,omitempty"`
Message *string `json:"message,omitempty"`
}
ModelsNRASErrorDetail defines model for models.NRASErrorDetail.
type ModelsNicInfo ¶
type ModelsNicInfo struct {
PrivateIPInterfaces *[]ModelsNicInterface `json:"privateIPInterfaces,omitempty"`
}
ModelsNicInfo defines model for models.NicInfo.
type ModelsNicInterface ¶
type ModelsNicInterface struct {
Interface *string `json:"interface,omitempty"`
Ip *string `json:"ip,omitempty"`
Mac *string `json:"mac,omitempty"`
}
ModelsNicInterface defines model for models.NicInterface.
type ModelsNodeAlertComponent ¶
type ModelsNodeAlertComponent struct {
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
Data *[]ModelsAlert `json:"data,omitempty"`
}
ModelsNodeAlertComponent defines model for models.NodeAlertComponent.
type ModelsNodeAlertResponse ¶
type ModelsNodeAlertResponse struct {
Alert *[]ModelsNodeAlertComponent `json:"alert,omitempty"`
CustomerId *string `json:"customerId,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
Page *int `json:"page,omitempty"`
PageCursorNext *string `json:"pageCursorNext,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
}
ModelsNodeAlertResponse defines model for models.NodeAlertResponse.
type ModelsNodeGroupMembership ¶ added in v1.0.0
type ModelsNodeGroupMembership struct {
CreatedAt *string `json:"createdAt,omitempty"`
NodeGroupId *string `json:"nodeGroupId,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
ModelsNodeGroupMembership defines model for models.NodeGroupMembership.
type ModelsNodeGroupMembershipsResponse ¶ added in v1.0.0
type ModelsNodeGroupMembershipsResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Memberships *[]ModelsNodeGroupMembership `json:"memberships,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsNodeGroupMembershipsResponse defines model for models.NodeGroupMembershipsResponse.
type ModelsNodeGroupOverview ¶
type ModelsNodeGroupOverview struct {
AlertOverview *ModelsAlertOverview `json:"alertOverview,omitempty"`
ComputeZoneContact *ModelsContact `json:"computeZoneContact,omitempty"`
ComputeZoneGeoLocation *ModelsGeoLocation `json:"computeZoneGeoLocation,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
ComputeZoneName *string `json:"computeZoneName,omitempty"`
CpuCoresCount *int `json:"cpuCoresCount,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
DegradedNodesCount *int `json:"degradedNodesCount,omitempty"`
Description *string `json:"description,omitempty"`
GpusCount *int `json:"gpusCount,omitempty"`
// HasInbandAgent HasInbandAgent / HasOobAgent are true when at least one node in this group has ever
// reported in-band / OOB inventory. A group can have both, one, or neither depending on
// its membership (empty group → both false).
HasInbandAgent *bool `json:"hasInbandAgent,omitempty"`
HasOobAgent *bool `json:"hasOobAgent,omitempty"`
HealthPercentage *float32 `json:"healthPercentage,omitempty"`
HealthState *ModelsHealthState `json:"healthState,omitempty"`
HealthyNodesCount *int `json:"healthyNodesCount,omitempty"`
Id *string `json:"id,omitempty"`
Metrics *[]ModelsMetric `json:"metrics,omitempty"`
Name *string `json:"name,omitempty"`
NodesCount *int `json:"nodesCount,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UnhealthyNodesCount *int `json:"unhealthyNodesCount,omitempty"`
UnknownNodesCount *int `json:"unknownNodesCount,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
ModelsNodeGroupOverview defines model for models.NodeGroupOverview.
type ModelsNodeGroupsResponse ¶
type ModelsNodeGroupsResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
NodeGroups *[]ModelsNodeGroupOverview `json:"nodeGroups,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsNodeGroupsResponse defines model for models.NodeGroupsResponse.
type ModelsNodeHealthHistoryResponse ¶
type ModelsNodeHealthHistoryResponse struct {
EnrolledAt *string `json:"enrolledAt,omitempty"`
HealthSummary *ModelsHealthSummary `json:"healthSummary,omitempty"`
MachineStatus *[]ModelsHealthSegment `json:"machineStatus,omitempty"`
}
ModelsNodeHealthHistoryResponse defines model for models.NodeHealthHistoryResponse.
type ModelsNodeHistoryEntry ¶ added in v1.0.0
type ModelsNodeHistoryEntry struct {
ActorType *string `json:"actorType,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
DeletedAt *string `json:"deletedAt,omitempty"`
DeletedBy *string `json:"deletedBy,omitempty"`
Hostname *string `json:"hostname,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUuid *string `json:"nodeUuid,omitempty"`
}
ModelsNodeHistoryEntry defines model for models.NodeHistoryEntry.
type ModelsNodeHistoryResponse ¶ added in v1.0.0
type ModelsNodeHistoryResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
History *[]ModelsNodeHistoryEntry `json:"history,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsNodeHistoryResponse defines model for models.NodeHistoryResponse.
type ModelsNodeRemovalPolicy ¶ added in v1.0.0
type ModelsNodeRemovalPolicy struct {
CreatedAt *string `json:"createdAt,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// LastCheckedAt LastCheckedAt is the most recent time the node reaper evaluated this customer.
// Zero until the reaper first runs against the customer (DB column is NULL), and
// omitted from the response until then.
LastCheckedAt *string `json:"lastCheckedAt,omitempty"`
OfflineThresholdDays *int `json:"offlineThresholdDays,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
UpdatedBy *string `json:"updatedBy,omitempty"`
}
ModelsNodeRemovalPolicy defines model for models.NodeRemovalPolicy.
type ModelsNodeResources ¶
type ModelsNodeResources struct {
CpuInfo *ModelsCPUInfo `json:"cpuInfo,omitempty"`
DiskInfo *ModelsDiskInfo `json:"diskInfo,omitempty"`
GpuInfo *ModelsGPUInfo `json:"gpuInfo,omitempty"`
MemoryInfo *ModelsMemoryInfo `json:"memoryInfo,omitempty"`
NicInfo *ModelsNicInfo `json:"nicInfo,omitempty"`
}
ModelsNodeResources defines model for models.NodeResources.
type ModelsNotificationChannel ¶ added in v1.0.0
type ModelsNotificationChannel string
ModelsNotificationChannel Channel type: email, slack, or webhook
const ( NotificationChannelEmail ModelsNotificationChannel = "email" NotificationChannelSlack ModelsNotificationChannel = "slack" NotificationChannelWebhook ModelsNotificationChannel = "webhook" )
Defines values for ModelsNotificationChannel.
func (ModelsNotificationChannel) Valid ¶ added in v1.0.0
func (e ModelsNotificationChannel) Valid() bool
Valid indicates whether the value is a known member of the ModelsNotificationChannel enum.
type ModelsNotificationPreferenceDetail ¶ added in v1.0.0
type ModelsNotificationPreferenceDetail struct {
Active *bool `json:"active,omitempty"`
Audience *ModelsAudience `json:"audience,omitempty"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
ComponentDisplayNames *map[string]string `json:"componentDisplayNames,omitempty"`
Components *[]string `json:"components,omitempty"`
Id *string `json:"id,omitempty"`
NotificationTargets *[]ModelsNotificationTarget `json:"notificationTargets,omitempty"`
NotifiedOn *[]string `json:"notifiedOn,omitempty"`
Scope *ModelsNotificationScopeResponse `json:"scope,omitempty"`
}
ModelsNotificationPreferenceDetail defines model for models.NotificationPreferenceDetail.
type ModelsNotificationPreferenceRequest ¶ added in v1.0.0
type ModelsNotificationPreferenceRequest struct {
// Active Active flag: when false, this preference is temporarily paused (other preferences covering
// the same component still fire). If omitted on create, defaults to true. If omitted on update, the
// existing value is preserved.
Active *bool `json:"active,omitempty"`
// Components Components this preference applies to (e.g. GPU, CPU, NVLink, agent_liveness). At least one;
// all settings below apply equally to every listed component.
Components []string `json:"components"`
// NotificationTargets At least one notification target is required.
// Config structure depends on channel — see EmailNotificationConfig, SlackNotificationConfig, WebhookNotificationConfig.
NotificationTargets []ModelsNotificationTarget `json:"notificationTargets"`
// NotifiedOn Alert statuses to notify on. Valid values: Critical, Warning, Resolved.
// If empty or omitted, defaults to all three: [Critical, Warning, Resolved].
NotifiedOn *[]string `json:"notifiedOn,omitempty"`
// Scope Optional scope to narrow which nodes trigger notifications.
// If omitted or null, all nodes for this component trigger notifications.
Scope *ModelsNotificationScope `json:"scope,omitempty"`
}
ModelsNotificationPreferenceRequest defines model for models.NotificationPreferenceRequest.
type ModelsNotificationScope ¶ added in v1.0.0
type ModelsNotificationScope struct {
// Type Scope type: all, nodes, node_groups, compute_zones, or tags
Type *ModelsNotificationScopeType `json:"type,omitempty"`
// Values Scope values: UUIDs for nodes/node_groups/compute_zones, or tag name strings for tags.
// At least one value is required for all types except "all".
Values *[]string `json:"values,omitempty"`
}
ModelsNotificationScope Optional scope to narrow which nodes trigger notifications. If omitted or null, all nodes for this component trigger notifications.
type ModelsNotificationScopeResponse ¶ added in v1.0.0
type ModelsNotificationScopeResponse struct {
// Type Scope type: all, nodes, node_groups, compute_zones, or tags
Type *ModelsNotificationScopeType `json:"type,omitempty"`
Values *map[string]string `json:"values,omitempty"`
}
ModelsNotificationScopeResponse defines model for models.NotificationScopeResponse.
type ModelsNotificationScopeType ¶ added in v1.0.0
type ModelsNotificationScopeType string
ModelsNotificationScopeType Scope type: all, nodes, node_groups, compute_zones, or tags
const ( ScopeAll ModelsNotificationScopeType = "all" ScopeComputeZones ModelsNotificationScopeType = "compute_zones" ScopeNodeGroups ModelsNotificationScopeType = "node_groups" ScopeNodes ModelsNotificationScopeType = "nodes" ScopeTags ModelsNotificationScopeType = "tags" )
Defines values for ModelsNotificationScopeType.
func (ModelsNotificationScopeType) Valid ¶ added in v1.0.0
func (e ModelsNotificationScopeType) Valid() bool
Valid indicates whether the value is a known member of the ModelsNotificationScopeType enum.
type ModelsNotificationTarget ¶ added in v1.0.0
type ModelsNotificationTarget struct {
// Channel Channel type: email, slack, or webhook
Channel ModelsNotificationChannel `json:"channel"`
// Config Channel-specific configuration (see EmailNotificationConfig, SlackNotificationConfig, WebhookNotificationConfig)
Config map[string]interface{} `json:"config"`
}
ModelsNotificationTarget defines model for models.NotificationTarget.
type ModelsOobChassis ¶
type ModelsOobChassis struct {
AssetTag *string `json:"assetTag,omitempty"`
ChassisType *string `json:"chassisType,omitempty"`
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
Id string `json:"id"`
Location *ModelsOobChassisLocation `json:"location,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
PcieDevices *[]ModelsOobPcieDevice `json:"pcieDevices,omitempty"`
PowerState *string `json:"powerState,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
StatusState *string `json:"statusState,omitempty"`
}
ModelsOobChassis defines model for models.OobChassis.
type ModelsOobChassisLocation ¶
type ModelsOobChassisLocation struct {
Rack *string `json:"rack,omitempty"`
RackOffset *int `json:"rackOffset,omitempty"`
Room *string `json:"room,omitempty"`
Row *string `json:"row,omitempty"`
ServiceLabel *string `json:"serviceLabel,omitempty"`
}
ModelsOobChassisLocation defines model for models.OobChassisLocation.
type ModelsOobDomainError ¶
type ModelsOobDomainError struct {
Domain string `json:"domain"`
Message string `json:"message"`
Resource *string `json:"resource,omitempty"`
}
ModelsOobDomainError defines model for models.OobDomainError.
type ModelsOobFirmware ¶
type ModelsOobFirmware struct {
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
OdataId *string `json:"odataId,omitempty"`
ReleaseDate *string `json:"releaseDate,omitempty"`
ServiceId string `json:"serviceId"`
StatusState *string `json:"statusState,omitempty"`
Version *string `json:"version,omitempty"`
}
ModelsOobFirmware defines model for models.OobFirmware.
type ModelsOobInventory ¶
type ModelsOobInventory struct {
Chassis *[]ModelsOobChassis `json:"chassis,omitempty"`
CollectedAt string `json:"collectedAt"`
DomainErrors *[]ModelsOobDomainError `json:"domainErrors,omitempty"`
Firmware *[]ModelsOobFirmware `json:"firmware,omitempty"`
Managers *[]ModelsOobManager `json:"managers,omitempty"`
// PrimarySystemId Optional fields — omitted from the response when absent:
PrimarySystemId *string `json:"primarySystemId,omitempty"`
// SchemaVersion Required scalars — always present on a valid inventory document.
// `binding:"required"` is honored when this struct is embedded into
// OobNodeUpsertRequest and bound from a request body; the tag is
// inert during response marshaling.
SchemaVersion string `json:"schemaVersion"`
Source ModelsOobSource `json:"source"`
// Systems List sections — always emitted as a JSON array, possibly empty:
Systems *[]ModelsOobSystem `json:"systems,omitempty"`
TargetError *string `json:"targetError,omitempty"`
}
ModelsOobInventory defines model for models.OobInventory.
type ModelsOobManager ¶
type ModelsOobManager struct {
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
Id string `json:"id"`
ManagerType *string `json:"managerType,omitempty"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
StatusState *string `json:"statusState,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobManager defines model for models.OobManager.
type ModelsOobNode ¶
type ModelsOobNode struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
AgentType *string `json:"agentType,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
BmcHostname *string `json:"bmcHostname,omitempty"`
BmcIP *string `json:"bmcIP,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
HealthStatus *ModelsHealthState `json:"healthStatus,omitempty"`
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUUID string `json:"nodeUUID"`
}
ModelsOobNode defines model for models.OobNode.
type ModelsOobNodeDetailsResponse ¶
type ModelsOobNodeDetailsResponse struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
AgentType *string `json:"agentType,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
BmcHostname *string `json:"bmcHostname,omitempty"`
BmcIP *string `json:"bmcIP,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
DegradedComponentCount *int `json:"degradedComponentCount,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
HealthStatus *ModelsHealthState `json:"healthStatus,omitempty"`
HealthyComponentCount *int `json:"healthyComponentCount,omitempty"`
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeGroupId *string `json:"nodeGroupId,omitempty"`
NodeUUID string `json:"nodeUUID"`
OobInventory *ModelsOobInventory `json:"oobInventory,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UnhealthyComponentCount *int `json:"unhealthyComponentCount,omitempty"`
}
ModelsOobNodeDetailsResponse defines model for models.OobNodeDetailsResponse.
type ModelsOobNodesResponse ¶
type ModelsOobNodesResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsOobNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsOobNodesResponse defines model for models.OobNodesResponse.
type ModelsOobPcieDevice ¶
type ModelsOobPcieDevice struct {
DeviceType *string `json:"deviceType,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
Id string `json:"id"`
Manufacturer *string `json:"manufacturer,omitempty"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
StatusState *string `json:"statusState,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobPcieDevice defines model for models.OobPcieDevice.
type ModelsOobProcessor ¶
type ModelsOobProcessor struct {
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
Id string `json:"id"`
InstructionSet *string `json:"instructionSet,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
MaxSpeedMhz *int `json:"maxSpeedMhz,omitempty"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
ProcessorArchitecture *string `json:"processorArchitecture,omitempty"`
ProcessorType *string `json:"processorType,omitempty"`
Socket *string `json:"socket,omitempty"`
StatusState *string `json:"statusState,omitempty"`
TotalCores *int `json:"totalCores,omitempty"`
TotalThreads *int `json:"totalThreads,omitempty"`
}
ModelsOobProcessor defines model for models.OobProcessor.
type ModelsOobSource ¶
type ModelsOobSource struct {
Address string `json:"address"`
HostName *string `json:"hostName,omitempty"`
Mac string `json:"mac"`
RedfishVersion *string `json:"redfishVersion,omitempty"`
ServiceUuid *string `json:"serviceUuid,omitempty"`
SourceType string `json:"sourceType"`
Vendor *string `json:"vendor,omitempty"`
}
ModelsOobSource defines model for models.OobSource.
type ModelsOobSystem ¶
type ModelsOobSystem struct {
AssetTag *string `json:"assetTag,omitempty"`
BiosVersion *string `json:"biosVersion,omitempty"`
CpuCoreCount *int `json:"cpuCoreCount,omitempty"`
CpuCount *int `json:"cpuCount,omitempty"`
CpuModel *string `json:"cpuModel,omitempty"`
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
HostName *string `json:"hostName,omitempty"`
Id string `json:"id"`
Manufacturer *string `json:"manufacturer,omitempty"`
MemoryGib *float32 `json:"memoryGib,omitempty"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PowerState *string `json:"powerState,omitempty"`
Processors *[]ModelsOobProcessor `json:"processors,omitempty"`
SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
StatusState *string `json:"statusState,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobSystem defines model for models.OobSystem.
type ModelsOptions ¶
type ModelsOptions struct {
Filters *ModelsFilterOptions `json:"filters,omitempty"`
Sorting *ModelsSortingOptions `json:"sorting,omitempty"`
}
ModelsOptions defines model for models.Options.
type ModelsOverviewResponse ¶ added in v1.0.0
type ModelsOverviewResponse struct {
ComputeZoneCount *int `json:"computeZoneCount,omitempty"`
CpuCoresCount *int `json:"cpuCoresCount,omitempty"`
DegradedNodeCount *int `json:"degradedNodeCount,omitempty"`
GpusCount *int `json:"gpusCount,omitempty"`
HealthNodeCount *int `json:"healthNodeCount,omitempty"`
HealthPercentage *float32 `json:"healthPercentage,omitempty"`
Metrics *[]ModelsMetric `json:"metrics,omitempty"`
NodeGroupCount *int `json:"nodeGroupCount,omitempty"`
NodesCount *int `json:"nodesCount,omitempty"`
UnhealthyNodeCount *int `json:"unhealthyNodeCount,omitempty"`
UnknownNodeCount *int `json:"unknownNodeCount,omitempty"`
}
ModelsOverviewResponse defines model for models.OverviewResponse.
type ModelsQueryMetricRangeResponse ¶ added in v1.0.0
type ModelsQueryMetricRangeResponse struct {
// Result NodeAggregationFunction string `json:"nodeAggregationFunction" example:"avg"` // TODO: add this in later
Result *[]ModelsMetricSeriesData `json:"result,omitempty"`
Step *string `json:"step,omitempty"`
StepAggregationFunction *string `json:"stepAggregationFunction,omitempty"`
TimeRange *ModelsTimeRange `json:"timeRange,omitempty"`
// Warning e.g. omitted invalid metric points; null when no issues
Warning ModelsMetricQueryWarning `json:"warning"`
}
ModelsQueryMetricRangeResponse defines model for models.QueryMetricRangeResponse.
type ModelsSetNodeTagsRequest ¶
type ModelsSetNodeTagsRequest struct {
Tags []string `json:"tags"`
}
ModelsSetNodeTagsRequest defines model for models.SetNodeTagsRequest.
type ModelsSetNodeTagsResponse ¶
type ModelsSetNodeTagsResponse struct {
NodeUUID *string `json:"nodeUUID,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
ModelsSetNodeTagsResponse defines model for models.SetNodeTagsResponse.
type ModelsSigningKeyInfo ¶ added in v1.0.0
type ModelsSigningKeyInfo struct {
IsRecentlyRotated *bool `json:"isRecentlyRotated,omitempty"`
LastRotatedAt *string `json:"lastRotatedAt,omitempty"`
}
ModelsSigningKeyInfo defines model for models.SigningKeyInfo.
type ModelsSimpleComputeZone ¶
type ModelsSimpleComputeZone struct {
Contact *ModelsContact `json:"contact,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *ModelsComputeZoneType `json:"type,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
ModelsSimpleComputeZone defines model for models.SimpleComputeZone.
type ModelsSimpleNode ¶
type ModelsSimpleNode struct {
BmcHostname *string `json:"bmcHostname,omitempty"`
BmcIP *string `json:"bmcIP,omitempty"`
Hostname *string `json:"hostname,omitempty"`
NodeUUID string `json:"nodeUUID"`
}
ModelsSimpleNode defines model for models.SimpleNode.
type ModelsSimpleNodeGroup ¶
type ModelsSimpleNodeGroup struct {
ComputeZoneId *string `json:"computeZoneId,omitempty"`
ComputeZoneName *string `json:"computeZoneName,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
ModelsSimpleNodeGroup defines model for models.SimpleNodeGroup.
type ModelsSingleCommand ¶ added in v1.0.0
type ModelsSingleCommand struct {
Link *string `json:"link,omitempty"`
Name *string `json:"name,omitempty"`
Placeholders *[]string `json:"placeholders,omitempty"`
Template *string `json:"template,omitempty"`
}
ModelsSingleCommand defines model for models.SingleCommand.
type ModelsSortingDefaults ¶
type ModelsSortingDefaults struct {
Field *string `json:"field,omitempty"`
Order *string `json:"order,omitempty"`
}
ModelsSortingDefaults defines model for models.SortingDefaults.
type ModelsSortingOptions ¶
type ModelsSortingOptions struct {
Defaults *ModelsSortingDefaults `json:"defaults,omitempty"`
Fields *[]string `json:"fields,omitempty"`
Orders *[]string `json:"orders,omitempty"`
}
ModelsSortingOptions defines model for models.SortingOptions.
type ModelsSuggestedAction ¶
type ModelsSuggestedAction struct {
// Action Resolution action from Guidance Classes sheet
Action *string `json:"action,omitempty"`
// Code Action code from NVIDIA XID catalog
Code *string `json:"code,omitempty"`
// Persona Target persona; omitted when an endpoint has already reduced actions to one persona
Persona *ModelsActionPersona `json:"persona,omitempty"`
// Type Action type: "immediate" or "investigatory"
Type *ModelsActionType `json:"type,omitempty"`
}
ModelsSuggestedAction defines model for models.SuggestedAction.
type ModelsSystemInfo ¶
type ModelsSystemInfo struct {
AgentVersion *string `json:"agentVersion,omitempty"`
BootID *string `json:"bootID,omitempty"`
ContainerRuntimeVersion *string `json:"containerRuntimeVersion,omitempty"`
CudaVersion *string `json:"cudaVersion,omitempty"`
DcgmVersion *string `json:"dcgmVersion,omitempty"`
GpuDriverVersion *string `json:"gpuDriverVersion,omitempty"`
Hostname *string `json:"hostname,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
OperatingSystem *string `json:"operatingSystem,omitempty"`
OsImage *string `json:"osImage,omitempty"`
StartedAt *string `json:"startedAt,omitempty"`
SystemUUID *string `json:"systemUUID,omitempty"`
}
ModelsSystemInfo defines model for models.SystemInfo.
type ModelsTimeRange ¶
type ModelsTimeRange struct {
End *time.Time `json:"end,omitempty"`
Start *time.Time `json:"start,omitempty"`
}
ModelsTimeRange defines model for models.TimeRange.
type ModelsUpdateComputeZoneRequest ¶
type ModelsUpdateComputeZoneRequest struct {
Contact *ModelsContact `json:"contact,omitempty"`
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
Id string `json:"id"`
Type *string `json:"type,omitempty"`
}
ModelsUpdateComputeZoneRequest defines model for models.UpdateComputeZoneRequest.
type ModelsUpdateComputeZoneResponse ¶
type ModelsUpdateComputeZoneResponse struct {
Id *string `json:"id,omitempty"`
}
ModelsUpdateComputeZoneResponse defines model for models.UpdateComputeZoneResponse.
type ModelsUpdateMuteRuleRequest ¶ added in v1.0.0
type ModelsUpdateMuteRuleRequest struct {
Component string `json:"component"`
Reason *string `json:"reason,omitempty"`
Severities *[]string `json:"severities,omitempty"`
}
ModelsUpdateMuteRuleRequest defines model for models.UpdateMuteRuleRequest.
type ModelsUpdateNodeRemovalPolicyRequest ¶ added in v1.0.0
type ModelsUpdateNodeRemovalPolicyRequest struct {
Enabled bool `json:"enabled"`
OfflineThresholdDays *int `json:"offlineThresholdDays,omitempty"`
}
ModelsUpdateNodeRemovalPolicyRequest defines model for models.UpdateNodeRemovalPolicyRequest.
type ModelsUpdateRetentionPolicyRequest ¶ added in v1.0.0
type ModelsUpdateRetentionPolicyRequest struct {
RetentionDays int `json:"retentionDays"`
}
ModelsUpdateRetentionPolicyRequest defines model for models.UpdateRetentionPolicyRequest.
type ModelsXIDBurstDetail ¶
type ModelsXIDBurstDetail struct {
BurstDurationSeconds *int `json:"burstDurationSeconds,omitempty"`
BurstId *string `json:"burstId,omitempty"`
// Category Category and Subcategory are cloud-provider/NCP-only fields.
Category *string `json:"category,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
// DeviceIds DeviceIDs maps each impacted GPU PCI device ID to the distinct XID
// numbers observed on that device in the burst.
DeviceIds *map[string][]int `json:"deviceIds,omitempty"`
EndTime *time.Time `json:"endTime,omitempty"`
Hostname *string `json:"hostname,omitempty"`
// JobDisruption JobDisruption is true when any XID in the burst is job-fatal. It is
// identical for tenant and cloud-provider/NCP callers.
JobDisruption *bool `json:"jobDisruption,omitempty"`
// JobDisruptionDueToPlatformIssue JobDisruptionDueToPlatformIssue is the analyzer's platform-attributed
// burst classification and is omitted for tenant callers.
JobDisruptionDueToPlatformIssue *bool `json:"jobDisruptionDueToPlatformIssue,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeGroupId *string `json:"nodeGroupId,omitempty"`
NodeUuid *string `json:"nodeUuid,omitempty"`
StartTime *time.Time `json:"startTime,omitempty"`
StickyXidsSuppressed *int `json:"stickyXidsSuppressed,omitempty"`
Subcategory *string `json:"subcategory,omitempty"`
// SuggestedActions SuggestedActions contains tenant actions for tenants and all tenant plus
// dc_admin actions for cloud-provider/NCP callers. Action is resolved
// Guidance Classes text; Code is the catalog action code and Persona identifies
// the tenant or dc_admin UI section.
SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
XidCount *int `json:"xidCount,omitempty"`
XidNumbers *[]ModelsXIDBurstXID `json:"xidNumbers,omitempty"`
}
ModelsXIDBurstDetail defines model for models.XIDBurstDetail.
type ModelsXIDBurstFilterOptionsResponse ¶
type ModelsXIDBurstFilterOptionsResponse struct {
Categories *[]string `json:"categories,omitempty"`
JobDisruption *[]bool `json:"jobDisruption,omitempty"`
// JobDisruptionDueToPlatformIssue JobDisruptionDueToPlatformIssue is omitted for tenant callers.
JobDisruptionDueToPlatformIssue *[]bool `json:"jobDisruptionDueToPlatformIssue,omitempty"`
Subcategories *[]string `json:"subcategories,omitempty"`
// SuggestedActions SuggestedActions is persona-shaped: tenants receive tenant actions, while
// cloud-provider/NCP callers receive both tenant and dc_admin actions. Clients
// group options by persona and type (immediate or investigatory).
SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
XidNumbers *[]int `json:"xidNumbers,omitempty"`
}
ModelsXIDBurstFilterOptionsResponse defines model for models.XIDBurstFilterOptionsResponse.
type ModelsXIDBurstListItem ¶
type ModelsXIDBurstListItem struct {
BurstDurationSeconds *int `json:"burstDurationSeconds,omitempty"`
BurstId *string `json:"burstId,omitempty"`
// Category Category and Subcategory are cloud-provider/NCP-only fields.
Category *string `json:"category,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
// DeviceIds DeviceIDs maps each impacted GPU PCI device ID to the distinct XID
// numbers observed on that device in the burst.
DeviceIds *map[string][]int `json:"deviceIds,omitempty"`
EndTime *time.Time `json:"endTime,omitempty"`
Hostname *string `json:"hostname,omitempty"`
// JobDisruption JobDisruption is true when any XID in the burst is job-fatal. It is
// identical for tenant and cloud-provider/NCP callers.
JobDisruption *bool `json:"jobDisruption,omitempty"`
// JobDisruptionDueToPlatformIssue JobDisruptionDueToPlatformIssue is the analyzer's platform-attributed
// burst classification and is omitted for tenant callers.
JobDisruptionDueToPlatformIssue *bool `json:"jobDisruptionDueToPlatformIssue,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeGroupId *string `json:"nodeGroupId,omitempty"`
NodeUuid *string `json:"nodeUuid,omitempty"`
StartTime *time.Time `json:"startTime,omitempty"`
StickyXidsSuppressed *int `json:"stickyXidsSuppressed,omitempty"`
Subcategory *string `json:"subcategory,omitempty"`
// SuggestedActions SuggestedActions contains tenant actions for tenants and all tenant plus
// dc_admin actions for cloud-provider/NCP callers. Action is resolved
// Guidance Classes text; Code is the catalog action code and Persona identifies
// the tenant or dc_admin UI section.
SuggestedActions *[]ModelsSuggestedAction `json:"suggestedActions,omitempty"`
XidCount *int `json:"xidCount,omitempty"`
XidNumbers *[]ModelsXIDBurstXID `json:"xidNumbers,omitempty"`
}
ModelsXIDBurstListItem defines model for models.XIDBurstListItem.
type ModelsXIDBurstXID ¶
type ModelsXIDBurstXID struct {
// Description Description is the XID catalog description and is cloud-provider/NCP-only.
Description *string `json:"description,omitempty"`
Mnemonic *string `json:"mnemonic,omitempty"`
XidNumber *int `json:"xidNumber,omitempty"`
}
ModelsXIDBurstXID defines model for models.XIDBurstXID.
type ModelsXIDBurstsListResponse ¶
type ModelsXIDBurstsListResponse struct {
Items *[]ModelsXIDBurstListItem `json:"items,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
// Total Total is the number of finalized bursts matching all supplied filters before pagination.
Total *int `json:"total,omitempty"`
}
ModelsXIDBurstsListResponse defines model for models.XIDBurstsListResponse.
type PatchV1TagsJSONRequestBody ¶ added in v1.0.0
type PatchV1TagsJSONRequestBody = ModelsBatchUpdateTagsRequest
PatchV1TagsJSONRequestBody defines body for PatchV1Tags for application/json ContentType.
type PatchV1TagsResponse ¶ added in v1.0.0
type PatchV1TagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParsePatchV1TagsResponse ¶ added in v1.0.0
func ParsePatchV1TagsResponse(rsp *http.Response) (*PatchV1TagsResponse, error)
ParsePatchV1TagsResponse parses an HTTP response from a PatchV1TagsWithResponse call
func (PatchV1TagsResponse) ContentType ¶ added in v1.0.0
func (r PatchV1TagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchV1TagsResponse) GetBody ¶
func (r PatchV1TagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchV1TagsResponse) GetJSON400 ¶
func (r PatchV1TagsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchV1TagsResponse) GetJSON401 ¶
func (r PatchV1TagsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchV1TagsResponse) GetJSON403 ¶
func (r PatchV1TagsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchV1TagsResponse) GetJSON499 ¶
func (r PatchV1TagsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PatchV1TagsResponse) GetJSON500 ¶
func (r PatchV1TagsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchV1TagsResponse) Status ¶ added in v1.0.0
func (r PatchV1TagsResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1TagsResponse) StatusCode ¶ added in v1.0.0
func (r PatchV1TagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1NotificationPreferencesJSONRequestBody ¶ added in v1.0.0
type PostV1NotificationPreferencesJSONRequestBody = ModelsNotificationPreferenceRequest
PostV1NotificationPreferencesJSONRequestBody defines body for PostV1NotificationPreferences for application/json ContentType.
type PostV1NotificationPreferencesResponse ¶ added in v1.0.0
type PostV1NotificationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ModelsCreateNotificationPreferenceResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParsePostV1NotificationPreferencesResponse ¶ added in v1.0.0
func ParsePostV1NotificationPreferencesResponse(rsp *http.Response) (*PostV1NotificationPreferencesResponse, error)
ParsePostV1NotificationPreferencesResponse parses an HTTP response from a PostV1NotificationPreferencesWithResponse call
func (PostV1NotificationPreferencesResponse) ContentType ¶ added in v1.0.0
func (r PostV1NotificationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV1NotificationPreferencesResponse) GetBody ¶
func (r PostV1NotificationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV1NotificationPreferencesResponse) GetJSON201 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON201() *ModelsCreateNotificationPreferenceResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON400 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON401 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON403 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON499 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON500 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON503 ¶
func (r PostV1NotificationPreferencesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostV1NotificationPreferencesResponse) Status ¶ added in v1.0.0
func (r PostV1NotificationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1NotificationPreferencesResponse) StatusCode ¶ added in v1.0.0
func (r PostV1NotificationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1AlertMuteRulesJSONRequestBody ¶ added in v1.0.0
type PutV1AlertMuteRulesJSONRequestBody = ModelsUpdateMuteRuleRequest
PutV1AlertMuteRulesJSONRequestBody defines body for PutV1AlertMuteRules for application/json ContentType.
type PutV1AlertMuteRulesResponse ¶ added in v1.0.0
type PutV1AlertMuteRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParsePutV1AlertMuteRulesResponse ¶ added in v1.0.0
func ParsePutV1AlertMuteRulesResponse(rsp *http.Response) (*PutV1AlertMuteRulesResponse, error)
ParsePutV1AlertMuteRulesResponse parses an HTTP response from a PutV1AlertMuteRulesWithResponse call
func (PutV1AlertMuteRulesResponse) ContentType ¶ added in v1.0.0
func (r PutV1AlertMuteRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1AlertMuteRulesResponse) GetBody ¶
func (r PutV1AlertMuteRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1AlertMuteRulesResponse) GetJSON400 ¶
func (r PutV1AlertMuteRulesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON401 ¶
func (r PutV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON403 ¶
func (r PutV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON499 ¶
func (r PutV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON500 ¶
func (r PutV1AlertMuteRulesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1AlertMuteRulesResponse) Status ¶ added in v1.0.0
func (r PutV1AlertMuteRulesResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1AlertMuteRulesResponse) StatusCode ¶ added in v1.0.0
func (r PutV1AlertMuteRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1ComputezonesJSONRequestBody ¶
type PutV1ComputezonesJSONRequestBody = ModelsUpdateComputeZoneRequest
PutV1ComputezonesJSONRequestBody defines body for PutV1Computezones for application/json ContentType.
type PutV1ComputezonesResponse ¶
type PutV1ComputezonesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsUpdateComputeZoneResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParsePutV1ComputezonesResponse ¶
func ParsePutV1ComputezonesResponse(rsp *http.Response) (*PutV1ComputezonesResponse, error)
ParsePutV1ComputezonesResponse parses an HTTP response from a PutV1ComputezonesWithResponse call
func (PutV1ComputezonesResponse) ContentType ¶
func (r PutV1ComputezonesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1ComputezonesResponse) GetBody ¶
func (r PutV1ComputezonesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1ComputezonesResponse) GetJSON200 ¶
func (r PutV1ComputezonesResponse) GetJSON200() *ModelsUpdateComputeZoneResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutV1ComputezonesResponse) GetJSON400 ¶
func (r PutV1ComputezonesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1ComputezonesResponse) GetJSON401 ¶
func (r PutV1ComputezonesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1ComputezonesResponse) GetJSON403 ¶
func (r PutV1ComputezonesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1ComputezonesResponse) GetJSON499 ¶
func (r PutV1ComputezonesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1ComputezonesResponse) GetJSON500 ¶
func (r PutV1ComputezonesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1ComputezonesResponse) Status ¶
func (r PutV1ComputezonesResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ComputezonesResponse) StatusCode ¶
func (r PutV1ComputezonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1NodeRemovalPolicyJSONRequestBody ¶ added in v1.0.0
type PutV1NodeRemovalPolicyJSONRequestBody = ModelsUpdateNodeRemovalPolicyRequest
PutV1NodeRemovalPolicyJSONRequestBody defines body for PutV1NodeRemovalPolicy for application/json ContentType.
type PutV1NodeRemovalPolicyResponse ¶ added in v1.0.0
type PutV1NodeRemovalPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParsePutV1NodeRemovalPolicyResponse ¶ added in v1.0.0
func ParsePutV1NodeRemovalPolicyResponse(rsp *http.Response) (*PutV1NodeRemovalPolicyResponse, error)
ParsePutV1NodeRemovalPolicyResponse parses an HTTP response from a PutV1NodeRemovalPolicyWithResponse call
func (PutV1NodeRemovalPolicyResponse) ContentType ¶ added in v1.0.0
func (r PutV1NodeRemovalPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1NodeRemovalPolicyResponse) GetBody ¶
func (r PutV1NodeRemovalPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1NodeRemovalPolicyResponse) GetJSON400 ¶
func (r PutV1NodeRemovalPolicyResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON401 ¶
func (r PutV1NodeRemovalPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON403 ¶
func (r PutV1NodeRemovalPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON500 ¶
func (r PutV1NodeRemovalPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON503 ¶
func (r PutV1NodeRemovalPolicyResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutV1NodeRemovalPolicyResponse) Status ¶ added in v1.0.0
func (r PutV1NodeRemovalPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1NodeRemovalPolicyResponse) StatusCode ¶ added in v1.0.0
func (r PutV1NodeRemovalPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1NodesNodeUuidTagsJSONRequestBody ¶
type PutV1NodesNodeUuidTagsJSONRequestBody = ModelsSetNodeTagsRequest
PutV1NodesNodeUuidTagsJSONRequestBody defines body for PutV1NodesNodeUuidTags for application/json ContentType.
type PutV1NodesNodeUuidTagsResponse ¶
type PutV1NodesNodeUuidTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsSetNodeTagsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
}
func ParsePutV1NodesNodeUuidTagsResponse ¶
func ParsePutV1NodesNodeUuidTagsResponse(rsp *http.Response) (*PutV1NodesNodeUuidTagsResponse, error)
ParsePutV1NodesNodeUuidTagsResponse parses an HTTP response from a PutV1NodesNodeUuidTagsWithResponse call
func (PutV1NodesNodeUuidTagsResponse) ContentType ¶
func (r PutV1NodesNodeUuidTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1NodesNodeUuidTagsResponse) GetBody ¶
func (r PutV1NodesNodeUuidTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1NodesNodeUuidTagsResponse) GetJSON200 ¶
func (r PutV1NodesNodeUuidTagsResponse) GetJSON200() *ModelsSetNodeTagsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON400 ¶
func (r PutV1NodesNodeUuidTagsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON404 ¶
func (r PutV1NodesNodeUuidTagsResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON499 ¶
func (r PutV1NodesNodeUuidTagsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON500 ¶
func (r PutV1NodesNodeUuidTagsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) Status ¶
func (r PutV1NodesNodeUuidTagsResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1NodesNodeUuidTagsResponse) StatusCode ¶
func (r PutV1NodesNodeUuidTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1NotificationPreferenceByIDJSONRequestBody ¶ added in v1.0.0
type PutV1NotificationPreferenceByIDJSONRequestBody = ModelsNotificationPreferenceRequest
PutV1NotificationPreferenceByIDJSONRequestBody defines body for PutV1NotificationPreferenceByID for application/json ContentType.
type PutV1NotificationPreferenceByIDResponse ¶ added in v1.0.0
type PutV1NotificationPreferenceByIDResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParsePutV1NotificationPreferenceByIDResponse ¶ added in v1.0.0
func ParsePutV1NotificationPreferenceByIDResponse(rsp *http.Response) (*PutV1NotificationPreferenceByIDResponse, error)
ParsePutV1NotificationPreferenceByIDResponse parses an HTTP response from a PutV1NotificationPreferenceByIDWithResponse call
func (PutV1NotificationPreferenceByIDResponse) ContentType ¶ added in v1.0.0
func (r PutV1NotificationPreferenceByIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1NotificationPreferenceByIDResponse) GetBody ¶
func (r PutV1NotificationPreferenceByIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1NotificationPreferenceByIDResponse) GetJSON400 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON401 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON403 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON404 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON499 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON500 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON503 ¶
func (r PutV1NotificationPreferenceByIDResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) Status ¶ added in v1.0.0
func (r PutV1NotificationPreferenceByIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1NotificationPreferenceByIDResponse) StatusCode ¶ added in v1.0.0
func (r PutV1NotificationPreferenceByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1RetentionPolicyJSONRequestBody ¶ added in v1.0.0
type PutV1RetentionPolicyJSONRequestBody = ModelsUpdateRetentionPolicyRequest
PutV1RetentionPolicyJSONRequestBody defines body for PutV1RetentionPolicy for application/json ContentType.
type PutV1RetentionPolicyResponse ¶ added in v1.0.0
type PutV1RetentionPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ModelsErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ModelsErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ModelsErrorResponse
// JSON499 the response for an HTTP 499 `application/json` response
JSON499 *ModelsErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParsePutV1RetentionPolicyResponse ¶ added in v1.0.0
func ParsePutV1RetentionPolicyResponse(rsp *http.Response) (*PutV1RetentionPolicyResponse, error)
ParsePutV1RetentionPolicyResponse parses an HTTP response from a PutV1RetentionPolicyWithResponse call
func (PutV1RetentionPolicyResponse) ContentType ¶ added in v1.0.0
func (r PutV1RetentionPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1RetentionPolicyResponse) GetBody ¶
func (r PutV1RetentionPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1RetentionPolicyResponse) GetJSON400 ¶
func (r PutV1RetentionPolicyResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON401 ¶
func (r PutV1RetentionPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON403 ¶
func (r PutV1RetentionPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON499 ¶
func (r PutV1RetentionPolicyResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON500 ¶
func (r PutV1RetentionPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON503 ¶
func (r PutV1RetentionPolicyResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutV1RetentionPolicyResponse) Status ¶ added in v1.0.0
func (r PutV1RetentionPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1RetentionPolicyResponse) StatusCode ¶ added in v1.0.0
func (r PutV1RetentionPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode