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, params *DeleteV1NodesNodeUuidParams) (*http.Request, error)
- func NewDeleteV1NodesRequest(server string, params *DeleteV1NodesParams, body DeleteV1NodesJSONRequestBody) (*http.Request, error)
- func NewDeleteV1NodesRequestWithBody(server string, params *DeleteV1NodesParams, 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 NewGetV1EventsOptionsRequest(server string) (*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 NewGetV1PredictedHealthRankingsRequest(server string, params *GetV1PredictedHealthRankingsParams) (*http.Request, error)
- func NewGetV1ReportsErrorRequest(server string, params *GetV1ReportsErrorParams) (*http.Request, error)
- func NewGetV1ReportsInventoryRequest(server string, params *GetV1ReportsInventoryParams) (*http.Request, error)
- func NewGetV1ReportsSecurityVulnerabilitiesRequest(server string, params *GetV1ReportsSecurityVulnerabilitiesParams) (*http.Request, error)
- func NewGetV1ReportsSecurityVulnerabilityNodesRequest(server string, vulnerability string, ...) (*http.Request, error)
- func NewGetV1ReportsSecurityVulnerabilityOptionsRequest(server string) (*http.Request, error)
- func NewGetV1RetentionPolicyRequest(server string) (*http.Request, error)
- func NewGetV1StatsRequest(server string, params *GetV1StatsParams) (*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, params *GetV1XIDBurstOptionsParams) (*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, params *DeleteV1NodesParams, ...) (*http.Response, error)
- func (c *Client) DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, params *DeleteV1NodesNodeUuidParams, ...) (*http.Response, error)
- func (c *Client) DeleteV1NodesWithBody(ctx context.Context, params *DeleteV1NodesParams, contentType string, ...) (*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) GetV1EventsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*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) GetV1PredictedHealthRankings(ctx context.Context, params *GetV1PredictedHealthRankingsParams, ...) (*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) GetV1ReportsSecurityVulnerabilities(ctx context.Context, params *GetV1ReportsSecurityVulnerabilitiesParams, ...) (*http.Response, error)
- func (c *Client) GetV1ReportsSecurityVulnerabilityNodes(ctx context.Context, vulnerability string, ...) (*http.Response, error)
- func (c *Client) GetV1ReportsSecurityVulnerabilityOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1RetentionPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Stats(ctx context.Context, params *GetV1StatsParams, 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, params *GetV1XIDBurstOptionsParams, ...) (*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, params *DeleteV1NodesNodeUuidParams, ...) (*DeleteV1NodesNodeUuidResponse, error)
- func (c *ClientWithResponses) DeleteV1NodesWithBodyWithResponse(ctx context.Context, params *DeleteV1NodesParams, contentType string, ...) (*DeleteV1NodesResponse, error)
- func (c *ClientWithResponses) DeleteV1NodesWithResponse(ctx context.Context, params *DeleteV1NodesParams, ...) (*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) GetV1EventsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1EventsOptionsResponse, 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) GetV1PredictedHealthRankingsWithResponse(ctx context.Context, params *GetV1PredictedHealthRankingsParams, ...) (*GetV1PredictedHealthRankingsResponse, 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) GetV1ReportsSecurityVulnerabilitiesWithResponse(ctx context.Context, params *GetV1ReportsSecurityVulnerabilitiesParams, ...) (*GetV1ReportsSecurityVulnerabilitiesResponse, error)
- func (c *ClientWithResponses) GetV1ReportsSecurityVulnerabilityNodesWithResponse(ctx context.Context, vulnerability string, ...) (*GetV1ReportsSecurityVulnerabilityNodesResponse, error)
- func (c *ClientWithResponses) GetV1ReportsSecurityVulnerabilityOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilityOptionsResponse, error)
- func (c *ClientWithResponses) GetV1RetentionPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1RetentionPolicyResponse, error)
- func (c *ClientWithResponses) GetV1StatsWithResponse(ctx context.Context, params *GetV1StatsParams, reqEditors ...RequestEditorFn) (*GetV1StatsResponse, 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, params *GetV1XIDBurstOptionsParams, ...) (*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 DeleteV1NodesNodeUuidParams
- type DeleteV1NodesNodeUuidParamsAgentType
- type DeleteV1NodesNodeUuidParamsDataSource
- 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 DeleteV1NodesParams
- type DeleteV1NodesParamsAgentType
- type DeleteV1NodesParamsDataSource
- 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 GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources
- 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 GetV1AlertTimelineNodesParamsDataSources
- 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 GetV1ComputezonesParamsOrder
- type GetV1ComputezonesParamsSortBy
- 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 GetV1EventsBucketsParamsDataSources
- 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 GetV1EventsOptionsResponse
- func (r GetV1EventsOptionsResponse) ContentType() string
- func (r GetV1EventsOptionsResponse) GetBody() []byte
- func (r GetV1EventsOptionsResponse) GetJSON200() *ModelsEventFilterOptionsResponse
- func (r GetV1EventsOptionsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1EventsOptionsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1EventsOptionsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1EventsOptionsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1EventsOptionsResponse) Status() string
- func (r GetV1EventsOptionsResponse) StatusCode() int
- type GetV1EventsParams
- type GetV1EventsParamsDataSources
- type GetV1EventsParamsSortBy
- type GetV1EventsParamsSortOrder
- 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 GetV1MetricsParamsDataSource
- 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 GetV1NodesNodeUuidParamsDataSource
- 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 GetV1NodesOptionsParamsDataSource
- type GetV1NodesOptionsParamsView
- 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 GetV1NodesParamsDataSource
- 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 GetV1PredictedHealthRankingsParams
- type GetV1PredictedHealthRankingsParamsAggregation
- type GetV1PredictedHealthRankingsParamsHealthStatuses
- type GetV1PredictedHealthRankingsParamsMissingScorePolicy
- type GetV1PredictedHealthRankingsParamsOrder
- type GetV1PredictedHealthRankingsParamsRankUnit
- type GetV1PredictedHealthRankingsParamsTagMatch
- type GetV1PredictedHealthRankingsResponse
- func (r GetV1PredictedHealthRankingsResponse) ContentType() string
- func (r GetV1PredictedHealthRankingsResponse) GetBody() []byte
- func (r GetV1PredictedHealthRankingsResponse) GetJSON200() *ModelsPredictedHealthRankingsResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON501() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1PredictedHealthRankingsResponse) Status() string
- func (r GetV1PredictedHealthRankingsResponse) StatusCode() int
- type GetV1ReportsError200JSONResponseBody
- 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) 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) 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 GetV1ReportsErrorParams
- type GetV1ReportsErrorParamsDataSource
- 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) AsModelsInbandInventoryReportResponse() (ModelsInbandInventoryReportResponse, error)
- func (t GetV1ReportsInventory200JSONResponseBody) AsModelsOobInventoryReportResponse() (ModelsOobInventoryReportResponse, error)
- func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsInbandInventoryReportResponse(v ModelsInbandInventoryReportResponse) error
- func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsOobInventoryReportResponse(v ModelsOobInventoryReportResponse) error
- func (t GetV1ReportsInventory200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsInbandInventoryReportResponse(v ModelsInbandInventoryReportResponse) error
- func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsOobInventoryReportResponse(v ModelsOobInventoryReportResponse) error
- func (t *GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1ReportsInventoryParams
- type GetV1ReportsInventoryParamsAgentType
- type GetV1ReportsInventoryParamsDataSource
- 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 GetV1ReportsSecurityVulnerabilities200JSONResponseBody
- func (t GetV1ReportsSecurityVulnerabilities200JSONResponseBody) AsGetV1ReportsSecurityVulnerabilities200JSONResponseBody1() (GetV1ReportsSecurityVulnerabilities200JSONResponseBody1, error)
- func (t GetV1ReportsSecurityVulnerabilities200JSONResponseBody) AsModelsSecurityVulnerabilitiesResponse() (ModelsSecurityVulnerabilitiesResponse, error)
- func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) FromGetV1ReportsSecurityVulnerabilities200JSONResponseBody1(v GetV1ReportsSecurityVulnerabilities200JSONResponseBody1) error
- func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) FromModelsSecurityVulnerabilitiesResponse(v ModelsSecurityVulnerabilitiesResponse) error
- func (t GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MergeGetV1ReportsSecurityVulnerabilities200JSONResponseBody1(v GetV1ReportsSecurityVulnerabilities200JSONResponseBody1) error
- func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MergeModelsSecurityVulnerabilitiesResponse(v ModelsSecurityVulnerabilitiesResponse) error
- func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) UnmarshalJSON(b []byte) error
- type GetV1ReportsSecurityVulnerabilities200JSONResponseBody1
- type GetV1ReportsSecurityVulnerabilitiesParams
- type GetV1ReportsSecurityVulnerabilitiesParamsFormat
- type GetV1ReportsSecurityVulnerabilitiesParamsOrder
- type GetV1ReportsSecurityVulnerabilitiesParamsSortBy
- type GetV1ReportsSecurityVulnerabilitiesResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) ContentType() string
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetBody() []byte
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON200() *GetV1ReportsSecurityVulnerabilities200JSONResponseBody
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) Status() string
- func (r GetV1ReportsSecurityVulnerabilitiesResponse) StatusCode() int
- type GetV1ReportsSecurityVulnerabilitiesResponse200Headers
- type GetV1ReportsSecurityVulnerabilityNodesParams
- type GetV1ReportsSecurityVulnerabilityNodesParamsFormat
- type GetV1ReportsSecurityVulnerabilityNodesResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) ContentType() string
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetBody() []byte
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) Status() string
- func (r GetV1ReportsSecurityVulnerabilityNodesResponse) StatusCode() int
- type GetV1ReportsSecurityVulnerabilityNodesResponse200Headers
- type GetV1ReportsSecurityVulnerabilityOptionsResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) ContentType() string
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetBody() []byte
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON200() *ModelsSecurityVulnerabilityOptionsResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON422() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) Status() string
- func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) 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 GetV1StatsParams
- type GetV1StatsParamsDataSource
- type GetV1StatsParamsGroupBy
- type GetV1StatsParamsName
- type GetV1StatsResponse
- func (r GetV1StatsResponse) ContentType() string
- func (r GetV1StatsResponse) GetBody() []byte
- func (r GetV1StatsResponse) GetJSON200() *ModelsStatsResponse
- func (r GetV1StatsResponse) GetJSON400() *ModelsErrorResponse
- func (r GetV1StatsResponse) GetJSON401() *ModelsErrorResponse
- func (r GetV1StatsResponse) GetJSON403() *ModelsErrorResponse
- func (r GetV1StatsResponse) GetJSON404() *ModelsErrorResponse
- func (r GetV1StatsResponse) GetJSON499() *ModelsErrorResponse
- func (r GetV1StatsResponse) GetJSON500() *ModelsErrorResponse
- func (r GetV1StatsResponse) GetJSON503() *ModelsErrorResponse
- func (r GetV1StatsResponse) Status() string
- func (r GetV1StatsResponse) 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 GetV1XIDBurstOptionsParams
- type GetV1XIDBurstOptionsParamsDataSource
- type GetV1XIDBurstOptionsParamsTimeMode
- type GetV1XIDBurstOptionsResponse
- func (r GetV1XIDBurstOptionsResponse) ContentType() string
- func (r GetV1XIDBurstOptionsResponse) GetBody() []byte
- func (r GetV1XIDBurstOptionsResponse) GetJSON200() *ModelsXIDBurstFilterOptionsResponse
- func (r GetV1XIDBurstOptionsResponse) GetJSON400() *ModelsErrorResponse
- 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 GetV1XIDBurstsParamsDataSource
- 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 ModelsAlertAgentSourceStatus
- type ModelsAlertAgentStatus
- type ModelsAlertAgentStatuses
- type ModelsAlertEventType
- type ModelsAlertOverview
- type ModelsAlertResponse
- type ModelsAlertSeverity
- type ModelsAlertState
- type ModelsAlertTimelineComponent
- 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 ModelsComponentTypeOption
- 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 ModelsErrorSeverity
- type ModelsErrorTimeSeriesByError
- type ModelsEvent
- type ModelsEventBucket
- type ModelsEventBucketsResponse
- type ModelsEventFilterOptionsResponse
- type ModelsEventsResponse
- type ModelsFilterField
- type ModelsFilterOption
- type ModelsFilterOptions
- type ModelsFirmwareCheck
- type ModelsGPUDevice
- type ModelsGPUFirmwareVersion
- type ModelsGPUInfo
- type ModelsGeoLocationdeprecated
- type ModelsGetMetricsResponse
- type ModelsGetRetentionPolicyResponse
- type ModelsHealthSegment
- type ModelsHealthState
- type ModelsHealthSummary
- type ModelsIDNameOption
- type ModelsInbandInventoryNode
- type ModelsInbandInventoryReportResponse
- type ModelsInbandNode
- type ModelsInbandNodeDetailsResponse
- type ModelsInbandNodesResponse
- type ModelsInfoResponse
- type ModelsIntegrityCheckdeprecated
- type ModelsIntegrityCheckExtraInfodeprecated
- type ModelsJWTClaims
- type ModelsKASRequestStatus
- type ModelsListComputeZonesResponse
- type ModelsListMuteRulesResponse
- type ModelsListNodeGroupsResponse
- type ModelsListNotificationPreferencesResponse
- type ModelsListTagsResponse
- type ModelsLocation
- type ModelsMemoryInfo
- type ModelsMetric
- type ModelsMetricInfo
- type ModelsMetricQueryWarning
- type ModelsMetricSeriesData
- type ModelsMetricTimeSeries
- type ModelsMetricUnavailable
- type ModelsMetricUnit
- 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 ModelsNodeKind
- 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 ModelsOobDrive
- type ModelsOobFabric
- type ModelsOobFirmware
- type ModelsOobInventory
- type ModelsOobInventoryCondition
- type ModelsOobInventoryLinks
- type ModelsOobInventoryNode
- type ModelsOobInventoryReference
- type ModelsOobInventoryReportResponse
- type ModelsOobInventoryStatus
- type ModelsOobManager
- type ModelsOobMemory
- type ModelsOobMemorySummary
- type ModelsOobNVLinkTopology
- type ModelsOobNode
- type ModelsOobNodeDetailsResponse
- type ModelsOobNodesResponse
- type ModelsOobNvidiaGPU
- type ModelsOobNvidiaSwitch
- type ModelsOobPartLocation
- type ModelsOobPcieDevice
- type ModelsOobPlacement
- type ModelsOobPowerSupply
- type ModelsOobProcessor
- type ModelsOobProcessorSummary
- type ModelsOobSource
- type ModelsOobStorage
- type ModelsOobSwitch
- type ModelsOobSystem
- type ModelsOptions
- type ModelsOverviewResponse
- type ModelsPredictedHealthRankingItem
- type ModelsPredictedHealthRankingItemPredictionStatus
- type ModelsPredictedHealthRankingsResponse
- type ModelsPredictedHealthRankingsResponseRankUnit
- type ModelsQueryMetricRangeResponse
- type ModelsSecurityVulnerabilitiesResponse
- type ModelsSecurityVulnerability
- type ModelsSecurityVulnerabilityFilterOptions
- type ModelsSecurityVulnerabilityOptionsResponse
- type ModelsSecurityVulnerabilitySeverity
- type ModelsSecurityVulnerabilitySummary
- type ModelsSetNodeTagsRequest
- type ModelsSetNodeTagsResponse
- type ModelsSigningKeyInfo
- type ModelsSimpleComputeZone
- type ModelsSimpleNode
- type ModelsSimpleNodeGroup
- type ModelsSingleCommand
- type ModelsSortingDefaults
- type ModelsSortingOptions
- type ModelsStatsResponse
- type ModelsStatsSeries
- type ModelsSuggestedAction
- type ModelsSystemInfo
- type ModelsTimeRange
- type ModelsUpdateComputeZoneRequest
- type ModelsUpdateComputeZoneResponse
- type ModelsUpdateMuteRuleRequest
- type ModelsUpdateNodeRemovalPolicyRequest
- type ModelsUpdateRetentionPolicyRequest
- type ModelsVerificationCheck
- type ModelsVerificationCheckExtraInfo
- type ModelsVerificationPolicy
- type ModelsVerificationPolicyTier
- type ModelsVerificationPolicyVerdict
- type ModelsVerificationPolicyVerdictTier
- type ModelsVulnerabilityComponent
- type ModelsVulnerabilitySeverityCounts
- 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 ¶
func NewDeleteV1NodesNodeUuidRequest(server string, nodeUUID string, params *DeleteV1NodesNodeUuidParams) (*http.Request, error)
NewDeleteV1NodesNodeUuidRequest constructs an http.Request for the DeleteV1NodesNodeUuid method
func NewDeleteV1NodesRequest ¶
func NewDeleteV1NodesRequest(server string, params *DeleteV1NodesParams, body DeleteV1NodesJSONRequestBody) (*http.Request, error)
NewDeleteV1NodesRequest calls the generic DeleteV1Nodes builder with application/json body
func NewDeleteV1NodesRequestWithBody ¶
func NewDeleteV1NodesRequestWithBody(server string, params *DeleteV1NodesParams, 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 NewGetV1EventsOptionsRequest ¶
NewGetV1EventsOptionsRequest constructs an http.Request for the GetV1EventsOptions 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 NewGetV1PredictedHealthRankingsRequest ¶
func NewGetV1PredictedHealthRankingsRequest(server string, params *GetV1PredictedHealthRankingsParams) (*http.Request, error)
NewGetV1PredictedHealthRankingsRequest constructs an http.Request for the GetV1PredictedHealthRankings 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 NewGetV1ReportsSecurityVulnerabilitiesRequest ¶
func NewGetV1ReportsSecurityVulnerabilitiesRequest(server string, params *GetV1ReportsSecurityVulnerabilitiesParams) (*http.Request, error)
NewGetV1ReportsSecurityVulnerabilitiesRequest constructs an http.Request for the GetV1ReportsSecurityVulnerabilities method
func NewGetV1ReportsSecurityVulnerabilityNodesRequest ¶
func NewGetV1ReportsSecurityVulnerabilityNodesRequest(server string, vulnerability string, params *GetV1ReportsSecurityVulnerabilityNodesParams) (*http.Request, error)
NewGetV1ReportsSecurityVulnerabilityNodesRequest constructs an http.Request for the GetV1ReportsSecurityVulnerabilityNodes method
func NewGetV1ReportsSecurityVulnerabilityOptionsRequest ¶
NewGetV1ReportsSecurityVulnerabilityOptionsRequest constructs an http.Request for the GetV1ReportsSecurityVulnerabilityOptions method
func NewGetV1RetentionPolicyRequest ¶ added in v1.0.0
NewGetV1RetentionPolicyRequest constructs an http.Request for the GetV1RetentionPolicy method
func NewGetV1StatsRequest ¶
func NewGetV1StatsRequest(server string, params *GetV1StatsParams) (*http.Request, error)
NewGetV1StatsRequest constructs an http.Request for the GetV1Stats 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 ¶ added in v1.1.0
NewGetV1XIDBurstDetailRequest constructs an http.Request for the GetV1XIDBurstDetail method
func NewGetV1XIDBurstOptionsRequest ¶ added in v1.1.0
func NewGetV1XIDBurstOptionsRequest(server string, params *GetV1XIDBurstOptionsParams) (*http.Request, error)
NewGetV1XIDBurstOptionsRequest constructs an http.Request for the GetV1XIDBurstOptions method
func NewGetV1XIDBurstsRequest ¶ added in v1.1.0
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, params *DeleteV1NodesParams, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1Nodes Delete multiple nodes (soft delete)
Soft delete the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
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, params *DeleteV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1NodesNodeUuid Delete a node (soft delete)
Soft delete the selected agent enrollment. The shared node remains active while the other agent enrollment is active.
Corresponds with DELETE /v1/nodes/{nodeUUID} (the `DeleteV1NodesNodeUuid` operationId).
func (*Client) DeleteV1NodesWithBody ¶
func (c *Client) DeleteV1NodesWithBody(ctx context.Context, params *DeleteV1NodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1NodesWithBody Delete multiple nodes (soft delete)
Soft delete the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
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, data sources, in-band agent statuses, OOB agent statuses) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. GPU types use the resolved node value independently of alert source. 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. Agent-status options are dynamically derived from the matching nodes and use online, offline, or not_enrolled. 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). componentTypes remains a flat list of selectable {id: component, value: displayName, group: groupLabel} options, with group omitted when unconfigured. Component IDs and display values keep their v1 meanings. Options are ordered alphabetically by group and display name, with ungrouped components last; group labels match /v1/metrics components[].group; gpuTypes, alertStates, dataSources, and agent statuses are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is set server-side. The Level 1 OOB identity sort fields are nodeName and bmcMac.
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)
With active=true, each node includes criticalComponents and warningComponents tooltip lists with component IDs and display names, ordered by latest timeline event first, matching the default node-alert list order. Empty lists are returned as []; historical responses omit these fields. Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. GPU type uses the node's resolved value independently of alert source. 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 set server-side 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, Location, Contact, timestamps). Responses include location and the deprecated geoLocation alias for backward compatibility.
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 events with optional inventory, table, and time-range filters. Node filters and nodeUUID identify the associated canonical node. Events without an association remain visible without node or placement filters and have an empty nodeUUID. Each row includes the node's resolved GPU type, independent of the event data source. Events associated with soft-deleted nodes are excluded. Omitted dataSources includes all sources, including unknown historical attribution; explicit source filters exclude unknown attribution.
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 using the same source associations and filters as the events list. Node filters identify canonical nodes; events without an association contribute only when no node or placement filter excludes them. Omitted dataSources includes unknown historical attribution. The server picks a clean bucket interval based on the maxBuckets hint. GPU type filtering uses the node's resolved GPU type independently of event data source.
Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
func (*Client) GetV1EventsOptions ¶
func (c *Client) GetV1EventsOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1EventsOptions Get event filter options
Returns the Event Name, Severity, Component, Data Source, and resolved GPU Type filters supported by the events list, plus the sortable columns. This endpoint does not query event storage and ignores time and inventory filters. Event Name, Component, Data Source, and source-specific identity Sort Fields are limited to the agent types the customer has enrolled. Resolved GPU types come from active nodes and are independent of the event data source. eventNames always ends with the Others option, which matches every stored name the catalog does not list. The OOB identity sort fields are nodeName and bmcMac.
Corresponds with GET /v1/events/options (the `GetV1EventsOptions` 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. Security vulnerabilities are available through the Security Vulnerability Report, not the component catalog.
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 without an explicit policy get the defaults (enabled, offlineThresholdDays 7).
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. Detail responses include computeZoneLocation and the deprecated computeZoneGeoLocation alias for backward compatibility.
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. Available GPU types are based on active nodes. 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/BMC identity list, including the optional OOB nodeName when OOB data is selected (see models.BasicNodesResponse). Detail responses include the preferred verification-check fields and the deprecated integrityCheck aliases for backward compatibility. 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
OOB responses use collectorVersion for the collector release; in-band responses use agentVersion. Get detailed information about a specific node including resources, system info, and health status. Responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility.
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. Sorting fields include verificationCheck and the deprecated integrityCheck alias for backward compatibility. 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 selected dataSource. The gpuTypes filter applies to both in-band and OOB views. The OOB view omits the kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes. In detail view, the agentStatuses filter is source-scoped and offers exactly Online and Offline. Basic view omits health-dependent filters and sorts. OOB sorting uses bmcMac as its default identity field; the combined basic view also offers bmcMac.
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) GetV1PredictedHealthRankings ¶
func (c *Client) GetV1PredictedHealthRankings(ctx context.Context, params *GetV1PredictedHealthRankingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1PredictedHealthRankings [Beta] Rank nodes, NVLink domains or racks within a scope
Beta feature. Returns 501 with error feature_not_available when the feature is disabled. Rank non-deleted customer nodes with active in-band enrollment using usable predictions within the configured freshness limit (24 hours by default). OOB-only nodes and nodes with deleted or missing in-band enrollment are excluded before aggregation, ranks, deciles and counts. Dual-source and offline in-band nodes remain eligible. For node ranking, agentStatuses optionally filters returned nodes by in-band agent status without changing scope ranks, deciles or coverage counts; omitting it includes Online and Offline nodes. Lower internal risk ranks first, with deterministic unique ranks. Scope parameters select nodes before ranking or aggregation. Each domain or rack aggregates only its selected members. Physical membership does not require a compute-zone hierarchy. Deleted nodes are excluded. Return parameters preserve full-scope ranks, deciles and counts. Groups with no usable scores remain unranked. allNodesRanked measures selected-node score coverage. For domain and rack ranking, complete also requires resolved membership and a rank for every group. Rack identifiers are case-sensitive chassis serial numbers. Each page reads current data, so changes between pages can cause repeats or omissions. Scores, aggregate values and numeric confidence are never returned. Lists use repeated query keys. Unknown parameters, empty values, repeated scalars and incompatible parameters are rejected.
Corresponds with GET /v1/predicted_health_rankings (the `GetV1PredictedHealthRankings` 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 - dataSource defaults to inband. In node lists, inband returns hostname; oob returns bmcMac and nodeName without hostname. Node CSV columns follow the selected source. - Node lists sort by error count descending. Ties sort by hostname and nodeUUID for inband, or bmcMac, nodeName, and nodeUUID for oob. - Info-level events are excluded from all views and CSV downloads. The severity filter offers Fatal, Critical, and Warning. - 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 an agent-source-specific inventory report in JSON or CSV format. dataSource=inband preserves the existing GPU/OS inventory shape; dataSource=oob returns the shared report fields plus nodeName, bmcMac, and bmcIP. GPU type and count come from the selected source. 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). JSON responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility. OOB inventory rows use collectorVersion in JSON and Collector Version in CSV. In-band rows use agentVersion and Agent Version.
Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
func (*Client) GetV1ReportsSecurityVulnerabilities ¶
func (c *Client) GetV1ReportsSecurityVulnerabilities(ctx context.Context, params *GetV1ReportsSecurityVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ReportsSecurityVulnerabilities List security vulnerabilities
Return one row per distinct CVE from current security findings, unifying active in-band and OOB nodes. Supported components are Linux/Tesla GPU Driver and vBIOS; CUDA is excluded. A CVE has one component and its catalog severity is one of CRITICAL, HIGH, MEDIUM, or LOW, using the shared security vulnerability severity enum. summary covers the full filtered result before pagination. Severity counts sum to total; summary.affectedNodes is a distinct-node union. summary.totalNodes applies only authorization and zone/group/GPU filters, including nodes lacking assessment inputs. Missing evidence is not proof of an unaffected node. Description is null when missing; fixVersions is an empty array when no applicable catalog fix is known. Fix strings are display labels, not upgrade packages. Repeated filter values are ORed within a field and fields are ANDed. Deduplicate values; reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. No source selector is supported; dataSource, dataSources, and agentType are rejected. Customer and audience are derived from authentication, not query parameters. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. JSON defaults to page 0 and pageSize 10 (maximum 100). Severity sorts CRITICAL > HIGH > MEDIUM > LOW, including a separate critical summary count. Clients must support four severity buckets even when a mockup shows only three. Vulnerability IDs sort lexicographically; component sorts by component ID and affectedNodes sorts numerically. All four support asc/desc, with vulnerability ascending as the stable tie-breaker. Fix versions within each row sort by numeric version within branch/platform, independently of row sorting. Description and fixVersions are not sortable. Counts and rows are consistent within each request. Findings update as machines are reassessed, so pagination and exports may change between requests. countOnly=true returns only {"total": N}, the number of distinct CVEs in the same authorized filtered scope, for dashboard widgets. A CVE affecting multiple machines counts once. No rows, summary, evidence, fixes, or sorting are computed. This mode requires JSON and rejects page, pageSize, sortBy, and order. Omitted or countOnly=false preserves the normal response. format=csv exports all filtered vulnerabilities using the requested sort, rejects pagination parameters, and includes all matching rows without truncation. CSV has exactly six columns, in order: Vulnerability, Severity, Affected Component, Affected Machines, Fix Version, Description. Severity uses canonical CRITICAL/HIGH/MEDIUM/LOW values; components use GPU Driver/VBIOS. Multiple fixes are newline-separated within a quoted cell, ordered by numeric version within branch/platform; missing values are blank. No percentage, assessment ID, timestamp, or coverage fields are returned. Responses use private/no-store caching.
Corresponds with GET /v1/reports/security/vulnerabilities (the `GetV1ReportsSecurityVulnerabilities` operationId).
func (*Client) GetV1ReportsSecurityVulnerabilityNodes ¶
func (c *Client) GetV1ReportsSecurityVulnerabilityNodes(ctx context.Context, vulnerability string, params *GetV1ReportsSecurityVulnerabilityNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ReportsSecurityVulnerabilityNodes Download affected nodes for a security vulnerability
Export one row per distinct canonical node affected by the selected vulnerability, unifying active in-band and OOB sources. Apply the same filters and finding predicate as the vulnerability table, using current findings for this request; a refresh can make this download differ from an earlier displayed count. Repeated values are ORed within a filter; filter dimensions and the path vulnerability are ANDed. Deduplicate values and reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. Customer and audience are server-derived; available to tenants and operators. Reject dataSource, dataSources, agentType, base, page, pageSize, sortBy, and order. Only format=csv is supported. Rows sort by nodeUUID ascending. Malformed CVE IDs return 400. A CVE absent from the authorized current findings returns 404; a known authorized CVE excluded by filters returns a header-only CSV. Exports include all matching nodes without a fixed row cap; request timeouts and cancellation still apply. Missing identity values are blank. Multi-value cells use quoted newline-separated text; strings are escaped for spreadsheet safety. Responses use private/no-store caching. CSV has exactly nine columns, in order: Vulnerability, Affected Component, Current Version, Fix Version, GPU Type, Host Name, Machine ID, Machine Name, BMC MAC Address. Machine ID is the canonical node UUID; Machine Name is nodeName and Host Name is the in-band hostname, with no identity fallbacks. Current Version is the assessed driver version or raw VBIOS version, not a mapped milestone. Multiple current versions and applicable fixes are newline-separated within quoted cells. Fixes are ordered by numeric version within branch/platform; VBIOS fixes retain platform labels. Missing values are blank. No URL, inventory provenance or additional identity columns are exported.
Corresponds with GET /v1/reports/security/vulnerabilities/{vulnerability}/nodes (the `GetV1ReportsSecurityVulnerabilityNodes` operationId).
func (*Client) GetV1ReportsSecurityVulnerabilityOptions ¶
func (c *Client) GetV1ReportsSecurityVulnerabilityOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ReportsSecurityVulnerabilityOptions Get security vulnerability filter and sort options
Sorting uses the shared SortingOptions shape. fields is [vulnerability, severity, affectedNodes, component], orders is [asc, desc], and defaults is {field: severity, order: desc}. Description and fixVersions are not sortable. Return filters keyed by query parameter name plus sorting metadata for the vulnerability table. Always include computeZoneIds, nodeGroupIds, gpuTypes, severities, and componentTypes, using empty arrays when no options are available. No dimension or view selector is required. Zone/group/component options contain selectable id and display name. Component IDs are gpuDriver or vbios; zone/group IDs are UUIDs. GPU types and severity options are strings. Severity values are CRITICAL, HIGH, MEDIUM, and LOW; unknown is a GPU-type option only. Options use current security findings and the full authorized customer scope, unifying active in-band and OOB sources. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. This endpoint accepts no query parameters; table filter selections do not affect the available options. Membership options include authorized nodes lacking assessments. GPU-type, severity and component options come only from visible findings across the full customer fleet, regardless of table filter selections. Sort membership/component options by display name then ID, GPU types alphabetically, and severities CRITICAL > HIGH > MEDIUM > LOW. JSON key order does not define UI order. JSON only. A dimension exceeding 10000 distinct options returns 422; never silently truncate. Responses use private/no-store caching.
Corresponds with GET /v1/reports/security/vulnerabilities/options (the `GetV1ReportsSecurityVulnerabilityOptions` 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) GetV1Stats ¶
func (c *Client) GetV1Stats(ctx context.Context, params *GetV1StatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Stats Get categorical stats time series
Returns aligned daily categorical chart data for a customer, node group, or compute zone over a trailing window ending at the current server time. Historical points come from stored stats. The final point is calculated live at request time and replaces any stored data for the current day. A missing historical record retains its scheduled timestamp and has null at the same index in every series; zero is an observed count. timestamps[i] identifies the point for every series.values[i], and all arrays have the same length. The agentStatus stat currently returns Online and Offline series in that order and requires dataSource. Healthy liveness counts as Online; every other, missing, or unrecognized liveness value counts as Offline.
Corresponds with GET /v1/stats (the `GetV1Stats` 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 ¶ added in v1.1.0
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, resolved GPU type, all three node identities, and the node's current nodeGroup/computeZone. This endpoint takes no dataSource parameter: burst IDs are unique across observation paths, so one ID resolves without one. The returned dataSource field reports which source detected the burst.
Corresponds with GET /v1/xid/bursts/{burstId} (the `GetV1XIDBurstDetail` operationId).
func (*Client) GetV1XIDBurstOptions ¶ added in v1.1.0
func (c *Client) GetV1XIDBurstOptions(ctx context.Context, params *GetV1XIDBurstOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1XIDBurstOptions Get XID burst filter options
Returns filter options available to the authenticated customer and persona. Optional time and inventory scope filters narrow the values; table column filters are not applied. 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 nameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list. Options are scoped by dataSource and echoed in the response, so they always match what GET /v1/xid/bursts returns for that same value. Request them again when switching sources, and pass dataSource=all when the table itself was fetched with dataSource=all. GPU type options use each matching node's resolved GPU type, independent of which source detected the burst.
Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
func (*Client) GetV1XIDBursts ¶ added in v1.1.0
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, the node's resolved GPU type, identities, and current nodeGroup/computeZone. GPU type is independent of the selected burst data source. Bursts are detected independently on each observation path, selected by dataSource: in-band agent logs (default), out-of-band BMC/Redfish logs, or all for both in one page. Each item echoes the single source that detected it, so on a combined page a node that reported the same fault through both paths appears as two rows with different dataSource values — that is the observation, not a duplicate to be merged. Sorting and paging are identical for every dataSource. Every item also carries all three node identities (hostname, nodeName, bmcMac); each is empty unless the source owning it is currently enrolled, so an out-of-band-only node usually has no hostname and sorts as empty under sortBy=hostname. nameSearch matches any of the three. For out-of-band bursts the deviceIds keys are resolved from the Redfish resource token to the GPU UUID where inventory allows, and otherwise remain the raw token, so treat the key as an opaque device label.
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 agent and collector commands, including enrollment, downloads, and links to installation and machine disconnection documentation.
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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
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 offlineThresholdDays is omitted, an existing threshold is kept or the seven-day default is used for a missing policy. Disabling never clears the threshold. The 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 offlineThresholdDays is omitted, an existing threshold is kept or the seven-day default is used for a missing policy. Disabling never clears the threshold. The 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, data sources, in-band agent statuses, OOB agent statuses) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. GPU types use the resolved node value independently of alert source. 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. Agent-status options are dynamically derived from the matching nodes and use online, offline, or not_enrolled. 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). componentTypes remains a flat list of selectable {id: component, value: displayName, group: groupLabel} options, with group omitted when unconfigured. Component IDs and display values keep their v1 meanings. Options are ordered alphabetically by group and display name, with ungrouped components last; group labels match /v1/metrics components[].group; gpuTypes, alertStates, dataSources, and agent statuses are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is set server-side.
// The Level 1 OOB identity sort fields are nodeName and bmcMac.
//
// 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)
//
// With active=true, each node includes criticalComponents and warningComponents tooltip lists with component IDs and display names, ordered by latest timeline event first, matching the default node-alert list order. Empty lists are returned as []; historical responses omit these fields.
// Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. GPU type uses the node's resolved value independently of alert source. 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 set server-side 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, Location, Contact, timestamps). Responses include location and the deprecated geoLocation alias for backward compatibility.
//
// 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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
//
// 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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
//
// 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 events with optional inventory, table, and time-range filters. Node filters and nodeUUID identify the associated canonical node. Events without an association remain visible without node or placement filters and have an empty nodeUUID. Each row includes the node's resolved GPU type, independent of the event data source. Events associated with soft-deleted nodes are excluded. Omitted dataSources includes all sources, including unknown historical attribution; explicit source filters exclude unknown attribution.
//
// 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 using the same source associations and filters as the events list. Node filters identify canonical nodes; events without an association contribute only when no node or placement filter excludes them. Omitted dataSources includes unknown historical attribution. The server picks a clean bucket interval based on the maxBuckets hint. GPU type filtering uses the node's resolved GPU type independently of event data source.
//
// Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
GetV1EventsBuckets(ctx context.Context, params *GetV1EventsBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1EventsOptions Get event filter options
//
// Returns the Event Name, Severity, Component, Data Source, and resolved GPU Type filters supported by the events list, plus the sortable columns. This endpoint does not query event storage and ignores time and inventory filters. Event Name, Component, Data Source, and source-specific identity Sort Fields are limited to the agent types the customer has enrolled. Resolved GPU types come from active nodes and are independent of the event data source. eventNames always ends with the Others option, which matches every stored name the catalog does not list.
// The OOB identity sort fields are nodeName and bmcMac.
//
// Corresponds with GET /v1/events/options (the `GetV1EventsOptions` operationId).
GetV1EventsOptions(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).
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.
// Security vulnerabilities are available through the Security Vulnerability Report, not the component catalog.
//
// 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 without an
// explicit policy get the defaults (enabled, offlineThresholdDays 7).
//
// 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 offlineThresholdDays
// is omitted, an existing threshold is kept or the seven-day default is used for a
// missing policy. Disabling never clears the threshold. The 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 offlineThresholdDays
// is omitted, an existing threshold is kept or the seven-day default is used for a
// missing policy. Disabling never clears the threshold. The 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. Detail responses include computeZoneLocation and the deprecated computeZoneGeoLocation alias for backward compatibility.
//
// 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.
// Available GPU types are based on active nodes.
// 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 the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
DeleteV1NodesWithBody(ctx context.Context, params *DeleteV1NodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1Nodes Delete multiple nodes (soft delete)
//
// Soft delete the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /v1/nodes (the `DeleteV1Nodes` operationId).
DeleteV1Nodes(ctx context.Context, params *DeleteV1NodesParams, 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/BMC identity list, including the optional OOB nodeName when OOB data is selected (see models.BasicNodesResponse). Detail responses include the preferred verification-check fields and the deprecated integrityCheck aliases for backward compatibility. 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. Sorting fields include verificationCheck and the deprecated integrityCheck alias for backward compatibility.
// 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 selected dataSource. The gpuTypes filter applies to both in-band and OOB views. The OOB view omits the kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes.
// In detail view, the agentStatuses filter is source-scoped and offers exactly Online and Offline. Basic view omits health-dependent filters and sorts.
// OOB sorting uses bmcMac as its default identity field; the combined basic view also offers bmcMac.
//
// 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 the selected agent enrollment. The shared node remains active while the other agent enrollment is active.
//
// Corresponds with DELETE /v1/nodes/{nodeUUID} (the `DeleteV1NodesNodeUuid` operationId).
DeleteV1NodesNodeUuid(ctx context.Context, nodeUUID string, params *DeleteV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1NodesNodeUuid Get detailed node information
//
// OOB responses use collectorVersion for the collector release; in-band responses use agentVersion.
// Get detailed information about a specific node including resources, system info, and health status. Responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility.
//
// 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)
// GetV1PredictedHealthRankings [Beta] Rank nodes, NVLink domains or racks within a scope
//
// Beta feature. Returns 501 with error feature_not_available when the feature is disabled. Rank non-deleted customer nodes with active in-band enrollment using usable predictions within the configured freshness limit (24 hours by default). OOB-only nodes and nodes with deleted or missing in-band enrollment are excluded before aggregation, ranks, deciles and counts. Dual-source and offline in-band nodes remain eligible. For node ranking, agentStatuses optionally filters returned nodes by in-band agent status without changing scope ranks, deciles or coverage counts; omitting it includes Online and Offline nodes. Lower internal risk ranks first, with deterministic unique ranks. Scope parameters select nodes before ranking or aggregation. Each domain or rack aggregates only its selected members. Physical membership does not require a compute-zone hierarchy. Deleted nodes are excluded. Return parameters preserve full-scope ranks, deciles and counts. Groups with no usable scores remain unranked. allNodesRanked measures selected-node score coverage. For domain and rack ranking, complete also requires resolved membership and a rank for every group. Rack identifiers are case-sensitive chassis serial numbers. Each page reads current data, so changes between pages can cause repeats or omissions. Scores, aggregate values and numeric confidence are never returned. Lists use repeated query keys. Unknown parameters, empty values, repeated scalars and incompatible parameters are rejected.
//
// Corresponds with GET /v1/predicted_health_rankings (the `GetV1PredictedHealthRankings` operationId).
GetV1PredictedHealthRankings(ctx context.Context, params *GetV1PredictedHealthRankingsParams, 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
// - dataSource defaults to inband. In node lists, inband returns hostname; oob returns bmcMac and nodeName without hostname. Node CSV columns follow the selected source.
// - Node lists sort by error count descending. Ties sort by hostname and nodeUUID for inband, or bmcMac, nodeName, and nodeUUID for oob.
// - Info-level events are excluded from all views and CSV downloads. The severity filter offers Fatal, Critical, and Warning.
// - 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 an agent-source-specific inventory report in JSON or CSV format. dataSource=inband preserves the existing GPU/OS inventory shape; dataSource=oob returns the shared report fields plus nodeName, bmcMac, and bmcIP. GPU type and count come from the selected source.
// 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).
// JSON responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility.
// OOB inventory rows use collectorVersion in JSON and Collector Version in CSV. In-band rows use agentVersion and Agent Version.
//
// Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
GetV1ReportsInventory(ctx context.Context, params *GetV1ReportsInventoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ReportsSecurityVulnerabilities List security vulnerabilities
//
// Return one row per distinct CVE from current security findings, unifying active in-band and OOB nodes. Supported components are Linux/Tesla GPU Driver and vBIOS; CUDA is excluded. A CVE has one component and its catalog severity is one of CRITICAL, HIGH, MEDIUM, or LOW, using the shared security vulnerability severity enum.
// summary covers the full filtered result before pagination. Severity counts sum to total; summary.affectedNodes is a distinct-node union. summary.totalNodes applies only authorization and zone/group/GPU filters, including nodes lacking assessment inputs. Missing evidence is not proof of an unaffected node. Description is null when missing; fixVersions is an empty array when no applicable catalog fix is known. Fix strings are display labels, not upgrade packages.
// Repeated filter values are ORed within a field and fields are ANDed. Deduplicate values; reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. No source selector is supported; dataSource, dataSources, and agentType are rejected. Customer and audience are derived from authentication, not query parameters. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings.
// JSON defaults to page 0 and pageSize 10 (maximum 100). Severity sorts CRITICAL > HIGH > MEDIUM > LOW, including a separate critical summary count. Clients must support four severity buckets even when a mockup shows only three. Vulnerability IDs sort lexicographically; component sorts by component ID and affectedNodes sorts numerically. All four support asc/desc, with vulnerability ascending as the stable tie-breaker. Fix versions within each row sort by numeric version within branch/platform, independently of row sorting. Description and fixVersions are not sortable. Counts and rows are consistent within each request. Findings update as machines are reassessed, so pagination and exports may change between requests.
// countOnly=true returns only {"total": N}, the number of distinct CVEs in the same authorized filtered scope, for dashboard widgets. A CVE affecting multiple machines counts once. No rows, summary, evidence, fixes, or sorting are computed. This mode requires JSON and rejects page, pageSize, sortBy, and order. Omitted or countOnly=false preserves the normal response.
// format=csv exports all filtered vulnerabilities using the requested sort, rejects pagination parameters, and includes all matching rows without truncation. CSV has exactly six columns, in order: Vulnerability, Severity, Affected Component, Affected Machines, Fix Version, Description. Severity uses canonical CRITICAL/HIGH/MEDIUM/LOW values; components use GPU Driver/VBIOS. Multiple fixes are newline-separated within a quoted cell, ordered by numeric version within branch/platform; missing values are blank. No percentage, assessment ID, timestamp, or coverage fields are returned. Responses use private/no-store caching.
//
// Corresponds with GET /v1/reports/security/vulnerabilities (the `GetV1ReportsSecurityVulnerabilities` operationId).
GetV1ReportsSecurityVulnerabilities(ctx context.Context, params *GetV1ReportsSecurityVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ReportsSecurityVulnerabilityOptions Get security vulnerability filter and sort options
//
// Sorting uses the shared SortingOptions shape. fields is [vulnerability, severity, affectedNodes, component], orders is [asc, desc], and defaults is {field: severity, order: desc}. Description and fixVersions are not sortable.
// Return filters keyed by query parameter name plus sorting metadata for the vulnerability table. Always include computeZoneIds, nodeGroupIds, gpuTypes, severities, and componentTypes, using empty arrays when no options are available. No dimension or view selector is required. Zone/group/component options contain selectable id and display name. Component IDs are gpuDriver or vbios; zone/group IDs are UUIDs. GPU types and severity options are strings. Severity values are CRITICAL, HIGH, MEDIUM, and LOW; unknown is a GPU-type option only.
// Options use current security findings and the full authorized customer scope, unifying active in-band and OOB sources. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. This endpoint accepts no query parameters; table filter selections do not affect the available options.
// Membership options include authorized nodes lacking assessments. GPU-type, severity and component options come only from visible findings across the full customer fleet, regardless of table filter selections. Sort membership/component options by display name then ID, GPU types alphabetically, and severities CRITICAL > HIGH > MEDIUM > LOW. JSON key order does not define UI order.
// JSON only. A dimension exceeding 10000 distinct options returns 422; never silently truncate. Responses use private/no-store caching.
//
// Corresponds with GET /v1/reports/security/vulnerabilities/options (the `GetV1ReportsSecurityVulnerabilityOptions` operationId).
GetV1ReportsSecurityVulnerabilityOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ReportsSecurityVulnerabilityNodes Download affected nodes for a security vulnerability
//
// Export one row per distinct canonical node affected by the selected vulnerability, unifying active in-band and OOB sources. Apply the same filters and finding predicate as the vulnerability table, using current findings for this request; a refresh can make this download differ from an earlier displayed count.
// Repeated values are ORed within a filter; filter dimensions and the path vulnerability are ANDed. Deduplicate values and reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. Customer and audience are server-derived; available to tenants and operators. Reject dataSource, dataSources, agentType, base, page, pageSize, sortBy, and order. Only format=csv is supported. Rows sort by nodeUUID ascending.
// Malformed CVE IDs return 400. A CVE absent from the authorized current findings returns 404; a known authorized CVE excluded by filters returns a header-only CSV. Exports include all matching nodes without a fixed row cap; request timeouts and cancellation still apply. Missing identity values are blank. Multi-value cells use quoted newline-separated text; strings are escaped for spreadsheet safety. Responses use private/no-store caching.
// CSV has exactly nine columns, in order: Vulnerability, Affected Component, Current Version, Fix Version, GPU Type, Host Name, Machine ID, Machine Name, BMC MAC Address. Machine ID is the canonical node UUID; Machine Name is nodeName and Host Name is the in-band hostname, with no identity fallbacks. Current Version is the assessed driver version or raw VBIOS version, not a mapped milestone. Multiple current versions and applicable fixes are newline-separated within quoted cells. Fixes are ordered by numeric version within branch/platform; VBIOS fixes retain platform labels. Missing values are blank. No URL, inventory provenance or additional identity columns are exported.
//
// Corresponds with GET /v1/reports/security/vulnerabilities/{vulnerability}/nodes (the `GetV1ReportsSecurityVulnerabilityNodes` operationId).
GetV1ReportsSecurityVulnerabilityNodes(ctx context.Context, vulnerability string, params *GetV1ReportsSecurityVulnerabilityNodesParams, 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)
// GetV1Stats Get categorical stats time series
//
// Returns aligned daily categorical chart data for a customer, node group, or compute zone over a trailing window ending at the current server time. Historical points come from stored stats. The final point is calculated live at request time and replaces any stored data for the current day. A missing historical record retains its scheduled timestamp and has null at the same index in every series; zero is an observed count. timestamps[i] identifies the point for every series.values[i], and all arrays have the same length. The agentStatus stat currently returns Online and Offline series in that order and requires dataSource. Healthy liveness counts as Online; every other, missing, or unrecognized liveness value counts as Offline.
//
// Corresponds with GET /v1/stats (the `GetV1Stats` operationId).
GetV1Stats(ctx context.Context, params *GetV1StatsParams, 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, the node's resolved GPU type, identities, and current nodeGroup/computeZone. GPU type is independent of the selected burst data source.
// Bursts are detected independently on each observation path, selected by dataSource: in-band agent logs (default), out-of-band BMC/Redfish logs, or all for both in one page. Each item echoes the single source that detected it, so on a combined page a node that reported the same fault through both paths appears as two rows with different dataSource values — that is the observation, not a duplicate to be merged. Sorting and paging are identical for every dataSource. Every item also carries all three node identities (hostname, nodeName, bmcMac); each is empty unless the source owning it is currently enrolled, so an out-of-band-only node usually has no hostname and sorts as empty under sortBy=hostname. nameSearch matches any of the three. For out-of-band bursts the deviceIds keys are resolved from the Redfish resource token to the GPU UUID where inventory allows, and otherwise remain the raw token, so treat the key as an opaque device label.
//
// 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 filter options available to the authenticated customer and persona. Optional time and inventory scope filters narrow the values; table column filters are not applied. 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 nameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list.
// Options are scoped by dataSource and echoed in the response, so they always match what GET /v1/xid/bursts returns for that same value. Request them again when switching sources, and pass dataSource=all when the table itself was fetched with dataSource=all. GPU type options use each matching node's resolved GPU type, independent of which source detected the burst.
//
// Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
GetV1XIDBurstOptions(ctx context.Context, params *GetV1XIDBurstOptionsParams, 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, resolved GPU type, all three node identities, and the node's current nodeGroup/computeZone.
// This endpoint takes no dataSource parameter: burst IDs are unique across observation paths, so one ID resolves without one. The returned dataSource field reports which source detected the burst.
//
// 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 agent and collector commands, including enrollment, downloads, and links to installation and machine disconnection documentation.
//
// 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, params *DeleteV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)
DeleteV1NodesNodeUuidWithResponse Delete a node (soft delete)
Soft delete the selected agent enrollment. The shared node remains active while the other agent enrollment is active.
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, params *DeleteV1NodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
DeleteV1NodesWithBodyWithResponse Delete multiple nodes (soft delete)
Soft delete the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
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, params *DeleteV1NodesParams, body DeleteV1NodesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
DeleteV1NodesWithResponse Delete multiple nodes (soft delete)
Soft delete the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
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, data sources, in-band agent statuses, OOB agent statuses) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. GPU types use the resolved node value independently of alert source. 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. Agent-status options are dynamically derived from the matching nodes and use online, offline, or not_enrolled. 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). componentTypes remains a flat list of selectable {id: component, value: displayName, group: groupLabel} options, with group omitted when unconfigured. Component IDs and display values keep their v1 meanings. Options are ordered alphabetically by group and display name, with ungrouped components last; group labels match /v1/metrics components[].group; gpuTypes, alertStates, dataSources, and agent statuses are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is set server-side. The Level 1 OOB identity sort fields are nodeName and bmcMac.
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)
With active=true, each node includes criticalComponents and warningComponents tooltip lists with component IDs and display names, ordered by latest timeline event first, matching the default node-alert list order. Empty lists are returned as []; historical responses omit these fields. Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. GPU type uses the node's resolved value independently of alert source. 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 set server-side 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, Location, Contact, timestamps). Responses include location and the deprecated geoLocation alias for backward compatibility.
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 using the same source associations and filters as the events list. Node filters identify canonical nodes; events without an association contribute only when no node or placement filter excludes them. Omitted dataSources includes unknown historical attribution. The server picks a clean bucket interval based on the maxBuckets hint. GPU type filtering uses the node's resolved GPU type independently of event data source.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/events/buckets (the `GetV1EventsBuckets` operationId).
func (*ClientWithResponses) GetV1EventsOptionsWithResponse ¶
func (c *ClientWithResponses) GetV1EventsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1EventsOptionsResponse, error)
GetV1EventsOptionsWithResponse Get event filter options
Returns the Event Name, Severity, Component, Data Source, and resolved GPU Type filters supported by the events list, plus the sortable columns. This endpoint does not query event storage and ignores time and inventory filters. Event Name, Component, Data Source, and source-specific identity Sort Fields are limited to the agent types the customer has enrolled. Resolved GPU types come from active nodes and are independent of the event data source. eventNames always ends with the Others option, which matches every stored name the catalog does not list. The OOB identity sort fields are nodeName and bmcMac.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/events/options (the `GetV1EventsOptions` 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 events with optional inventory, table, and time-range filters. Node filters and nodeUUID identify the associated canonical node. Events without an association remain visible without node or placement filters and have an empty nodeUUID. Each row includes the node's resolved GPU type, independent of the event data source. Events associated with soft-deleted nodes are excluded. Omitted dataSources includes all sources, including unknown historical attribution; explicit source filters exclude unknown attribution.
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. Security vulnerabilities are available through the Security Vulnerability Report, not the component catalog.
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 without an explicit policy get the defaults (enabled, offlineThresholdDays 7).
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. Available GPU types are based on active nodes. 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. Detail responses include computeZoneLocation and the deprecated computeZoneGeoLocation alias for backward compatibility.
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
OOB responses use collectorVersion for the collector release; in-band responses use agentVersion. Get detailed information about a specific node including resources, system info, and health status. Responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility.
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. Sorting fields include verificationCheck and the deprecated integrityCheck alias for backward compatibility. 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 selected dataSource. The gpuTypes filter applies to both in-band and OOB views. The OOB view omits the kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes. In detail view, the agentStatuses filter is source-scoped and offers exactly Online and Offline. Basic view omits health-dependent filters and sorts. OOB sorting uses bmcMac as its default identity field; the combined basic view also offers bmcMac.
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/BMC identity list, including the optional OOB nodeName when OOB data is selected (see models.BasicNodesResponse). Detail responses include the preferred verification-check fields and the deprecated integrityCheck aliases for backward compatibility. 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) GetV1PredictedHealthRankingsWithResponse ¶
func (c *ClientWithResponses) GetV1PredictedHealthRankingsWithResponse(ctx context.Context, params *GetV1PredictedHealthRankingsParams, reqEditors ...RequestEditorFn) (*GetV1PredictedHealthRankingsResponse, error)
GetV1PredictedHealthRankingsWithResponse [Beta] Rank nodes, NVLink domains or racks within a scope
Beta feature. Returns 501 with error feature_not_available when the feature is disabled. Rank non-deleted customer nodes with active in-band enrollment using usable predictions within the configured freshness limit (24 hours by default). OOB-only nodes and nodes with deleted or missing in-band enrollment are excluded before aggregation, ranks, deciles and counts. Dual-source and offline in-band nodes remain eligible. For node ranking, agentStatuses optionally filters returned nodes by in-band agent status without changing scope ranks, deciles or coverage counts; omitting it includes Online and Offline nodes. Lower internal risk ranks first, with deterministic unique ranks. Scope parameters select nodes before ranking or aggregation. Each domain or rack aggregates only its selected members. Physical membership does not require a compute-zone hierarchy. Deleted nodes are excluded. Return parameters preserve full-scope ranks, deciles and counts. Groups with no usable scores remain unranked. allNodesRanked measures selected-node score coverage. For domain and rack ranking, complete also requires resolved membership and a rank for every group. Rack identifiers are case-sensitive chassis serial numbers. Each page reads current data, so changes between pages can cause repeats or omissions. Scores, aggregate values and numeric confidence are never returned. Lists use repeated query keys. Unknown parameters, empty values, repeated scalars and incompatible parameters are rejected.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/predicted_health_rankings (the `GetV1PredictedHealthRankings` 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 - dataSource defaults to inband. In node lists, inband returns hostname; oob returns bmcMac and nodeName without hostname. Node CSV columns follow the selected source. - Node lists sort by error count descending. Ties sort by hostname and nodeUUID for inband, or bmcMac, nodeName, and nodeUUID for oob. - Info-level events are excluded from all views and CSV downloads. The severity filter offers Fatal, Critical, and Warning. - 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 an agent-source-specific inventory report in JSON or CSV format. dataSource=inband preserves the existing GPU/OS inventory shape; dataSource=oob returns the shared report fields plus nodeName, bmcMac, and bmcIP. GPU type and count come from the selected source. 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). JSON responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility. OOB inventory rows use collectorVersion in JSON and Collector Version in CSV. In-band rows use agentVersion and Agent Version.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/reports/inventory (the `GetV1ReportsInventory` operationId).
func (*ClientWithResponses) GetV1ReportsSecurityVulnerabilitiesWithResponse ¶
func (c *ClientWithResponses) GetV1ReportsSecurityVulnerabilitiesWithResponse(ctx context.Context, params *GetV1ReportsSecurityVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilitiesResponse, error)
GetV1ReportsSecurityVulnerabilitiesWithResponse List security vulnerabilities
Return one row per distinct CVE from current security findings, unifying active in-band and OOB nodes. Supported components are Linux/Tesla GPU Driver and vBIOS; CUDA is excluded. A CVE has one component and its catalog severity is one of CRITICAL, HIGH, MEDIUM, or LOW, using the shared security vulnerability severity enum. summary covers the full filtered result before pagination. Severity counts sum to total; summary.affectedNodes is a distinct-node union. summary.totalNodes applies only authorization and zone/group/GPU filters, including nodes lacking assessment inputs. Missing evidence is not proof of an unaffected node. Description is null when missing; fixVersions is an empty array when no applicable catalog fix is known. Fix strings are display labels, not upgrade packages. Repeated filter values are ORed within a field and fields are ANDed. Deduplicate values; reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. No source selector is supported; dataSource, dataSources, and agentType are rejected. Customer and audience are derived from authentication, not query parameters. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. JSON defaults to page 0 and pageSize 10 (maximum 100). Severity sorts CRITICAL > HIGH > MEDIUM > LOW, including a separate critical summary count. Clients must support four severity buckets even when a mockup shows only three. Vulnerability IDs sort lexicographically; component sorts by component ID and affectedNodes sorts numerically. All four support asc/desc, with vulnerability ascending as the stable tie-breaker. Fix versions within each row sort by numeric version within branch/platform, independently of row sorting. Description and fixVersions are not sortable. Counts and rows are consistent within each request. Findings update as machines are reassessed, so pagination and exports may change between requests. countOnly=true returns only {"total": N}, the number of distinct CVEs in the same authorized filtered scope, for dashboard widgets. A CVE affecting multiple machines counts once. No rows, summary, evidence, fixes, or sorting are computed. This mode requires JSON and rejects page, pageSize, sortBy, and order. Omitted or countOnly=false preserves the normal response. format=csv exports all filtered vulnerabilities using the requested sort, rejects pagination parameters, and includes all matching rows without truncation. CSV has exactly six columns, in order: Vulnerability, Severity, Affected Component, Affected Machines, Fix Version, Description. Severity uses canonical CRITICAL/HIGH/MEDIUM/LOW values; components use GPU Driver/VBIOS. Multiple fixes are newline-separated within a quoted cell, ordered by numeric version within branch/platform; missing values are blank. No percentage, assessment ID, timestamp, or coverage fields are returned. Responses use private/no-store caching.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/reports/security/vulnerabilities (the `GetV1ReportsSecurityVulnerabilities` operationId).
func (*ClientWithResponses) GetV1ReportsSecurityVulnerabilityNodesWithResponse ¶
func (c *ClientWithResponses) GetV1ReportsSecurityVulnerabilityNodesWithResponse(ctx context.Context, vulnerability string, params *GetV1ReportsSecurityVulnerabilityNodesParams, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilityNodesResponse, error)
GetV1ReportsSecurityVulnerabilityNodesWithResponse Download affected nodes for a security vulnerability
Export one row per distinct canonical node affected by the selected vulnerability, unifying active in-band and OOB sources. Apply the same filters and finding predicate as the vulnerability table, using current findings for this request; a refresh can make this download differ from an earlier displayed count. Repeated values are ORed within a filter; filter dimensions and the path vulnerability are ANDed. Deduplicate values and reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. Customer and audience are server-derived; available to tenants and operators. Reject dataSource, dataSources, agentType, base, page, pageSize, sortBy, and order. Only format=csv is supported. Rows sort by nodeUUID ascending. Malformed CVE IDs return 400. A CVE absent from the authorized current findings returns 404; a known authorized CVE excluded by filters returns a header-only CSV. Exports include all matching nodes without a fixed row cap; request timeouts and cancellation still apply. Missing identity values are blank. Multi-value cells use quoted newline-separated text; strings are escaped for spreadsheet safety. Responses use private/no-store caching. CSV has exactly nine columns, in order: Vulnerability, Affected Component, Current Version, Fix Version, GPU Type, Host Name, Machine ID, Machine Name, BMC MAC Address. Machine ID is the canonical node UUID; Machine Name is nodeName and Host Name is the in-band hostname, with no identity fallbacks. Current Version is the assessed driver version or raw VBIOS version, not a mapped milestone. Multiple current versions and applicable fixes are newline-separated within quoted cells. Fixes are ordered by numeric version within branch/platform; VBIOS fixes retain platform labels. Missing values are blank. No URL, inventory provenance or additional identity columns are exported.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/reports/security/vulnerabilities/{vulnerability}/nodes (the `GetV1ReportsSecurityVulnerabilityNodes` operationId).
func (*ClientWithResponses) GetV1ReportsSecurityVulnerabilityOptionsWithResponse ¶
func (c *ClientWithResponses) GetV1ReportsSecurityVulnerabilityOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilityOptionsResponse, error)
GetV1ReportsSecurityVulnerabilityOptionsWithResponse Get security vulnerability filter and sort options
Sorting uses the shared SortingOptions shape. fields is [vulnerability, severity, affectedNodes, component], orders is [asc, desc], and defaults is {field: severity, order: desc}. Description and fixVersions are not sortable. Return filters keyed by query parameter name plus sorting metadata for the vulnerability table. Always include computeZoneIds, nodeGroupIds, gpuTypes, severities, and componentTypes, using empty arrays when no options are available. No dimension or view selector is required. Zone/group/component options contain selectable id and display name. Component IDs are gpuDriver or vbios; zone/group IDs are UUIDs. GPU types and severity options are strings. Severity values are CRITICAL, HIGH, MEDIUM, and LOW; unknown is a GPU-type option only. Options use current security findings and the full authorized customer scope, unifying active in-band and OOB sources. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. This endpoint accepts no query parameters; table filter selections do not affect the available options. Membership options include authorized nodes lacking assessments. GPU-type, severity and component options come only from visible findings across the full customer fleet, regardless of table filter selections. Sort membership/component options by display name then ID, GPU types alphabetically, and severities CRITICAL > HIGH > MEDIUM > LOW. JSON key order does not define UI order. JSON only. A dimension exceeding 10000 distinct options returns 422; never silently truncate. Responses use private/no-store caching.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/reports/security/vulnerabilities/options (the `GetV1ReportsSecurityVulnerabilityOptions` 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) GetV1StatsWithResponse ¶
func (c *ClientWithResponses) GetV1StatsWithResponse(ctx context.Context, params *GetV1StatsParams, reqEditors ...RequestEditorFn) (*GetV1StatsResponse, error)
GetV1StatsWithResponse Get categorical stats time series
Returns aligned daily categorical chart data for a customer, node group, or compute zone over a trailing window ending at the current server time. Historical points come from stored stats. The final point is calculated live at request time and replaces any stored data for the current day. A missing historical record retains its scheduled timestamp and has null at the same index in every series; zero is an observed count. timestamps[i] identifies the point for every series.values[i], and all arrays have the same length. The agentStatus stat currently returns Online and Offline series in that order and requires dataSource. Healthy liveness counts as Online; every other, missing, or unrecognized liveness value counts as Offline.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/stats (the `GetV1Stats` 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 ¶ added in v1.1.0
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, resolved GPU type, all three node identities, and the node's current nodeGroup/computeZone. This endpoint takes no dataSource parameter: burst IDs are unique across observation paths, so one ID resolves without one. The returned dataSource field reports which source detected the burst.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/xid/bursts/{burstId} (the `GetV1XIDBurstDetail` operationId).
func (*ClientWithResponses) GetV1XIDBurstOptionsWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) GetV1XIDBurstOptionsWithResponse(ctx context.Context, params *GetV1XIDBurstOptionsParams, reqEditors ...RequestEditorFn) (*GetV1XIDBurstOptionsResponse, error)
GetV1XIDBurstOptionsWithResponse Get XID burst filter options
Returns filter options available to the authenticated customer and persona. Optional time and inventory scope filters narrow the values; table column filters are not applied. 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 nameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list. Options are scoped by dataSource and echoed in the response, so they always match what GET /v1/xid/bursts returns for that same value. Request them again when switching sources, and pass dataSource=all when the table itself was fetched with dataSource=all. GPU type options use each matching node's resolved GPU type, independent of which source detected the burst.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/xid/bursts/options (the `GetV1XIDBurstOptions` operationId).
func (*ClientWithResponses) GetV1XIDBurstsWithResponse ¶ added in v1.1.0
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, the node's resolved GPU type, identities, and current nodeGroup/computeZone. GPU type is independent of the selected burst data source. Bursts are detected independently on each observation path, selected by dataSource: in-band agent logs (default), out-of-band BMC/Redfish logs, or all for both in one page. Each item echoes the single source that detected it, so on a combined page a node that reported the same fault through both paths appears as two rows with different dataSource values — that is the observation, not a duplicate to be merged. Sorting and paging are identical for every dataSource. Every item also carries all three node identities (hostname, nodeName, bmcMac); each is empty unless the source owning it is currently enrolled, so an out-of-band-only node usually has no hostname and sorts as empty under sortBy=hostname. nameSearch matches any of the three. For out-of-band bursts the deviceIds keys are resolved from the Redfish resource token to the GPU UUID where inventory allows, and otherwise remain the raw token, so treat the key as an opaque device label.
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 agent and collector commands, including enrollment, downloads, and links to installation and machine disconnection documentation.
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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
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 offlineThresholdDays is omitted, an existing threshold is kept or the seven-day default is used for a missing policy. Disabling never clears the threshold. The 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 offlineThresholdDays is omitted, an existing threshold is kept or the seven-day default is used for a missing policy. Disabling never clears the threshold. The 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, data sources, in-band agent statuses, OOB agent statuses) available for the alert panel, returned in the shared options envelope (filters.fields[] + sorting) used by the node and node-group options endpoints. GPU types use the resolved node value independently of alert source. 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. Agent-status options are dynamically derived from the matching nodes and use online, offline, or not_enrolled. 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). componentTypes remains a flat list of selectable {id: component, value: displayName, group: groupLabel} options, with group omitted when unconfigured. Component IDs and display values keep their v1 meanings. Options are ordered alphabetically by group and display name, with ungrouped components last; group labels match /v1/metrics components[].group; gpuTypes, alertStates, dataSources, and agent statuses are plain strings. The sorting block advertises the Level 1 nodes-list sort columns. componentVisibility is set server-side.
// The Level 1 OOB identity sort fields are nodeName and bmcMac.
//
// 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)
//
// With active=true, each node includes criticalComponents and warningComponents tooltip lists with component IDs and display names, ordered by latest timeline event first, matching the default node-alert list order. Empty lists are returned as []; historical responses omit these fields.
// Returns a paginated list of nodes with per-node alert counts and inventory metadata for the Alerts panel. GPU type uses the node's resolved value independently of alert source. 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 set server-side 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, Location, Contact, timestamps). Responses include location and the deprecated geoLocation alias for backward compatibility.
//
// 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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
//
// 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. Use location; geoLocation remains accepted as a deprecated alias. If both are supplied, they must be identical.
//
// 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 events with optional inventory, table, and time-range filters. Node filters and nodeUUID identify the associated canonical node. Events without an association remain visible without node or placement filters and have an empty nodeUUID. Each row includes the node's resolved GPU type, independent of the event data source. Events associated with soft-deleted nodes are excluded. Omitted dataSources includes all sources, including unknown historical attribution; explicit source filters exclude unknown attribution.
//
// 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 using the same source associations and filters as the events list. Node filters identify canonical nodes; events without an association contribute only when no node or placement filter excludes them. Omitted dataSources includes unknown historical attribution. The server picks a clean bucket interval based on the maxBuckets hint. GPU type filtering uses the node's resolved GPU type independently of event data source.
//
// 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)
// GetV1EventsOptionsWithResponse Get event filter options
//
// Returns the Event Name, Severity, Component, Data Source, and resolved GPU Type filters supported by the events list, plus the sortable columns. This endpoint does not query event storage and ignores time and inventory filters. Event Name, Component, Data Source, and source-specific identity Sort Fields are limited to the agent types the customer has enrolled. Resolved GPU types come from active nodes and are independent of the event data source. eventNames always ends with the Others option, which matches every stored name the catalog does not list.
// The OOB identity sort fields are nodeName and bmcMac.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/events/options (the `GetV1EventsOptions` operationId).
GetV1EventsOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1EventsOptionsResponse, 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.
// Security vulnerabilities are available through the Security Vulnerability Report, not the component catalog.
//
// 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 without an
// explicit policy get the defaults (enabled, offlineThresholdDays 7).
//
// 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 offlineThresholdDays
// is omitted, an existing threshold is kept or the seven-day default is used for a
// missing policy. Disabling never clears the threshold. The 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 offlineThresholdDays
// is omitted, an existing threshold is kept or the seven-day default is used for a
// missing policy. Disabling never clears the threshold. The 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. Detail responses include computeZoneLocation and the deprecated computeZoneGeoLocation alias for backward compatibility.
//
// 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.
// Available GPU types are based on active nodes.
// 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 the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
//
// 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, params *DeleteV1NodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1NodesResponse, error)
// DeleteV1NodesWithResponse Delete multiple nodes (soft delete)
//
// Soft delete the selected agent enrollment for multiple nodes. A shared node remains active while the other agent enrollment is active.
//
// 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, params *DeleteV1NodesParams, 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/BMC identity list, including the optional OOB nodeName when OOB data is selected (see models.BasicNodesResponse). Detail responses include the preferred verification-check fields and the deprecated integrityCheck aliases for backward compatibility. 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. Sorting fields include verificationCheck and the deprecated integrityCheck alias for backward compatibility.
// 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 selected dataSource. The gpuTypes filter applies to both in-band and OOB views. The OOB view omits the kernel/driver/firmware/agentVersion sort fields, which apply only to in-band-enrolled nodes.
// In detail view, the agentStatuses filter is source-scoped and offers exactly Online and Offline. Basic view omits health-dependent filters and sorts.
// OOB sorting uses bmcMac as its default identity field; the combined basic view also offers bmcMac.
//
// 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 the selected agent enrollment. The shared node remains active while the other agent enrollment is active.
//
// 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, params *DeleteV1NodesNodeUuidParams, reqEditors ...RequestEditorFn) (*DeleteV1NodesNodeUuidResponse, error)
// GetV1NodesNodeUuidWithResponse Get detailed node information
//
// OOB responses use collectorVersion for the collector release; in-band responses use agentVersion.
// Get detailed information about a specific node including resources, system info, and health status. Responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility.
//
// 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)
// GetV1PredictedHealthRankingsWithResponse [Beta] Rank nodes, NVLink domains or racks within a scope
//
// Beta feature. Returns 501 with error feature_not_available when the feature is disabled. Rank non-deleted customer nodes with active in-band enrollment using usable predictions within the configured freshness limit (24 hours by default). OOB-only nodes and nodes with deleted or missing in-band enrollment are excluded before aggregation, ranks, deciles and counts. Dual-source and offline in-band nodes remain eligible. For node ranking, agentStatuses optionally filters returned nodes by in-band agent status without changing scope ranks, deciles or coverage counts; omitting it includes Online and Offline nodes. Lower internal risk ranks first, with deterministic unique ranks. Scope parameters select nodes before ranking or aggregation. Each domain or rack aggregates only its selected members. Physical membership does not require a compute-zone hierarchy. Deleted nodes are excluded. Return parameters preserve full-scope ranks, deciles and counts. Groups with no usable scores remain unranked. allNodesRanked measures selected-node score coverage. For domain and rack ranking, complete also requires resolved membership and a rank for every group. Rack identifiers are case-sensitive chassis serial numbers. Each page reads current data, so changes between pages can cause repeats or omissions. Scores, aggregate values and numeric confidence are never returned. Lists use repeated query keys. Unknown parameters, empty values, repeated scalars and incompatible parameters are rejected.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/predicted_health_rankings (the `GetV1PredictedHealthRankings` operationId).
GetV1PredictedHealthRankingsWithResponse(ctx context.Context, params *GetV1PredictedHealthRankingsParams, reqEditors ...RequestEditorFn) (*GetV1PredictedHealthRankingsResponse, 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
// - dataSource defaults to inband. In node lists, inband returns hostname; oob returns bmcMac and nodeName without hostname. Node CSV columns follow the selected source.
// - Node lists sort by error count descending. Ties sort by hostname and nodeUUID for inband, or bmcMac, nodeName, and nodeUUID for oob.
// - Info-level events are excluded from all views and CSV downloads. The severity filter offers Fatal, Critical, and Warning.
// - 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 an agent-source-specific inventory report in JSON or CSV format. dataSource=inband preserves the existing GPU/OS inventory shape; dataSource=oob returns the shared report fields plus nodeName, bmcMac, and bmcIP. GPU type and count come from the selected source.
// 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).
// JSON responses include the preferred location and verification-check fields plus the deprecated geoLocation/integrityCheck aliases for backward compatibility.
// OOB inventory rows use collectorVersion in JSON and Collector Version in CSV. In-band rows use agentVersion and Agent Version.
//
// 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)
// GetV1ReportsSecurityVulnerabilitiesWithResponse List security vulnerabilities
//
// Return one row per distinct CVE from current security findings, unifying active in-band and OOB nodes. Supported components are Linux/Tesla GPU Driver and vBIOS; CUDA is excluded. A CVE has one component and its catalog severity is one of CRITICAL, HIGH, MEDIUM, or LOW, using the shared security vulnerability severity enum.
// summary covers the full filtered result before pagination. Severity counts sum to total; summary.affectedNodes is a distinct-node union. summary.totalNodes applies only authorization and zone/group/GPU filters, including nodes lacking assessment inputs. Missing evidence is not proof of an unaffected node. Description is null when missing; fixVersions is an empty array when no applicable catalog fix is known. Fix strings are display labels, not upgrade packages.
// Repeated filter values are ORed within a field and fields are ANDed. Deduplicate values; reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. No source selector is supported; dataSource, dataSources, and agentType are rejected. Customer and audience are derived from authentication, not query parameters. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings.
// JSON defaults to page 0 and pageSize 10 (maximum 100). Severity sorts CRITICAL > HIGH > MEDIUM > LOW, including a separate critical summary count. Clients must support four severity buckets even when a mockup shows only three. Vulnerability IDs sort lexicographically; component sorts by component ID and affectedNodes sorts numerically. All four support asc/desc, with vulnerability ascending as the stable tie-breaker. Fix versions within each row sort by numeric version within branch/platform, independently of row sorting. Description and fixVersions are not sortable. Counts and rows are consistent within each request. Findings update as machines are reassessed, so pagination and exports may change between requests.
// countOnly=true returns only {"total": N}, the number of distinct CVEs in the same authorized filtered scope, for dashboard widgets. A CVE affecting multiple machines counts once. No rows, summary, evidence, fixes, or sorting are computed. This mode requires JSON and rejects page, pageSize, sortBy, and order. Omitted or countOnly=false preserves the normal response.
// format=csv exports all filtered vulnerabilities using the requested sort, rejects pagination parameters, and includes all matching rows without truncation. CSV has exactly six columns, in order: Vulnerability, Severity, Affected Component, Affected Machines, Fix Version, Description. Severity uses canonical CRITICAL/HIGH/MEDIUM/LOW values; components use GPU Driver/VBIOS. Multiple fixes are newline-separated within a quoted cell, ordered by numeric version within branch/platform; missing values are blank. No percentage, assessment ID, timestamp, or coverage fields are returned. Responses use private/no-store caching.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/reports/security/vulnerabilities (the `GetV1ReportsSecurityVulnerabilities` operationId).
GetV1ReportsSecurityVulnerabilitiesWithResponse(ctx context.Context, params *GetV1ReportsSecurityVulnerabilitiesParams, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilitiesResponse, error)
// GetV1ReportsSecurityVulnerabilityOptionsWithResponse Get security vulnerability filter and sort options
//
// Sorting uses the shared SortingOptions shape. fields is [vulnerability, severity, affectedNodes, component], orders is [asc, desc], and defaults is {field: severity, order: desc}. Description and fixVersions are not sortable.
// Return filters keyed by query parameter name plus sorting metadata for the vulnerability table. Always include computeZoneIds, nodeGroupIds, gpuTypes, severities, and componentTypes, using empty arrays when no options are available. No dimension or view selector is required. Zone/group/component options contain selectable id and display name. Component IDs are gpuDriver or vbios; zone/group IDs are UUIDs. GPU types and severity options are strings. Severity values are CRITICAL, HIGH, MEDIUM, and LOW; unknown is a GPU-type option only.
// Options use current security findings and the full authorized customer scope, unifying active in-band and OOB sources. Available to tenants and operators. Authorized default and external-cloud-provider audiences share the same customer fleet findings. This endpoint accepts no query parameters; table filter selections do not affect the available options.
// Membership options include authorized nodes lacking assessments. GPU-type, severity and component options come only from visible findings across the full customer fleet, regardless of table filter selections. Sort membership/component options by display name then ID, GPU types alphabetically, and severities CRITICAL > HIGH > MEDIUM > LOW. JSON key order does not define UI order.
// JSON only. A dimension exceeding 10000 distinct options returns 422; never silently truncate. Responses use private/no-store caching.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/reports/security/vulnerabilities/options (the `GetV1ReportsSecurityVulnerabilityOptions` operationId).
GetV1ReportsSecurityVulnerabilityOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilityOptionsResponse, error)
// GetV1ReportsSecurityVulnerabilityNodesWithResponse Download affected nodes for a security vulnerability
//
// Export one row per distinct canonical node affected by the selected vulnerability, unifying active in-band and OOB sources. Apply the same filters and finding predicate as the vulnerability table, using current findings for this request; a refresh can make this download differ from an earlier displayed count.
// Repeated values are ORed within a filter; filter dimensions and the path vulnerability are ANDed. Deduplicate values and reject empty values or lists longer than 100. Unknown or inaccessible zone/group IDs yield no results. Comma-separated scalar values are not split. Customer and audience are server-derived; available to tenants and operators. Reject dataSource, dataSources, agentType, base, page, pageSize, sortBy, and order. Only format=csv is supported. Rows sort by nodeUUID ascending.
// Malformed CVE IDs return 400. A CVE absent from the authorized current findings returns 404; a known authorized CVE excluded by filters returns a header-only CSV. Exports include all matching nodes without a fixed row cap; request timeouts and cancellation still apply. Missing identity values are blank. Multi-value cells use quoted newline-separated text; strings are escaped for spreadsheet safety. Responses use private/no-store caching.
// CSV has exactly nine columns, in order: Vulnerability, Affected Component, Current Version, Fix Version, GPU Type, Host Name, Machine ID, Machine Name, BMC MAC Address. Machine ID is the canonical node UUID; Machine Name is nodeName and Host Name is the in-band hostname, with no identity fallbacks. Current Version is the assessed driver version or raw VBIOS version, not a mapped milestone. Multiple current versions and applicable fixes are newline-separated within quoted cells. Fixes are ordered by numeric version within branch/platform; VBIOS fixes retain platform labels. Missing values are blank. No URL, inventory provenance or additional identity columns are exported.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/reports/security/vulnerabilities/{vulnerability}/nodes (the `GetV1ReportsSecurityVulnerabilityNodes` operationId).
GetV1ReportsSecurityVulnerabilityNodesWithResponse(ctx context.Context, vulnerability string, params *GetV1ReportsSecurityVulnerabilityNodesParams, reqEditors ...RequestEditorFn) (*GetV1ReportsSecurityVulnerabilityNodesResponse, 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)
// GetV1StatsWithResponse Get categorical stats time series
//
// Returns aligned daily categorical chart data for a customer, node group, or compute zone over a trailing window ending at the current server time. Historical points come from stored stats. The final point is calculated live at request time and replaces any stored data for the current day. A missing historical record retains its scheduled timestamp and has null at the same index in every series; zero is an observed count. timestamps[i] identifies the point for every series.values[i], and all arrays have the same length. The agentStatus stat currently returns Online and Offline series in that order and requires dataSource. Healthy liveness counts as Online; every other, missing, or unrecognized liveness value counts as Offline.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/stats (the `GetV1Stats` operationId).
GetV1StatsWithResponse(ctx context.Context, params *GetV1StatsParams, reqEditors ...RequestEditorFn) (*GetV1StatsResponse, 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, the node's resolved GPU type, identities, and current nodeGroup/computeZone. GPU type is independent of the selected burst data source.
// Bursts are detected independently on each observation path, selected by dataSource: in-band agent logs (default), out-of-band BMC/Redfish logs, or all for both in one page. Each item echoes the single source that detected it, so on a combined page a node that reported the same fault through both paths appears as two rows with different dataSource values — that is the observation, not a duplicate to be merged. Sorting and paging are identical for every dataSource. Every item also carries all three node identities (hostname, nodeName, bmcMac); each is empty unless the source owning it is currently enrolled, so an out-of-band-only node usually has no hostname and sorts as empty under sortBy=hostname. nameSearch matches any of the three. For out-of-band bursts the deviceIds keys are resolved from the Redfish resource token to the GPU UUID where inventory allows, and otherwise remain the raw token, so treat the key as an opaque device label.
//
// 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 filter options available to the authenticated customer and persona. Optional time and inventory scope filters narrow the values; table column filters are not applied. 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 nameSearch parameter on GET /v1/xid/bursts rather than a distinct-hostname options list.
// Options are scoped by dataSource and echoed in the response, so they always match what GET /v1/xid/bursts returns for that same value. Request them again when switching sources, and pass dataSource=all when the table itself was fetched with dataSource=all. GPU type options use each matching node's resolved GPU type, independent of which source detected the burst.
//
// 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, params *GetV1XIDBurstOptionsParams, 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, resolved GPU type, all three node identities, and the node's current nodeGroup/computeZone.
// This endpoint takes no dataSource parameter: burst IDs are unique across observation paths, so one ID resolves without one. The returned dataSource field reports which source detected the burst.
//
// 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 agent and collector commands, including enrollment, downloads, and links to installation and machine disconnection documentation.
//
// 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 ¶ added in v1.1.0
func (r DeleteV1AlertMuteRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1AlertMuteRulesResponse) GetJSON400 ¶ added in v1.1.0
func (r DeleteV1AlertMuteRulesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON401 ¶ added in v1.1.0
func (r DeleteV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON403 ¶ added in v1.1.0
func (r DeleteV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON404 ¶ added in v1.1.0
func (r DeleteV1AlertMuteRulesResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON499 ¶ added in v1.1.0
func (r DeleteV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1AlertMuteRulesResponse) GetJSON500 ¶ added in v1.1.0
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 DeleteV1NodesNodeUuidParams ¶ added in v1.1.0
type DeleteV1NodesNodeUuidParams struct {
// DataSource Agent enrollment to soft delete: inband (default) or oob
DataSource *DeleteV1NodesNodeUuidParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// AgentType Deprecated: use dataSource. When both parameters are supplied, their values must match.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *DeleteV1NodesNodeUuidParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
}
DeleteV1NodesNodeUuidParams defines parameters for DeleteV1NodesNodeUuid.
type DeleteV1NodesNodeUuidParamsAgentType ¶ added in v1.1.0
type DeleteV1NodesNodeUuidParamsAgentType string
DeleteV1NodesNodeUuidParamsAgentType defines parameters for DeleteV1NodesNodeUuid.
const ( DeleteV1NodesNodeUuidParamsAgentTypeInband DeleteV1NodesNodeUuidParamsAgentType = "inband" DeleteV1NodesNodeUuidParamsAgentTypeOob DeleteV1NodesNodeUuidParamsAgentType = "oob" )
Defines values for DeleteV1NodesNodeUuidParamsAgentType.
func (DeleteV1NodesNodeUuidParamsAgentType) Valid ¶ added in v1.1.0
func (e DeleteV1NodesNodeUuidParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the DeleteV1NodesNodeUuidParamsAgentType enum.
type DeleteV1NodesNodeUuidParamsDataSource ¶
type DeleteV1NodesNodeUuidParamsDataSource string
DeleteV1NodesNodeUuidParamsDataSource defines parameters for DeleteV1NodesNodeUuid.
const ( DeleteV1NodesNodeUuidParamsDataSourceInband DeleteV1NodesNodeUuidParamsDataSource = "inband" DeleteV1NodesNodeUuidParamsDataSourceOob DeleteV1NodesNodeUuidParamsDataSource = "oob" )
Defines values for DeleteV1NodesNodeUuidParamsDataSource.
func (DeleteV1NodesNodeUuidParamsDataSource) Valid ¶
func (e DeleteV1NodesNodeUuidParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the DeleteV1NodesNodeUuidParamsDataSource enum.
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 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1NodesNodeUuidResponse) GetJSON200 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON400 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON401 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON403 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON404 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON499 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON500 ¶ added in v1.1.0
func (r DeleteV1NodesNodeUuidResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1NodesNodeUuidResponse) GetJSON503 ¶ added in v1.1.0
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 DeleteV1NodesParams ¶ added in v1.1.0
type DeleteV1NodesParams struct {
// DataSource Agent enrollment to soft delete: inband (default) or oob
DataSource *DeleteV1NodesParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// AgentType Deprecated: use dataSource. When both parameters are supplied, their values must match.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *DeleteV1NodesParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
}
DeleteV1NodesParams defines parameters for DeleteV1Nodes.
type DeleteV1NodesParamsAgentType ¶ added in v1.1.0
type DeleteV1NodesParamsAgentType string
DeleteV1NodesParamsAgentType defines parameters for DeleteV1Nodes.
const ( DeleteV1NodesParamsAgentTypeInband DeleteV1NodesParamsAgentType = "inband" DeleteV1NodesParamsAgentTypeOob DeleteV1NodesParamsAgentType = "oob" )
Defines values for DeleteV1NodesParamsAgentType.
func (DeleteV1NodesParamsAgentType) Valid ¶ added in v1.1.0
func (e DeleteV1NodesParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the DeleteV1NodesParamsAgentType enum.
type DeleteV1NodesParamsDataSource ¶
type DeleteV1NodesParamsDataSource string
DeleteV1NodesParamsDataSource defines parameters for DeleteV1Nodes.
const ( DeleteV1NodesParamsDataSourceInband DeleteV1NodesParamsDataSource = "inband" DeleteV1NodesParamsDataSourceOob DeleteV1NodesParamsDataSource = "oob" )
Defines values for DeleteV1NodesParamsDataSource.
func (DeleteV1NodesParamsDataSource) Valid ¶
func (e DeleteV1NodesParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the DeleteV1NodesParamsDataSource enum.
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 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1NodesResponse) GetJSON200 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteV1NodesResponse) GetJSON400 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1NodesResponse) GetJSON401 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1NodesResponse) GetJSON403 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1NodesResponse) GetJSON404 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1NodesResponse) GetJSON499 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1NodesResponse) GetJSON500 ¶ added in v1.1.0
func (r DeleteV1NodesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1NodesResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON400 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON401 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON403 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON404 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON499 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON500 ¶ added in v1.1.0
func (r DeleteV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteV1NotificationPreferenceByIDResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1AlertMuteRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertMuteRulesResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertMuteRulesResponse) GetJSON200() *ModelsListMuteRulesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertMuteRulesResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1AlertTimelineFilterOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON200() *ModelsOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertTimelineFilterOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineFilterOptionsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON200() *ModelsAlertTimelineDetailResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsAlertUuidResponse) GetJSON500 ¶ added in v1.1.0
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 Deprecated compatibility parameter; ignored. Security findings are not alerts.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
WithoutPsirt *bool `form:"withoutPsirt,omitempty" json:"withoutPsirt,omitempty"`
// SortBy Sortable table-header column. dataSource sorts the source shown for each alert.
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"`
// DataSources Filter alerts by producing data source (inband or oob). Repeated values are ORed; omitted means both sources.
DataSources *[]GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources `form:"dataSources,omitempty" json:"dataSources,omitempty"`
// ComponentTypes Filter to alerts on matching component types.
ComponentTypes *[]string `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`
// GpuTypes Node-level filter carried from Level 1: match the node's resolved 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 GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources ¶
type GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources string
GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources defines parameters for GetV1AlertTimelineNodesNodeUuidAlerts.
const ( GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSourcesInband GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources = "inband" GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSourcesOob GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources = "oob" )
Defines values for GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources.
func (GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources) Valid ¶
func (e GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesNodeUuidAlertsParamsDataSources 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 ( GetV1AlertTimelineNodesNodeUuidAlertsParamsSortByDataSource GetV1AlertTimelineNodesNodeUuidAlertsParamsSortBy = "dataSource" 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 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON200() *ModelsAlertTimelineNodeAlertsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineNodesNodeUuidAlertsResponse) GetJSON500 ¶ added in v1.1.0
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"`
// CountOnly Return only total matching nodes; skip node details and global alert summaries. All filters apply; pagination and sorting do not affect the count.
CountOnly *bool `form:"countOnly,omitempty" json:"countOnly,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"`
// NameSearch Case-insensitive substring matched against the in-band hostname, OOB machine name, BMC MAC identifier, and node UUID
NameSearch *string `form:"nameSearch,omitempty" json:"nameSearch,omitempty"`
// InbandAgentStatuses In-band agent machine status (online, offline, not_enrolled). Repeated values are ORed.
InbandAgentStatuses *[]ModelsAlertAgentStatus `form:"inbandAgentStatuses,omitempty" json:"inbandAgentStatuses,omitempty"`
// OobAgentStatuses OOB collector machine status (online, offline, not_enrolled). Repeated values are ORed; this filter is ANDed with inbandAgentStatuses.
OobAgentStatuses *[]ModelsAlertAgentStatus `form:"oobAgentStatuses,omitempty" json:"oobAgentStatuses,omitempty"`
// SortBy Sortable table-header column. nodeName and bmcMac sort OOB identities; nodeUUID sorts the Machine ID column; alert ranks by critical then warning count. Missing names sort last.
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 resolved 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"`
// DataSources Filter alerts by producing data source (inband or oob). Repeated values are ORed; omitted means both sources. Counts and pagination reflect matching alerts.
DataSources *[]GetV1AlertTimelineNodesParamsDataSources `form:"dataSources,omitempty" json:"dataSources,omitempty"`
// ComponentTypes Filter to nodes with alerts on matching component types.
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 GetV1AlertTimelineNodesParamsDataSources ¶
type GetV1AlertTimelineNodesParamsDataSources string
GetV1AlertTimelineNodesParamsDataSources defines parameters for GetV1AlertTimelineNodes.
const ( GetV1AlertTimelineNodesParamsDataSourcesInband GetV1AlertTimelineNodesParamsDataSources = "inband" GetV1AlertTimelineNodesParamsDataSourcesOob GetV1AlertTimelineNodesParamsDataSources = "oob" )
Defines values for GetV1AlertTimelineNodesParamsDataSources.
func (GetV1AlertTimelineNodesParamsDataSources) Valid ¶
func (e GetV1AlertTimelineNodesParamsDataSources) Valid() bool
Valid indicates whether the value is a known member of the GetV1AlertTimelineNodesParamsDataSources 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" GetV1AlertTimelineNodesParamsSortByBmcMac GetV1AlertTimelineNodesParamsSortBy = "bmcMac" GetV1AlertTimelineNodesParamsSortByComputeZone GetV1AlertTimelineNodesParamsSortBy = "computeZone" GetV1AlertTimelineNodesParamsSortByGpuType GetV1AlertTimelineNodesParamsSortBy = "gpuType" GetV1AlertTimelineNodesParamsSortByHostname GetV1AlertTimelineNodesParamsSortBy = "hostname" GetV1AlertTimelineNodesParamsSortByLastUpdate GetV1AlertTimelineNodesParamsSortBy = "lastUpdate" GetV1AlertTimelineNodesParamsSortByNodeGroup GetV1AlertTimelineNodesParamsSortBy = "nodeGroup" GetV1AlertTimelineNodesParamsSortByNodeName GetV1AlertTimelineNodesParamsSortBy = "nodeName" GetV1AlertTimelineNodesParamsSortByNodeUUID GetV1AlertTimelineNodesParamsSortBy = "nodeUUID" )
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 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertTimelineNodesResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesResponse) GetJSON200() *ModelsAlertTimelineNodesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertTimelineNodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertTimelineNodesResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1AlertsNodeUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertsNodeUuidResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertsNodeUuidResponse) GetJSON200() *ModelsNodeAlertResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1AlertsNodeUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1AlertsNodeUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertsNodeUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertsNodeUuidResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1AlertsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AlertsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AlertsResponse) GetJSON200() *ModelsAlertResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AlertsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1AlertsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1AlertsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1AlertsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1AlertsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1AuthStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1AuthStatusResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1AuthStatusResponse) GetJSON200() *ModelsAuthStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1AuthStatusResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1AuthStatusResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1AuthStatusResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1AuthStatusResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1AuthStatusResponse) GetJSON499 ¶ added in v1.1.0
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"`
// SortBy Field to sort by, in either view
SortBy *GetV1ComputezonesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort order, in either view
Order *GetV1ComputezonesParamsOrder `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"`
}
GetV1ComputezonesParams defines parameters for GetV1Computezones.
type GetV1ComputezonesParamsOrder ¶
type GetV1ComputezonesParamsOrder string
GetV1ComputezonesParamsOrder defines parameters for GetV1Computezones.
const ( GetV1ComputezonesParamsOrderAsc GetV1ComputezonesParamsOrder = "asc" GetV1ComputezonesParamsOrderDesc GetV1ComputezonesParamsOrder = "desc" )
Defines values for GetV1ComputezonesParamsOrder.
func (GetV1ComputezonesParamsOrder) Valid ¶
func (e GetV1ComputezonesParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1ComputezonesParamsOrder enum.
type GetV1ComputezonesParamsSortBy ¶
type GetV1ComputezonesParamsSortBy string
GetV1ComputezonesParamsSortBy defines parameters for GetV1Computezones.
const ( GetV1ComputezonesParamsSortByCreatedAt GetV1ComputezonesParamsSortBy = "createdAt" GetV1ComputezonesParamsSortByName GetV1ComputezonesParamsSortBy = "name" )
Defines values for GetV1ComputezonesParamsSortBy.
func (GetV1ComputezonesParamsSortBy) Valid ¶
func (e GetV1ComputezonesParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1ComputezonesParamsSortBy enum.
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 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ComputezonesResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetJSON200() *GetV1Computezones200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ComputezonesResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ComputezonesResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ComputezonesResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ComputezonesResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ComputezonesResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1ComputezonesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ComputezonesResponse) GetJSON503 ¶ added in v1.1.0
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"`
// NodeGroupIds Filter by node group IDs
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Filter by compute zone IDs
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// ExcludeNodeGroupIds Exclude node group IDs
ExcludeNodeGroupIds *[]string `form:"excludeNodeGroupIds,omitempty" json:"excludeNodeGroupIds,omitempty"`
// ExcludeComputeZoneIds Exclude compute zone IDs
ExcludeComputeZoneIds *[]string `form:"excludeComputeZoneIds,omitempty" json:"excludeComputeZoneIds,omitempty"`
// NameSearch Case-insensitive substring matched against the in-band hostname, OOB machine name, BMC MAC identifier, and node UUID
NameSearch *string `form:"nameSearch,omitempty" json:"nameSearch,omitempty"`
// EventNames Exact event names
EventNames *[]string `form:"eventNames,omitempty" json:"eventNames,omitempty"`
// Severities Exact severity values
Severities *[]string `form:"severities,omitempty" json:"severities,omitempty"`
// Components Exact component values; cannot be combined with component
Components *[]string `form:"components,omitempty" json:"components,omitempty"`
// DataSources Event data sources
DataSources *[]GetV1EventsBucketsParamsDataSources `form:"dataSources,omitempty" json:"dataSources,omitempty"`
// GpuTypes Resolved node GPU types
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// MaxBuckets Maximum number of buckets (default: 100, max: 1000)
MaxBuckets *int `form:"maxBuckets,omitempty" json:"maxBuckets,omitempty"`
}
GetV1EventsBucketsParams defines parameters for GetV1EventsBuckets.
type GetV1EventsBucketsParamsDataSources ¶
type GetV1EventsBucketsParamsDataSources string
GetV1EventsBucketsParamsDataSources defines parameters for GetV1EventsBuckets.
const ( GetV1EventsBucketsParamsDataSourcesInband GetV1EventsBucketsParamsDataSources = "inband" GetV1EventsBucketsParamsDataSourcesOob GetV1EventsBucketsParamsDataSources = "oob" )
Defines values for GetV1EventsBucketsParamsDataSources.
func (GetV1EventsBucketsParamsDataSources) Valid ¶
func (e GetV1EventsBucketsParamsDataSources) Valid() bool
Valid indicates whether the value is a known member of the GetV1EventsBucketsParamsDataSources enum.
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 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1EventsBucketsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetJSON200() *ModelsEventBucketsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1EventsBucketsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1EventsBucketsResponse) GetJSON503 ¶ added in v1.1.0
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 GetV1EventsOptionsResponse ¶
type GetV1EventsOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsEventFilterOptionsResponse
// 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 ParseGetV1EventsOptionsResponse ¶
func ParseGetV1EventsOptionsResponse(rsp *http.Response) (*GetV1EventsOptionsResponse, error)
ParseGetV1EventsOptionsResponse parses an HTTP response from a GetV1EventsOptionsWithResponse call
func (GetV1EventsOptionsResponse) ContentType ¶
func (r GetV1EventsOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1EventsOptionsResponse) GetBody ¶
func (r GetV1EventsOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1EventsOptionsResponse) GetJSON200 ¶
func (r GetV1EventsOptionsResponse) GetJSON200() *ModelsEventFilterOptionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1EventsOptionsResponse) GetJSON401 ¶
func (r GetV1EventsOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1EventsOptionsResponse) GetJSON403 ¶
func (r GetV1EventsOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1EventsOptionsResponse) GetJSON500 ¶
func (r GetV1EventsOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1EventsOptionsResponse) GetJSON503 ¶
func (r GetV1EventsOptionsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1EventsOptionsResponse) Status ¶
func (r GetV1EventsOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1EventsOptionsResponse) StatusCode ¶
func (r GetV1EventsOptionsResponse) 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"`
// NodeGroupIds Filter by node group IDs
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Filter by compute zone IDs
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// ExcludeNodeGroupIds Exclude node group IDs
ExcludeNodeGroupIds *[]string `form:"excludeNodeGroupIds,omitempty" json:"excludeNodeGroupIds,omitempty"`
// ExcludeComputeZoneIds Exclude compute zone IDs
ExcludeComputeZoneIds *[]string `form:"excludeComputeZoneIds,omitempty" json:"excludeComputeZoneIds,omitempty"`
// NameSearch Case-insensitive substring matched against the in-band hostname, OOB machine name, BMC MAC identifier, and node UUID
NameSearch *string `form:"nameSearch,omitempty" json:"nameSearch,omitempty"`
// EventNames Exact event names
EventNames *[]string `form:"eventNames,omitempty" json:"eventNames,omitempty"`
// Severities Exact severity values
Severities *[]string `form:"severities,omitempty" json:"severities,omitempty"`
// Components Exact component values; cannot be combined with component
Components *[]string `form:"components,omitempty" json:"components,omitempty"`
// DataSources Event data sources
DataSources *[]GetV1EventsParamsDataSources `form:"dataSources,omitempty" json:"dataSources,omitempty"`
// GpuTypes Resolved node GPU types
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// SortBy Sortable column
SortBy *GetV1EventsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// SortOrder Sort direction
SortOrder *GetV1EventsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,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 GetV1EventsParamsDataSources ¶
type GetV1EventsParamsDataSources string
GetV1EventsParamsDataSources defines parameters for GetV1Events.
const ( GetV1EventsParamsDataSourcesInband GetV1EventsParamsDataSources = "inband" GetV1EventsParamsDataSourcesOob GetV1EventsParamsDataSources = "oob" )
Defines values for GetV1EventsParamsDataSources.
func (GetV1EventsParamsDataSources) Valid ¶
func (e GetV1EventsParamsDataSources) Valid() bool
Valid indicates whether the value is a known member of the GetV1EventsParamsDataSources enum.
type GetV1EventsParamsSortBy ¶
type GetV1EventsParamsSortBy string
GetV1EventsParamsSortBy defines parameters for GetV1Events.
const ( GetV1EventsParamsSortByBmcMac GetV1EventsParamsSortBy = "bmcMac" GetV1EventsParamsSortByComponent GetV1EventsParamsSortBy = "component" GetV1EventsParamsSortByComputeZone GetV1EventsParamsSortBy = "computeZone" GetV1EventsParamsSortByEventName GetV1EventsParamsSortBy = "eventName" GetV1EventsParamsSortByGpuType GetV1EventsParamsSortBy = "gpuType" GetV1EventsParamsSortByHostname GetV1EventsParamsSortBy = "hostname" GetV1EventsParamsSortByNodeGroup GetV1EventsParamsSortBy = "nodeGroup" GetV1EventsParamsSortByNodeName GetV1EventsParamsSortBy = "nodeName" GetV1EventsParamsSortByNodeUUID GetV1EventsParamsSortBy = "nodeUUID" GetV1EventsParamsSortBySeverity GetV1EventsParamsSortBy = "severity" GetV1EventsParamsSortByTimestamp GetV1EventsParamsSortBy = "timestamp" )
Defines values for GetV1EventsParamsSortBy.
func (GetV1EventsParamsSortBy) Valid ¶
func (e GetV1EventsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1EventsParamsSortBy enum.
type GetV1EventsParamsSortOrder ¶
type GetV1EventsParamsSortOrder string
GetV1EventsParamsSortOrder defines parameters for GetV1Events.
const ( GetV1EventsParamsSortOrderAsc GetV1EventsParamsSortOrder = "asc" GetV1EventsParamsSortOrderDesc GetV1EventsParamsSortOrder = "desc" )
Defines values for GetV1EventsParamsSortOrder.
func (GetV1EventsParamsSortOrder) Valid ¶
func (e GetV1EventsParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1EventsParamsSortOrder enum.
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 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1EventsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetJSON200() *ModelsEventsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1EventsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1EventsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1EventsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1EventsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1EventsResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1EventsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1EventsResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1InfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1InfoResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1InfoResponse) GetJSON200() *ModelsInfoResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1InfoResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1InfoResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1InfoResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1InfoResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1InfoResponse) GetJSON500 ¶ added in v1.1.0
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"`
// DataSource Filter the catalog by data source: inband, oob, or all. Omitted defaults to all sources.
DataSource *GetV1MetricsParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// PsirtComponent Deprecated compatibility parameter; ignored. Security findings are not health components.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PsirtComponent *bool `form:"psirtComponent,omitempty" json:"psirtComponent,omitempty"`
// EntityLevel Optional entity scope. Components an entity cannot produce are omitted, so an empty result is the signal that a scope has no nodes of the requested data source. 'node' additionally filters by GPU/CPU architecture and probes per-sensor availability.
EntityLevel *GetV1MetricsParamsEntityLevel `form:"entityLevel,omitempty" json:"entityLevel,omitempty"`
// EntityID Entity ID matching entityLevel: node UUID, node group UUID, or compute zone UUID. Required when entityLevel is set.
EntityID *string `form:"entityID,omitempty" json:"entityID,omitempty"`
}
GetV1MetricsParams defines parameters for GetV1Metrics.
type GetV1MetricsParamsDataSource ¶
type GetV1MetricsParamsDataSource string
GetV1MetricsParamsDataSource defines parameters for GetV1Metrics.
const ( GetV1MetricsParamsDataSourceAll GetV1MetricsParamsDataSource = "all" GetV1MetricsParamsDataSourceInband GetV1MetricsParamsDataSource = "inband" GetV1MetricsParamsDataSourceOob GetV1MetricsParamsDataSource = "oob" )
Defines values for GetV1MetricsParamsDataSource.
func (GetV1MetricsParamsDataSource) Valid ¶
func (e GetV1MetricsParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1MetricsParamsDataSource enum.
type GetV1MetricsParamsEntityLevel ¶ added in v1.0.0
type GetV1MetricsParamsEntityLevel string
GetV1MetricsParamsEntityLevel defines parameters for GetV1Metrics.
const ( GetV1MetricsParamsEntityLevelComputezone GetV1MetricsParamsEntityLevel = "computezone" GetV1MetricsParamsEntityLevelNode GetV1MetricsParamsEntityLevel = "node" GetV1MetricsParamsEntityLevelNodegroup GetV1MetricsParamsEntityLevel = "nodegroup" )
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 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1MetricsQueryRangeResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON200() *ModelsQueryMetricRangeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1MetricsQueryRangeResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1MetricsQueryRangeResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1MetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1MetricsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1MetricsResponse) GetJSON200() *ModelsGetMetricsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1MetricsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1MetricsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1MetricsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1MetricsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1MetricsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1MetricsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1MetricsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodeGroupMembershipsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetJSON200() *ModelsNodeGroupMembershipsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NodeGroupMembershipsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodeGroupMembershipsResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NodeRemovalPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodeRemovalPolicyResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodeRemovalPolicyResponse) GetJSON200() *ModelsNodeRemovalPolicy
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodeRemovalPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodeRemovalPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NodeRemovalPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodeRemovalPolicyResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NodegroupsOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodegroupsOptionsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodegroupsOptionsResponse) GetJSON200() *ModelsOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodegroupsOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodegroupsOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodegroupsOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodegroupsOptionsResponse) GetJSON500 ¶ added in v1.1.0
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 node groups containing nodes with any of the specified GPU types (e.g., ?gpuTypes=NVIDIA-H100-80GB-HBM3).
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// SortBy Field to sort by: health/nodes in detail view; name in either view
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 ( GetV1NodegroupsParamsSortByHealth GetV1NodegroupsParamsSortBy = "health" GetV1NodegroupsParamsSortByName GetV1NodegroupsParamsSortBy = "name" GetV1NodegroupsParamsSortByNodes 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 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodegroupsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetJSON200() *GetV1Nodegroups200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodegroupsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodegroupsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodegroupsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodegroupsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodegroupsResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NodegroupsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodegroupsResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (t GetV1Nodes200JSONResponseBody) AsModelsInbandNodesResponse() (ModelsInbandNodesResponse, error)
AsModelsInbandNodesResponse returns the union data inside the GetV1Nodes200JSONResponseBody as a ModelsInbandNodesResponse
func (GetV1Nodes200JSONResponseBody) AsModelsOobNodesResponse ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (t *GetV1Nodes200JSONResponseBody) FromModelsInbandNodesResponse(v ModelsInbandNodesResponse) error
FromModelsInbandNodesResponse overwrites any union data inside the GetV1Nodes200JSONResponseBody as the provided ModelsInbandNodesResponse
func (*GetV1Nodes200JSONResponseBody) FromModelsOobNodesResponse ¶ added in v1.1.0
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 ¶ added in v1.1.0
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 ¶ added in v1.1.0
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 ( GetV1NodesHistoryParamsActorTypeAll GetV1NodesHistoryParamsActorType = "all" GetV1NodesHistoryParamsActorTypeSystem GetV1NodesHistoryParamsActorType = "system" GetV1NodesHistoryParamsActorTypeUser 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 ¶ added in v1.1.0
func (r GetV1NodesHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesHistoryResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodesHistoryResponse) GetJSON200() *ModelsNodeHistoryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodesHistoryResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodesHistoryResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodesHistoryResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NodesHistoryResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesHistoryResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
type GetV1NodesNodeUuid200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1NodesNodeUuid200JSONResponseBody defines parameters for GetV1NodesNodeUuid.
func (GetV1NodesNodeUuid200JSONResponseBody) AsModelsInbandNodeDetailsResponse ¶ added in v1.1.0
func (t GetV1NodesNodeUuid200JSONResponseBody) AsModelsInbandNodeDetailsResponse() (ModelsInbandNodeDetailsResponse, error)
AsModelsInbandNodeDetailsResponse returns the union data inside the GetV1NodesNodeUuid200JSONResponseBody as a ModelsInbandNodeDetailsResponse
func (GetV1NodesNodeUuid200JSONResponseBody) AsModelsOobNodeDetailsResponse ¶ added in v1.1.0
func (t GetV1NodesNodeUuid200JSONResponseBody) AsModelsOobNodeDetailsResponse() (ModelsOobNodeDetailsResponse, error)
AsModelsOobNodeDetailsResponse returns the union data inside the GetV1NodesNodeUuid200JSONResponseBody as a ModelsOobNodeDetailsResponse
func (*GetV1NodesNodeUuid200JSONResponseBody) FromModelsInbandNodeDetailsResponse ¶ added in v1.1.0
func (t *GetV1NodesNodeUuid200JSONResponseBody) FromModelsInbandNodeDetailsResponse(v ModelsInbandNodeDetailsResponse) error
FromModelsInbandNodeDetailsResponse overwrites any union data inside the GetV1NodesNodeUuid200JSONResponseBody as the provided ModelsInbandNodeDetailsResponse
func (*GetV1NodesNodeUuid200JSONResponseBody) FromModelsOobNodeDetailsResponse ¶ added in v1.1.0
func (t *GetV1NodesNodeUuid200JSONResponseBody) FromModelsOobNodeDetailsResponse(v ModelsOobNodeDetailsResponse) error
FromModelsOobNodeDetailsResponse overwrites any union data inside the GetV1NodesNodeUuid200JSONResponseBody as the provided ModelsOobNodeDetailsResponse
func (GetV1NodesNodeUuid200JSONResponseBody) MarshalJSON ¶ added in v1.1.0
func (t GetV1NodesNodeUuid200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1NodesNodeUuid200JSONResponseBody) MergeModelsInbandNodeDetailsResponse ¶ added in v1.1.0
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 ¶ added in v1.1.0
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 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON200() *ModelsNodeHealthHistoryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidHealthHistoryResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesNodeUuidHealthHistoryResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
type GetV1NodesNodeUuidParams struct {
// DataSource Data source view: inband (default) or oob
DataSource *GetV1NodesNodeUuidParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// AgentType Deprecated: use dataSource. When both parameters are supplied, their values must match.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *GetV1NodesNodeUuidParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
}
GetV1NodesNodeUuidParams defines parameters for GetV1NodesNodeUuid.
type GetV1NodesNodeUuidParamsAgentType ¶ added in v1.1.0
type GetV1NodesNodeUuidParamsAgentType string
GetV1NodesNodeUuidParamsAgentType defines parameters for GetV1NodesNodeUuid.
const ( GetV1NodesNodeUuidParamsAgentTypeInband GetV1NodesNodeUuidParamsAgentType = "inband" GetV1NodesNodeUuidParamsAgentTypeOob GetV1NodesNodeUuidParamsAgentType = "oob" )
Defines values for GetV1NodesNodeUuidParamsAgentType.
func (GetV1NodesNodeUuidParamsAgentType) Valid ¶ added in v1.1.0
func (e GetV1NodesNodeUuidParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesNodeUuidParamsAgentType enum.
type GetV1NodesNodeUuidParamsDataSource ¶
type GetV1NodesNodeUuidParamsDataSource string
GetV1NodesNodeUuidParamsDataSource defines parameters for GetV1NodesNodeUuid.
const ( GetV1NodesNodeUuidParamsDataSourceInband GetV1NodesNodeUuidParamsDataSource = "inband" GetV1NodesNodeUuidParamsDataSourceOob GetV1NodesNodeUuidParamsDataSource = "oob" )
Defines values for GetV1NodesNodeUuidParamsDataSource.
func (GetV1NodesNodeUuidParamsDataSource) Valid ¶
func (e GetV1NodesNodeUuidParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesNodeUuidParamsDataSource 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 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesNodeUuidResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON200() *GetV1NodesNodeUuid200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NodesNodeUuidResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesNodeUuidResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
type GetV1NodesOptionsParams struct {
// View Select detail or basic options. Basic omits health-dependent filters and sorts; without a source parameter, basic uses combined node GPU info.
View *GetV1NodesOptionsParamsView `form:"view,omitempty" json:"view,omitempty"`
// DataSource Select in-band or OOB data. Omitted defaults to in-band for detail and combined sources for basic.
DataSource *GetV1NodesOptionsParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// AgentType Deprecated: use dataSource. Alias for selecting the in-band or OOB data source; when both parameters are supplied, their values must match.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *GetV1NodesOptionsParamsAgentType `form:"agentType,omitempty" json:"agentType,omitempty"`
}
GetV1NodesOptionsParams defines parameters for GetV1NodesOptions.
type GetV1NodesOptionsParamsAgentType ¶ added in v1.1.0
type GetV1NodesOptionsParamsAgentType string
GetV1NodesOptionsParamsAgentType defines parameters for GetV1NodesOptions.
const ( GetV1NodesOptionsParamsAgentTypeInband GetV1NodesOptionsParamsAgentType = "inband" GetV1NodesOptionsParamsAgentTypeOob GetV1NodesOptionsParamsAgentType = "oob" )
Defines values for GetV1NodesOptionsParamsAgentType.
func (GetV1NodesOptionsParamsAgentType) Valid ¶ added in v1.1.0
func (e GetV1NodesOptionsParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesOptionsParamsAgentType enum.
type GetV1NodesOptionsParamsDataSource ¶
type GetV1NodesOptionsParamsDataSource string
GetV1NodesOptionsParamsDataSource defines parameters for GetV1NodesOptions.
const ( GetV1NodesOptionsParamsDataSourceInband GetV1NodesOptionsParamsDataSource = "inband" GetV1NodesOptionsParamsDataSourceOob GetV1NodesOptionsParamsDataSource = "oob" )
Defines values for GetV1NodesOptionsParamsDataSource.
func (GetV1NodesOptionsParamsDataSource) Valid ¶
func (e GetV1NodesOptionsParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesOptionsParamsDataSource enum.
type GetV1NodesOptionsParamsView ¶
type GetV1NodesOptionsParamsView string
GetV1NodesOptionsParamsView defines parameters for GetV1NodesOptions.
const ( GetV1NodesOptionsParamsViewBasic GetV1NodesOptionsParamsView = "basic" GetV1NodesOptionsParamsViewDetail GetV1NodesOptionsParamsView = "detail" )
Defines values for GetV1NodesOptionsParamsView.
func (GetV1NodesOptionsParamsView) Valid ¶
func (e GetV1NodesOptionsParamsView) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesOptionsParamsView 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 ¶ added in v1.1.0
func (r GetV1NodesOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesOptionsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodesOptionsResponse) GetJSON200() *ModelsOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodesOptionsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodesOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodesOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodesOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesOptionsResponse) GetJSON500 ¶ added in v1.1.0
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 + optional OOB nodeName + bmcMac/bmcIP only (lightweight query, does not support filtering or sorting by healthStatuses, verificationChecks, firmwareChecks, or agentStatuses).
View *GetV1NodesParamsView `form:"view,omitempty" json:"view,omitempty"`
// DataSource Select the in-band or OOB (BMC/Redfish) data source. Returns only nodes enrolled through that source. nodeName is OOB-specific metadata and is absent from in-band responses. In the OOB view, nodes expose collectorVersion, nodeName, bmcMac/bmcIP, optional gpuType/gpuCount and BMC-based verification, while publicIP/privateIP/kernelVersion/gpuDriverVersion/gpuFirmwareVersions are empty. Empty defaults to the in-band view for view=detail; for view=basic, omitting both dataSource and agentType returns a combined view that merges OOB and in-band identity.
DataSource *GetV1NodesParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// AgentType Deprecated: use dataSource. Alias for selecting the in-band or OOB data source; when both parameters are supplied, their values must match.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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"`
// AgentUUIDs Exact, case-sensitive match against agent-reported UUIDs. Repeat the parameter to match any supplied value. Applies to in-band and active in-band identities in the combined basic view; rejected for dataSource=oob. Omitted or empty array means no filter.
AgentUUIDs *[]string `form:"agentUUIDs,omitempty" json:"agentUUIDs,omitempty"`
// SystemUUIDs Match any supplied system UUID in the selected source inventory: in-band system UUID or any OOB system UUID. Combined basic view matches either active source. Repeat the parameter for multiple values. Omitted or empty array means no filter.
SystemUUIDs *[]string `form:"systemUUIDs,omitempty" json:"systemUUIDs,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 from the selected source, or the shared GPU info in combined basic view. Empty means all GPU types.
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// GpuCounts Filter by GPU count values from the selected source, or the shared GPU info in combined basic view. Empty means all GPU counts.
GpuCounts *[]int `form:"gpuCounts,omitempty" json:"gpuCounts,omitempty"`
// PublicIPs Filter by public IP addresses in the in-band view. Empty means all public IPs; rejected for OOB and combined views.
PublicIPs *[]string `form:"publicIPs,omitempty" json:"publicIPs,omitempty"`
// PrivateIPs Filter by private IP addresses in the in-band view. Empty means all private IPs; rejected for OOB and combined views.
PrivateIPs *[]string `form:"privateIPs,omitempty" json:"privateIPs,omitempty"`
// VerificationChecks Filter by verification-check status. Verified matches every passed result (Full Attestation, Partial Attestation, Verified) and Unverified every failed result (Verification Failed, Unverified). Takes precedence when both verificationChecks and deprecated integrityChecks are supplied.
VerificationChecks *[]ModelsVerificationCheck `form:"verificationChecks,omitempty" json:"verificationChecks,omitempty"`
// IntegrityChecks Deprecated: use verificationChecks.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 for the selected dataSource. Healthy liveness is Online; every other, missing, or unrecognized liveness value is Offline.
AgentStatuses *[]ModelsAgentStatus `form:"agentStatuses,omitempty" json:"agentStatuses,omitempty"`
// Search Case-insensitive substring search across nodeUUID and source-appropriate node identity fields. Searches nodeUUID or hostname for dataSource=inband; nodeUUID, nodeName, or bmcMac for dataSource=oob; and nodeUUID plus all three identities for the combined basic view (view=basic with both source parameters omitted). Leading and trailing whitespace is ignored; blank means no search.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Hostname Filter by the in-band OS hostname (case-insensitive partial match). Applies to the in-band view and to active in-band identities in the combined basic view; rejected for dataSource=oob.
Hostname *string `form:"hostname,omitempty" json:"hostname,omitempty"`
// NodeName Filter by the configured node name (case-insensitive partial match). Applies to the OOB view (dataSource=oob) and the combined basic view; rejected for the in-band view.
NodeName *string `form:"nodeName,omitempty" json:"nodeName,omitempty"`
// BmcMac Filter by BMC MAC identifier (case-insensitive partial match). Applies to the OOB view (dataSource=oob) and the combined basic view; rejected for the in-band view.
BmcMac *string `form:"bmcMac,omitempty" json:"bmcMac,omitempty"`
// SortBy Field to sort by. Use verificationCheck; integrityCheck remains a deprecated alias. Defaults to hostname (in-band view) or bmcMac (OOB view). nodeName and bmcMac apply only to OOB-capable views; the in-band-only GPU firmware/kernel/driver/agentVersion keys apply only to the in-band view. Combined basic view supports only hostname, nodeName, bmcMac, nodeUUID, nodeGroup, computeZone, gpuType, and gpuCount, matching its filterable fields. A key not valid for the selected dataSource is rejected. 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 ¶ added in v1.1.0
type GetV1NodesParamsAgentType string
GetV1NodesParamsAgentType defines parameters for GetV1Nodes.
const ( GetV1NodesParamsAgentTypeInband GetV1NodesParamsAgentType = "inband" GetV1NodesParamsAgentTypeOob GetV1NodesParamsAgentType = "oob" )
Defines values for GetV1NodesParamsAgentType.
func (GetV1NodesParamsAgentType) Valid ¶ added in v1.1.0
func (e GetV1NodesParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsAgentType enum.
type GetV1NodesParamsDataSource ¶
type GetV1NodesParamsDataSource string
GetV1NodesParamsDataSource defines parameters for GetV1Nodes.
const ( GetV1NodesParamsDataSourceInband GetV1NodesParamsDataSource = "inband" GetV1NodesParamsDataSourceOob GetV1NodesParamsDataSource = "oob" )
Defines values for GetV1NodesParamsDataSource.
func (GetV1NodesParamsDataSource) Valid ¶
func (e GetV1NodesParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1NodesParamsDataSource 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" GetV1NodesParamsSortByBmcMac GetV1NodesParamsSortBy = "bmcMac" 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" GetV1NodesParamsSortByNodeName GetV1NodesParamsSortBy = "nodeName" GetV1NodesParamsSortByNodeUUID GetV1NodesParamsSortBy = "nodeUUID" GetV1NodesParamsSortByNodegroup GetV1NodesParamsSortBy = "nodegroup" GetV1NodesParamsSortByVerificationCheck GetV1NodesParamsSortBy = "verificationCheck" )
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 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NodesResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetJSON200() *GetV1Nodes200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NodesResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NodesResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NodesResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NodesResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NodesResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NodesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NodesResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NotificationDeliveryLogResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetJSON200() *ModelsDeliveryLogResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NotificationDeliveryLogResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NotificationDeliveryLogResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NotificationPreferenceByIDResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetJSON200() *ModelsNotificationPreferenceDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NotificationPreferenceByIDResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1NotificationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1NotificationPreferencesResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1NotificationPreferencesResponse) GetJSON200() *ModelsListNotificationPreferencesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1NotificationPreferencesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1NotificationPreferencesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1NotificationPreferencesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1NotificationPreferencesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1NotificationPreferencesResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1OverviewResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetJSON200() *ModelsOverviewResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1OverviewResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1OverviewResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1OverviewResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1OverviewResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1OverviewResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1OverviewResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1OverviewResponse) GetJSON503 ¶ added in v1.1.0
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 GetV1PredictedHealthRankingsParams ¶
type GetV1PredictedHealthRankingsParams struct {
// RankUnit Ranking unit; rack uses the reported chassis serial number
RankUnit *GetV1PredictedHealthRankingsParamsRankUnit `form:"rankUnit,omitempty" json:"rankUnit,omitempty"`
// Aggregation Required for domain or rack ranking. max uses the highest usable member risk score; nthMax uses the Nth highest; mean averages usable scores; countAbove counts scores strictly above threshold. Lower aggregate values rank first
Aggregation *GetV1PredictedHealthRankingsParamsAggregation `form:"aggregation,omitempty" json:"aggregation,omitempty"`
// AggregationN Positive member position; required only for nthMax
AggregationN *int `form:"aggregationN,omitempty" json:"aggregationN,omitempty"`
// Threshold Finite score threshold; required only for countAbove; counts values strictly above it
Threshold *float32 `form:"threshold,omitempty" json:"threshold,omitempty"`
// MissingScorePolicy Domain or rack ranking only: ignore unusable scores or require every selected member
MissingScorePolicy *GetV1PredictedHealthRankingsParamsMissingScorePolicy `form:"missingScorePolicy,omitempty" json:"missingScorePolicy,omitempty"`
// NodeUUIDs Node UUIDs defining the scope
NodeUUIDs *[]string `form:"nodeUUIDs,omitempty" json:"nodeUUIDs,omitempty"`
// NodeGroupIds Node group IDs defining the scope
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Compute zone IDs defining the scope
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// NvlinkDomainIds NVLink domain UUIDs defining the node scope
NvlinkDomainIds *[]string `form:"nvlinkDomainIds,omitempty" json:"nvlinkDomainIds,omitempty"`
// ChassisSNs Case-sensitive chassis serial numbers defining the node scope
ChassisSNs *[]string `form:"chassisSNs,omitempty" json:"chassisSNs,omitempty"`
// Tags Tags defining the scope
Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`
// TagMatch Tag matching rule; requires tags
TagMatch *GetV1PredictedHealthRankingsParamsTagMatch `form:"tagMatch,omitempty" json:"tagMatch,omitempty"`
// ExcludeNodeUUIDs Remove these nodes before ranking
ExcludeNodeUUIDs *[]string `form:"excludeNodeUUIDs,omitempty" json:"excludeNodeUUIDs,omitempty"`
// ReturnNvlinkDomainIds Return these domains or their nodes; preserve full scope ranks, deciles and counts
ReturnNvlinkDomainIds *[]string `form:"returnNvlinkDomainIds,omitempty" json:"returnNvlinkDomainIds,omitempty"`
// ReturnChassisSNs Return these racks or their nodes; preserve full scope ranks, deciles and counts. Requires rankUnit=node or rack
ReturnChassisSNs *[]string `form:"returnChassisSNs,omitempty" json:"returnChassisSNs,omitempty"`
// ReturnNodeUUIDs Node ranking only: return these nodes with their ranks in the full scope
ReturnNodeUUIDs *[]string `form:"returnNodeUUIDs,omitempty" json:"returnNodeUUIDs,omitempty"`
// ReturnTags Node ranking only: return nodes with any matching inventory tag; preserve full scope ranks, deciles and counts
ReturnTags *[]string `form:"returnTags,omitempty" json:"returnTags,omitempty"`
// HealthStatuses Node ranking only: return nodes matching current inventory health; case-insensitive
HealthStatuses *[]GetV1PredictedHealthRankingsParamsHealthStatuses `form:"healthStatuses,omitempty" json:"healthStatuses,omitempty"`
// AgentStatuses Node ranking only: filter by in-band agent status; case-insensitive. Missing status is Offline. Omitted or both statuses include all nodes. Preserves full-scope ranks, deciles and coverage counts
AgentStatuses *[]ModelsAgentStatus `form:"agentStatuses,omitempty" json:"agentStatuses,omitempty"`
// MaxRank Return rank <= maxRank; excludes unranked nodes
MaxRank *int `form:"maxRank,omitempty" json:"maxRank,omitempty"`
// Deciles Return rank deciles 1-10; null deciles do not match. Deciles are null when the full comparison scope has fewer than 10 ranked items
Deciles *[]int `form:"deciles,omitempty" json:"deciles,omitempty"`
// Order Display order; ranks stay the same and unranked nodes stay last
Order *GetV1PredictedHealthRankingsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// Page Page number, starting at zero
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Page size
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
GetV1PredictedHealthRankingsParams defines parameters for GetV1PredictedHealthRankings.
type GetV1PredictedHealthRankingsParamsAggregation ¶
type GetV1PredictedHealthRankingsParamsAggregation string
GetV1PredictedHealthRankingsParamsAggregation defines parameters for GetV1PredictedHealthRankings.
const ( CountAbove GetV1PredictedHealthRankingsParamsAggregation = "countAbove" Max GetV1PredictedHealthRankingsParamsAggregation = "max" Mean GetV1PredictedHealthRankingsParamsAggregation = "mean" NthMax GetV1PredictedHealthRankingsParamsAggregation = "nthMax" )
Defines values for GetV1PredictedHealthRankingsParamsAggregation.
func (GetV1PredictedHealthRankingsParamsAggregation) Valid ¶
func (e GetV1PredictedHealthRankingsParamsAggregation) Valid() bool
Valid indicates whether the value is a known member of the GetV1PredictedHealthRankingsParamsAggregation enum.
type GetV1PredictedHealthRankingsParamsHealthStatuses ¶
type GetV1PredictedHealthRankingsParamsHealthStatuses string
GetV1PredictedHealthRankingsParamsHealthStatuses defines parameters for GetV1PredictedHealthRankings.
const ( GetV1PredictedHealthRankingsParamsHealthStatusesDegraded GetV1PredictedHealthRankingsParamsHealthStatuses = "Degraded" GetV1PredictedHealthRankingsParamsHealthStatusesHealthy GetV1PredictedHealthRankingsParamsHealthStatuses = "Healthy" GetV1PredictedHealthRankingsParamsHealthStatusesUnhealthy GetV1PredictedHealthRankingsParamsHealthStatuses = "Unhealthy" GetV1PredictedHealthRankingsParamsHealthStatusesUnknown GetV1PredictedHealthRankingsParamsHealthStatuses = "Unknown" )
Defines values for GetV1PredictedHealthRankingsParamsHealthStatuses.
func (GetV1PredictedHealthRankingsParamsHealthStatuses) Valid ¶
func (e GetV1PredictedHealthRankingsParamsHealthStatuses) Valid() bool
Valid indicates whether the value is a known member of the GetV1PredictedHealthRankingsParamsHealthStatuses enum.
type GetV1PredictedHealthRankingsParamsMissingScorePolicy ¶
type GetV1PredictedHealthRankingsParamsMissingScorePolicy string
GetV1PredictedHealthRankingsParamsMissingScorePolicy defines parameters for GetV1PredictedHealthRankings.
const ( Ignore GetV1PredictedHealthRankingsParamsMissingScorePolicy = "ignore" RequireAll GetV1PredictedHealthRankingsParamsMissingScorePolicy = "requireAll" )
Defines values for GetV1PredictedHealthRankingsParamsMissingScorePolicy.
func (GetV1PredictedHealthRankingsParamsMissingScorePolicy) Valid ¶
func (e GetV1PredictedHealthRankingsParamsMissingScorePolicy) Valid() bool
Valid indicates whether the value is a known member of the GetV1PredictedHealthRankingsParamsMissingScorePolicy enum.
type GetV1PredictedHealthRankingsParamsOrder ¶
type GetV1PredictedHealthRankingsParamsOrder string
GetV1PredictedHealthRankingsParamsOrder defines parameters for GetV1PredictedHealthRankings.
const ( BestFirst GetV1PredictedHealthRankingsParamsOrder = "bestFirst" WorstFirst GetV1PredictedHealthRankingsParamsOrder = "worstFirst" )
Defines values for GetV1PredictedHealthRankingsParamsOrder.
func (GetV1PredictedHealthRankingsParamsOrder) Valid ¶
func (e GetV1PredictedHealthRankingsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1PredictedHealthRankingsParamsOrder enum.
type GetV1PredictedHealthRankingsParamsRankUnit ¶
type GetV1PredictedHealthRankingsParamsRankUnit string
GetV1PredictedHealthRankingsParamsRankUnit defines parameters for GetV1PredictedHealthRankings.
const ( GetV1PredictedHealthRankingsParamsRankUnitNode GetV1PredictedHealthRankingsParamsRankUnit = "node" GetV1PredictedHealthRankingsParamsRankUnitNvlinkDomain GetV1PredictedHealthRankingsParamsRankUnit = "nvlinkDomain" GetV1PredictedHealthRankingsParamsRankUnitRack GetV1PredictedHealthRankingsParamsRankUnit = "rack" )
Defines values for GetV1PredictedHealthRankingsParamsRankUnit.
func (GetV1PredictedHealthRankingsParamsRankUnit) Valid ¶
func (e GetV1PredictedHealthRankingsParamsRankUnit) Valid() bool
Valid indicates whether the value is a known member of the GetV1PredictedHealthRankingsParamsRankUnit enum.
type GetV1PredictedHealthRankingsParamsTagMatch ¶
type GetV1PredictedHealthRankingsParamsTagMatch string
GetV1PredictedHealthRankingsParamsTagMatch defines parameters for GetV1PredictedHealthRankings.
const ( GetV1PredictedHealthRankingsParamsTagMatchAll GetV1PredictedHealthRankingsParamsTagMatch = "all" GetV1PredictedHealthRankingsParamsTagMatchAny GetV1PredictedHealthRankingsParamsTagMatch = "any" )
Defines values for GetV1PredictedHealthRankingsParamsTagMatch.
func (GetV1PredictedHealthRankingsParamsTagMatch) Valid ¶
func (e GetV1PredictedHealthRankingsParamsTagMatch) Valid() bool
Valid indicates whether the value is a known member of the GetV1PredictedHealthRankingsParamsTagMatch enum.
type GetV1PredictedHealthRankingsResponse ¶
type GetV1PredictedHealthRankingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsPredictedHealthRankingsResponse
// 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
// JSON501 the response for an HTTP 501 `application/json` response
JSON501 *ModelsErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ModelsErrorResponse
}
func ParseGetV1PredictedHealthRankingsResponse ¶
func ParseGetV1PredictedHealthRankingsResponse(rsp *http.Response) (*GetV1PredictedHealthRankingsResponse, error)
ParseGetV1PredictedHealthRankingsResponse parses an HTTP response from a GetV1PredictedHealthRankingsWithResponse call
func (GetV1PredictedHealthRankingsResponse) ContentType ¶
func (r GetV1PredictedHealthRankingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1PredictedHealthRankingsResponse) GetBody ¶
func (r GetV1PredictedHealthRankingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1PredictedHealthRankingsResponse) GetJSON200 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON200() *ModelsPredictedHealthRankingsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON400 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON401 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON403 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON499 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON500 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON501 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON501() *ModelsErrorResponse
GetJSON501 returns the response for an HTTP 501 `application/json` response
func (GetV1PredictedHealthRankingsResponse) GetJSON503 ¶
func (r GetV1PredictedHealthRankingsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1PredictedHealthRankingsResponse) Status ¶
func (r GetV1PredictedHealthRankingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1PredictedHealthRankingsResponse) StatusCode ¶
func (r GetV1PredictedHealthRankingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ReportsError200JSONResponseBody ¶
type GetV1ReportsError200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1ReportsError200JSONResponseBody defines parameters for GetV1ReportsError.
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) 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) 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 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 Fatal, Critical, and Warning
Severities *[]ModelsErrorSeverity `form:"severities,omitempty" json:"severities,omitempty"`
// DataSource Event source. Omitted defaults to inband
DataSource *GetV1ReportsErrorParamsDataSource `form:"dataSource,omitempty" json:"dataSource,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 GetV1ReportsErrorParamsDataSource ¶
type GetV1ReportsErrorParamsDataSource string
GetV1ReportsErrorParamsDataSource defines parameters for GetV1ReportsError.
const ( GetV1ReportsErrorParamsDataSourceInband GetV1ReportsErrorParamsDataSource = "inband" GetV1ReportsErrorParamsDataSourceOob GetV1ReportsErrorParamsDataSource = "oob" )
Defines values for GetV1ReportsErrorParamsDataSource.
func (GetV1ReportsErrorParamsDataSource) Valid ¶
func (e GetV1ReportsErrorParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsErrorParamsDataSource enum.
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 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsErrorResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetJSON200() *GetV1ReportsError200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1ReportsErrorResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsErrorResponse) GetJSON503 ¶ added in v1.1.0
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) AsModelsInbandInventoryReportResponse ¶ added in v1.1.0
func (t GetV1ReportsInventory200JSONResponseBody) AsModelsInbandInventoryReportResponse() (ModelsInbandInventoryReportResponse, error)
AsModelsInbandInventoryReportResponse returns the union data inside the GetV1ReportsInventory200JSONResponseBody as a ModelsInbandInventoryReportResponse
func (GetV1ReportsInventory200JSONResponseBody) AsModelsOobInventoryReportResponse ¶ added in v1.1.0
func (t GetV1ReportsInventory200JSONResponseBody) AsModelsOobInventoryReportResponse() (ModelsOobInventoryReportResponse, error)
AsModelsOobInventoryReportResponse returns the union data inside the GetV1ReportsInventory200JSONResponseBody as a ModelsOobInventoryReportResponse
func (*GetV1ReportsInventory200JSONResponseBody) FromModelsInbandInventoryReportResponse ¶ added in v1.1.0
func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsInbandInventoryReportResponse(v ModelsInbandInventoryReportResponse) error
FromModelsInbandInventoryReportResponse overwrites any union data inside the GetV1ReportsInventory200JSONResponseBody as the provided ModelsInbandInventoryReportResponse
func (*GetV1ReportsInventory200JSONResponseBody) FromModelsOobInventoryReportResponse ¶ added in v1.1.0
func (t *GetV1ReportsInventory200JSONResponseBody) FromModelsOobInventoryReportResponse(v ModelsOobInventoryReportResponse) error
FromModelsOobInventoryReportResponse overwrites any union data inside the GetV1ReportsInventory200JSONResponseBody as the provided ModelsOobInventoryReportResponse
func (GetV1ReportsInventory200JSONResponseBody) MarshalJSON ¶
func (t GetV1ReportsInventory200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1ReportsInventory200JSONResponseBody) MergeModelsInbandInventoryReportResponse ¶ added in v1.1.0
func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsInbandInventoryReportResponse(v ModelsInbandInventoryReportResponse) error
MergeModelsInbandInventoryReportResponse performs a merge with any union data inside the GetV1ReportsInventory200JSONResponseBody, using the provided ModelsInbandInventoryReportResponse
func (*GetV1ReportsInventory200JSONResponseBody) MergeModelsOobInventoryReportResponse ¶ added in v1.1.0
func (t *GetV1ReportsInventory200JSONResponseBody) MergeModelsOobInventoryReportResponse(v ModelsOobInventoryReportResponse) error
MergeModelsOobInventoryReportResponse performs a merge with any union data inside the GetV1ReportsInventory200JSONResponseBody, using the provided ModelsOobInventoryReportResponse
func (*GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1ReportsInventory200JSONResponseBody) UnmarshalJSON(b []byte) error
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"`
// DataSource Inventory source: inband (default) or oob. The JSON and CSV fields are source-specific.
DataSource *GetV1ReportsInventoryParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// AgentType Deprecated: use dataSource. When both parameters are supplied, their values must match.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *GetV1ReportsInventoryParamsAgentType `form:"agentType,omitempty" json:"agentType,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. In-band fields: hostname, publicIP, privateIP. OOB fields: nodeName, bmcMac, bmcIP. Shared fields: nodeUUID, nodeGroup, computeZone, gpuType, gpuCount, verificationCheck, location. integrityCheck and geoLocation remain deprecated aliases. Defaults to hostname for inband and bmcMac for oob.
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 GetV1ReportsInventoryParamsAgentType ¶ added in v1.1.0
type GetV1ReportsInventoryParamsAgentType string
GetV1ReportsInventoryParamsAgentType defines parameters for GetV1ReportsInventory.
const ( GetV1ReportsInventoryParamsAgentTypeInband GetV1ReportsInventoryParamsAgentType = "inband" GetV1ReportsInventoryParamsAgentTypeOob GetV1ReportsInventoryParamsAgentType = "oob" )
Defines values for GetV1ReportsInventoryParamsAgentType.
func (GetV1ReportsInventoryParamsAgentType) Valid ¶ added in v1.1.0
func (e GetV1ReportsInventoryParamsAgentType) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsAgentType enum.
type GetV1ReportsInventoryParamsDataSource ¶
type GetV1ReportsInventoryParamsDataSource string
GetV1ReportsInventoryParamsDataSource defines parameters for GetV1ReportsInventory.
const ( GetV1ReportsInventoryParamsDataSourceInband GetV1ReportsInventoryParamsDataSource = "inband" GetV1ReportsInventoryParamsDataSourceOob GetV1ReportsInventoryParamsDataSource = "oob" )
Defines values for GetV1ReportsInventoryParamsDataSource.
func (GetV1ReportsInventoryParamsDataSource) Valid ¶
func (e GetV1ReportsInventoryParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsInventoryParamsDataSource enum.
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 ( GetV1ReportsInventoryParamsSortByBmcIP GetV1ReportsInventoryParamsSortBy = "bmcIP" GetV1ReportsInventoryParamsSortByBmcMac GetV1ReportsInventoryParamsSortBy = "bmcMac" GetV1ReportsInventoryParamsSortByComputeZone GetV1ReportsInventoryParamsSortBy = "computeZone" GetV1ReportsInventoryParamsSortByGeoLocation GetV1ReportsInventoryParamsSortBy = "geoLocation" GetV1ReportsInventoryParamsSortByGpuCount GetV1ReportsInventoryParamsSortBy = "gpuCount" GetV1ReportsInventoryParamsSortByGpuType GetV1ReportsInventoryParamsSortBy = "gpuType" GetV1ReportsInventoryParamsSortByHostname GetV1ReportsInventoryParamsSortBy = "hostname" GetV1ReportsInventoryParamsSortByIntegrityCheck GetV1ReportsInventoryParamsSortBy = "integrityCheck" GetV1ReportsInventoryParamsSortByLocation GetV1ReportsInventoryParamsSortBy = "location" GetV1ReportsInventoryParamsSortByNodeGroup GetV1ReportsInventoryParamsSortBy = "nodeGroup" GetV1ReportsInventoryParamsSortByNodeName GetV1ReportsInventoryParamsSortBy = "nodeName" GetV1ReportsInventoryParamsSortByNodeUUID GetV1ReportsInventoryParamsSortBy = "nodeUUID" GetV1ReportsInventoryParamsSortByPrivateIP GetV1ReportsInventoryParamsSortBy = "privateIP" GetV1ReportsInventoryParamsSortByPublicIP GetV1ReportsInventoryParamsSortBy = "publicIP" GetV1ReportsInventoryParamsSortByVerificationCheck GetV1ReportsInventoryParamsSortBy = "verificationCheck" )
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 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsInventoryResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetJSON200() *GetV1ReportsInventory200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1ReportsInventoryResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsInventoryResponse) GetJSON503 ¶ added in v1.1.0
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 GetV1ReportsSecurityVulnerabilities200JSONResponseBody ¶
type GetV1ReportsSecurityVulnerabilities200JSONResponseBody struct {
// contains filtered or unexported fields
}
GetV1ReportsSecurityVulnerabilities200JSONResponseBody defines parameters for GetV1ReportsSecurityVulnerabilities.
func (GetV1ReportsSecurityVulnerabilities200JSONResponseBody) AsGetV1ReportsSecurityVulnerabilities200JSONResponseBody1 ¶
func (t GetV1ReportsSecurityVulnerabilities200JSONResponseBody) AsGetV1ReportsSecurityVulnerabilities200JSONResponseBody1() (GetV1ReportsSecurityVulnerabilities200JSONResponseBody1, error)
AsGetV1ReportsSecurityVulnerabilities200JSONResponseBody1 returns the union data inside the GetV1ReportsSecurityVulnerabilities200JSONResponseBody as a GetV1ReportsSecurityVulnerabilities200JSONResponseBody1
func (GetV1ReportsSecurityVulnerabilities200JSONResponseBody) AsModelsSecurityVulnerabilitiesResponse ¶
func (t GetV1ReportsSecurityVulnerabilities200JSONResponseBody) AsModelsSecurityVulnerabilitiesResponse() (ModelsSecurityVulnerabilitiesResponse, error)
AsModelsSecurityVulnerabilitiesResponse returns the union data inside the GetV1ReportsSecurityVulnerabilities200JSONResponseBody as a ModelsSecurityVulnerabilitiesResponse
func (*GetV1ReportsSecurityVulnerabilities200JSONResponseBody) FromGetV1ReportsSecurityVulnerabilities200JSONResponseBody1 ¶
func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) FromGetV1ReportsSecurityVulnerabilities200JSONResponseBody1(v GetV1ReportsSecurityVulnerabilities200JSONResponseBody1) error
FromGetV1ReportsSecurityVulnerabilities200JSONResponseBody1 overwrites any union data inside the GetV1ReportsSecurityVulnerabilities200JSONResponseBody as the provided GetV1ReportsSecurityVulnerabilities200JSONResponseBody1
func (*GetV1ReportsSecurityVulnerabilities200JSONResponseBody) FromModelsSecurityVulnerabilitiesResponse ¶
func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) FromModelsSecurityVulnerabilitiesResponse(v ModelsSecurityVulnerabilitiesResponse) error
FromModelsSecurityVulnerabilitiesResponse overwrites any union data inside the GetV1ReportsSecurityVulnerabilities200JSONResponseBody as the provided ModelsSecurityVulnerabilitiesResponse
func (GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MarshalJSON ¶
func (t GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MergeGetV1ReportsSecurityVulnerabilities200JSONResponseBody1 ¶
func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MergeGetV1ReportsSecurityVulnerabilities200JSONResponseBody1(v GetV1ReportsSecurityVulnerabilities200JSONResponseBody1) error
MergeGetV1ReportsSecurityVulnerabilities200JSONResponseBody1 performs a merge with any union data inside the GetV1ReportsSecurityVulnerabilities200JSONResponseBody, using the provided GetV1ReportsSecurityVulnerabilities200JSONResponseBody1
func (*GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MergeModelsSecurityVulnerabilitiesResponse ¶
func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) MergeModelsSecurityVulnerabilitiesResponse(v ModelsSecurityVulnerabilitiesResponse) error
MergeModelsSecurityVulnerabilitiesResponse performs a merge with any union data inside the GetV1ReportsSecurityVulnerabilities200JSONResponseBody, using the provided ModelsSecurityVulnerabilitiesResponse
func (*GetV1ReportsSecurityVulnerabilities200JSONResponseBody) UnmarshalJSON ¶
func (t *GetV1ReportsSecurityVulnerabilities200JSONResponseBody) UnmarshalJSON(b []byte) error
type GetV1ReportsSecurityVulnerabilities200JSONResponseBody1 ¶
type GetV1ReportsSecurityVulnerabilities200JSONResponseBody1 struct {
// Total Distinct filtered CVE count when countOnly=true.
Total int64 `json:"total"`
}
GetV1ReportsSecurityVulnerabilities200JSONResponseBody1 defines parameters for GetV1ReportsSecurityVulnerabilities.
type GetV1ReportsSecurityVulnerabilitiesParams ¶
type GetV1ReportsSecurityVulnerabilitiesParams struct {
// ComputeZoneIds Zone UUIDs (repeat the key); omitted includes all authorized zones and Unassigned. Maximum 100 values.
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// NodeGroupIds Node-group UUIDs (repeat the key); omitted includes all authorized groups and Unassigned. Maximum 100 values.
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// GpuTypes Resolved GPU types (repeat the key); omitted includes all types, including unknown. Maximum 100 values.
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// Severities Catalog ratings (case-sensitive; repeat the key); omitted includes CRITICAL, HIGH, MEDIUM, and LOW. Maximum 100 values.
Severities *[]ModelsSecurityVulnerabilitySeverity `form:"severities,omitempty" json:"severities,omitempty"`
// ComponentTypes Components (repeat the key); omitted includes both supported components. Maximum 100 values.
ComponentTypes *[]ModelsVulnerabilityComponent `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`
// VulnerabilitySearch Case-insensitive vulnerability ID substring; trimmed. Omitted means no search restriction.
VulnerabilitySearch *string `form:"vulnerabilitySearch,omitempty" json:"vulnerabilitySearch,omitempty"`
// Page Zero-based page; rejected for CSV.
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Rows per JSON page; rejected for CSV.
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// SortBy Sort field. Description and fixVersions are not sortable.
SortBy *GetV1ReportsSecurityVulnerabilitiesParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort direction; ties use vulnerability ascending.
Order *GetV1ReportsSecurityVulnerabilitiesParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// Format JSON page or CSV of all matching vulnerabilities.
Format *GetV1ReportsSecurityVulnerabilitiesParamsFormat `form:"format,omitempty" json:"format,omitempty"`
// CountOnly Return only the distinct filtered CVE total; JSON only, without pagination or sorting parameters.
CountOnly *bool `form:"countOnly,omitempty" json:"countOnly,omitempty"`
}
GetV1ReportsSecurityVulnerabilitiesParams defines parameters for GetV1ReportsSecurityVulnerabilities.
type GetV1ReportsSecurityVulnerabilitiesParamsFormat ¶
type GetV1ReportsSecurityVulnerabilitiesParamsFormat string
GetV1ReportsSecurityVulnerabilitiesParamsFormat defines parameters for GetV1ReportsSecurityVulnerabilities.
const ( GetV1ReportsSecurityVulnerabilitiesParamsFormatCsv GetV1ReportsSecurityVulnerabilitiesParamsFormat = "csv" GetV1ReportsSecurityVulnerabilitiesParamsFormatJson GetV1ReportsSecurityVulnerabilitiesParamsFormat = "json" )
Defines values for GetV1ReportsSecurityVulnerabilitiesParamsFormat.
func (GetV1ReportsSecurityVulnerabilitiesParamsFormat) Valid ¶
func (e GetV1ReportsSecurityVulnerabilitiesParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsSecurityVulnerabilitiesParamsFormat enum.
type GetV1ReportsSecurityVulnerabilitiesParamsOrder ¶
type GetV1ReportsSecurityVulnerabilitiesParamsOrder string
GetV1ReportsSecurityVulnerabilitiesParamsOrder defines parameters for GetV1ReportsSecurityVulnerabilities.
const ( GetV1ReportsSecurityVulnerabilitiesParamsOrderAsc GetV1ReportsSecurityVulnerabilitiesParamsOrder = "asc" GetV1ReportsSecurityVulnerabilitiesParamsOrderDesc GetV1ReportsSecurityVulnerabilitiesParamsOrder = "desc" )
Defines values for GetV1ReportsSecurityVulnerabilitiesParamsOrder.
func (GetV1ReportsSecurityVulnerabilitiesParamsOrder) Valid ¶
func (e GetV1ReportsSecurityVulnerabilitiesParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsSecurityVulnerabilitiesParamsOrder enum.
type GetV1ReportsSecurityVulnerabilitiesParamsSortBy ¶
type GetV1ReportsSecurityVulnerabilitiesParamsSortBy string
GetV1ReportsSecurityVulnerabilitiesParamsSortBy defines parameters for GetV1ReportsSecurityVulnerabilities.
const ( GetV1ReportsSecurityVulnerabilitiesParamsSortByAffectedNodes GetV1ReportsSecurityVulnerabilitiesParamsSortBy = "affectedNodes" GetV1ReportsSecurityVulnerabilitiesParamsSortByComponent GetV1ReportsSecurityVulnerabilitiesParamsSortBy = "component" GetV1ReportsSecurityVulnerabilitiesParamsSortBySeverity GetV1ReportsSecurityVulnerabilitiesParamsSortBy = "severity" GetV1ReportsSecurityVulnerabilitiesParamsSortByVulnerability GetV1ReportsSecurityVulnerabilitiesParamsSortBy = "vulnerability" )
Defines values for GetV1ReportsSecurityVulnerabilitiesParamsSortBy.
func (GetV1ReportsSecurityVulnerabilitiesParamsSortBy) Valid ¶
func (e GetV1ReportsSecurityVulnerabilitiesParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsSecurityVulnerabilitiesParamsSortBy enum.
type GetV1ReportsSecurityVulnerabilitiesResponse ¶
type GetV1ReportsSecurityVulnerabilitiesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetV1ReportsSecurityVulnerabilities200JSONResponseBody
// 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
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetV1ReportsSecurityVulnerabilitiesResponse200Headers
}
func ParseGetV1ReportsSecurityVulnerabilitiesResponse ¶
func ParseGetV1ReportsSecurityVulnerabilitiesResponse(rsp *http.Response) (*GetV1ReportsSecurityVulnerabilitiesResponse, error)
ParseGetV1ReportsSecurityVulnerabilitiesResponse parses an HTTP response from a GetV1ReportsSecurityVulnerabilitiesWithResponse call
func (GetV1ReportsSecurityVulnerabilitiesResponse) ContentType ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetBody ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON200 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON200() *GetV1ReportsSecurityVulnerabilities200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON400 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON401 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON403 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON499 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON500 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON503 ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1ReportsSecurityVulnerabilitiesResponse) Status ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ReportsSecurityVulnerabilitiesResponse) StatusCode ¶
func (r GetV1ReportsSecurityVulnerabilitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ReportsSecurityVulnerabilitiesResponse200Headers ¶
type GetV1ReportsSecurityVulnerabilitiesResponse200Headers struct {
ContentDisposition *string
XTotalCount *int
}
GetV1ReportsSecurityVulnerabilitiesResponse200Headers the declared response headers of an HTTP 200 response for GetV1ReportsSecurityVulnerabilities
type GetV1ReportsSecurityVulnerabilityNodesParams ¶
type GetV1ReportsSecurityVulnerabilityNodesParams struct {
// ComputeZoneIds Zone UUIDs (repeat the key); omitted includes all authorized zones and Unassigned. Maximum 100 values.
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// NodeGroupIds Node-group UUIDs (repeat the key); omitted includes all authorized groups and Unassigned. Maximum 100 values.
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// GpuTypes Resolved GPU types (repeat the key); omitted includes all types, including unknown. Maximum 100 values.
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// Severities Catalog ratings (case-sensitive; repeat the key); omitted includes all supported ratings. Maximum 100 values.
Severities *[]ModelsSecurityVulnerabilitySeverity `form:"severities,omitempty" json:"severities,omitempty"`
// ComponentTypes Components (repeat the key); omitted includes both supported components. Maximum 100 values.
ComponentTypes *[]ModelsVulnerabilityComponent `form:"componentTypes,omitempty" json:"componentTypes,omitempty"`
// VulnerabilitySearch Case-insensitive vulnerability ID substring, also applied to the selected vulnerability. Omitted means no search restriction.
VulnerabilitySearch *string `form:"vulnerabilitySearch,omitempty" json:"vulnerabilitySearch,omitempty"`
// Format CSV only; JSON is not supported.
Format *GetV1ReportsSecurityVulnerabilityNodesParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}
GetV1ReportsSecurityVulnerabilityNodesParams defines parameters for GetV1ReportsSecurityVulnerabilityNodes.
type GetV1ReportsSecurityVulnerabilityNodesParamsFormat ¶
type GetV1ReportsSecurityVulnerabilityNodesParamsFormat string
GetV1ReportsSecurityVulnerabilityNodesParamsFormat defines parameters for GetV1ReportsSecurityVulnerabilityNodes.
const (
GetV1ReportsSecurityVulnerabilityNodesParamsFormatCsv GetV1ReportsSecurityVulnerabilityNodesParamsFormat = "csv"
)
Defines values for GetV1ReportsSecurityVulnerabilityNodesParamsFormat.
func (GetV1ReportsSecurityVulnerabilityNodesParamsFormat) Valid ¶
func (e GetV1ReportsSecurityVulnerabilityNodesParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the GetV1ReportsSecurityVulnerabilityNodesParamsFormat enum.
type GetV1ReportsSecurityVulnerabilityNodesResponse ¶
type GetV1ReportsSecurityVulnerabilityNodesResponse 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
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetV1ReportsSecurityVulnerabilityNodesResponse200Headers
}
func ParseGetV1ReportsSecurityVulnerabilityNodesResponse ¶
func ParseGetV1ReportsSecurityVulnerabilityNodesResponse(rsp *http.Response) (*GetV1ReportsSecurityVulnerabilityNodesResponse, error)
ParseGetV1ReportsSecurityVulnerabilityNodesResponse parses an HTTP response from a GetV1ReportsSecurityVulnerabilityNodesWithResponse call
func (GetV1ReportsSecurityVulnerabilityNodesResponse) ContentType ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetBody ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON400 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON401 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON403 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON404 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON499 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON500 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON503 ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1ReportsSecurityVulnerabilityNodesResponse) Status ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ReportsSecurityVulnerabilityNodesResponse) StatusCode ¶
func (r GetV1ReportsSecurityVulnerabilityNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ReportsSecurityVulnerabilityNodesResponse200Headers ¶
type GetV1ReportsSecurityVulnerabilityNodesResponse200Headers struct {
ContentDisposition *string
XTotalCount *int
}
GetV1ReportsSecurityVulnerabilityNodesResponse200Headers the declared response headers of an HTTP 200 response for GetV1ReportsSecurityVulnerabilityNodes
type GetV1ReportsSecurityVulnerabilityOptionsResponse ¶
type GetV1ReportsSecurityVulnerabilityOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsSecurityVulnerabilityOptionsResponse
// 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
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *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 ParseGetV1ReportsSecurityVulnerabilityOptionsResponse ¶
func ParseGetV1ReportsSecurityVulnerabilityOptionsResponse(rsp *http.Response) (*GetV1ReportsSecurityVulnerabilityOptionsResponse, error)
ParseGetV1ReportsSecurityVulnerabilityOptionsResponse parses an HTTP response from a GetV1ReportsSecurityVulnerabilityOptionsWithResponse call
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) ContentType ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetBody ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON200 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON200() *ModelsSecurityVulnerabilityOptionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON400 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON401 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON403 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON422 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON422() *ModelsErrorResponse
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON499 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON500 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON503 ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) Status ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ReportsSecurityVulnerabilityOptionsResponse) StatusCode ¶
func (r GetV1ReportsSecurityVulnerabilityOptionsResponse) 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 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1RetentionPolicyResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetJSON200() *ModelsGetRetentionPolicyResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1RetentionPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1RetentionPolicyResponse) GetJSON503 ¶ added in v1.1.0
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 GetV1StatsParams ¶
type GetV1StatsParams struct {
// Name The stat to query
Name GetV1StatsParamsName `form:"name" json:"name"`
// DataSource Data source to query. Required for agentStatus.
DataSource *GetV1StatsParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// GroupBy The aggregation level to group stats by
GroupBy GetV1StatsParamsGroupBy `form:"groupBy" json:"groupBy"`
// GroupId Entity ID. Required when groupBy is nodegroup or computezone; omit when groupBy is customer.
GroupId *string `form:"groupId,omitempty" json:"groupId,omitempty"`
// Window Trailing daily window ending at the current server time. Must be a positive whole multiple of 24h and cannot exceed 8760h (365 days); use 240h for 10 days. 'd' is not supported.
Window string `form:"window" json:"window"`
}
GetV1StatsParams defines parameters for GetV1Stats.
type GetV1StatsParamsDataSource ¶
type GetV1StatsParamsDataSource string
GetV1StatsParamsDataSource defines parameters for GetV1Stats.
const ( GetV1StatsParamsDataSourceInband GetV1StatsParamsDataSource = "inband" GetV1StatsParamsDataSourceOob GetV1StatsParamsDataSource = "oob" )
Defines values for GetV1StatsParamsDataSource.
func (GetV1StatsParamsDataSource) Valid ¶
func (e GetV1StatsParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1StatsParamsDataSource enum.
type GetV1StatsParamsGroupBy ¶
type GetV1StatsParamsGroupBy string
GetV1StatsParamsGroupBy defines parameters for GetV1Stats.
const ( GetV1StatsParamsGroupByComputezone GetV1StatsParamsGroupBy = "computezone" GetV1StatsParamsGroupByCustomer GetV1StatsParamsGroupBy = "customer" GetV1StatsParamsGroupByNodegroup GetV1StatsParamsGroupBy = "nodegroup" )
Defines values for GetV1StatsParamsGroupBy.
func (GetV1StatsParamsGroupBy) Valid ¶
func (e GetV1StatsParamsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1StatsParamsGroupBy enum.
type GetV1StatsParamsName ¶
type GetV1StatsParamsName string
GetV1StatsParamsName defines parameters for GetV1Stats.
const (
GetV1StatsParamsNameAgentStatus GetV1StatsParamsName = "agentStatus"
)
Defines values for GetV1StatsParamsName.
func (GetV1StatsParamsName) Valid ¶
func (e GetV1StatsParamsName) Valid() bool
Valid indicates whether the value is a known member of the GetV1StatsParamsName enum.
type GetV1StatsResponse ¶
type GetV1StatsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsStatsResponse
// 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 ParseGetV1StatsResponse ¶
func ParseGetV1StatsResponse(rsp *http.Response) (*GetV1StatsResponse, error)
ParseGetV1StatsResponse parses an HTTP response from a GetV1StatsWithResponse call
func (GetV1StatsResponse) ContentType ¶
func (r GetV1StatsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1StatsResponse) GetBody ¶
func (r GetV1StatsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1StatsResponse) GetJSON200 ¶
func (r GetV1StatsResponse) GetJSON200() *ModelsStatsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1StatsResponse) GetJSON400 ¶
func (r GetV1StatsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1StatsResponse) GetJSON401 ¶
func (r GetV1StatsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1StatsResponse) GetJSON403 ¶
func (r GetV1StatsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1StatsResponse) GetJSON404 ¶
func (r GetV1StatsResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1StatsResponse) GetJSON499 ¶
func (r GetV1StatsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1StatsResponse) GetJSON500 ¶
func (r GetV1StatsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1StatsResponse) GetJSON503 ¶
func (r GetV1StatsResponse) GetJSON503() *ModelsErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1StatsResponse) Status ¶
func (r GetV1StatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1StatsResponse) StatusCode ¶
func (r GetV1StatsResponse) 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 ¶ added in v1.1.0
func (r GetV1TagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1TagsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1TagsResponse) GetJSON200() *ModelsListTagsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1TagsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1TagsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1TagsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1TagsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1TagsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1TagsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1TagsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1TagsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1TagsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func ParseGetV1XIDBurstDetailResponse(rsp *http.Response) (*GetV1XIDBurstDetailResponse, error)
ParseGetV1XIDBurstDetailResponse parses an HTTP response from a GetV1XIDBurstDetailWithResponse call
func (GetV1XIDBurstDetailResponse) ContentType ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1XIDBurstDetailResponse) GetBody ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1XIDBurstDetailResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON200() *ModelsXIDBurstDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON404 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1XIDBurstDetailResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1XIDBurstDetailResponse) Status ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1XIDBurstDetailResponse) StatusCode ¶ added in v1.1.0
func (r GetV1XIDBurstDetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1XIDBurstOptionsParams ¶ added in v1.1.0
type GetV1XIDBurstOptionsParams struct {
// StartTime Optional RFC3339 start time
StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime Optional RFC3339 end time
EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"`
// TimeMode Optional time mode
TimeMode *GetV1XIDBurstOptionsParamsTimeMode `form:"timeMode,omitempty" json:"timeMode,omitempty"`
// Window Optional relative duration window
Window *string `form:"window,omitempty" json:"window,omitempty"`
// NodeGroupIds Node group IDs
NodeGroupIds *[]string `form:"nodeGroupIds,omitempty" json:"nodeGroupIds,omitempty"`
// ComputeZoneIds Compute zone IDs
ComputeZoneIds *[]string `form:"computeZoneIds,omitempty" json:"computeZoneIds,omitempty"`
// ExcludeNodeGroupIds Excluded node group IDs
ExcludeNodeGroupIds *[]string `form:"excludeNodeGroupIds,omitempty" json:"excludeNodeGroupIds,omitempty"`
// ExcludeComputeZoneIds Excluded compute zone IDs
ExcludeComputeZoneIds *[]string `form:"excludeComputeZoneIds,omitempty" json:"excludeComputeZoneIds,omitempty"`
// DataSource Observation source to compute options for, or all for both
DataSource *GetV1XIDBurstOptionsParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
}
GetV1XIDBurstOptionsParams defines parameters for GetV1XIDBurstOptions.
type GetV1XIDBurstOptionsParamsDataSource ¶
type GetV1XIDBurstOptionsParamsDataSource string
GetV1XIDBurstOptionsParamsDataSource defines parameters for GetV1XIDBurstOptions.
const ( GetV1XIDBurstOptionsParamsDataSourceAll GetV1XIDBurstOptionsParamsDataSource = "all" GetV1XIDBurstOptionsParamsDataSourceInband GetV1XIDBurstOptionsParamsDataSource = "inband" GetV1XIDBurstOptionsParamsDataSourceOob GetV1XIDBurstOptionsParamsDataSource = "oob" )
Defines values for GetV1XIDBurstOptionsParamsDataSource.
func (GetV1XIDBurstOptionsParamsDataSource) Valid ¶
func (e GetV1XIDBurstOptionsParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstOptionsParamsDataSource enum.
type GetV1XIDBurstOptionsParamsTimeMode ¶ added in v1.1.0
type GetV1XIDBurstOptionsParamsTimeMode string
GetV1XIDBurstOptionsParamsTimeMode defines parameters for GetV1XIDBurstOptions.
const ( GetV1XIDBurstOptionsParamsTimeModeAbsolute GetV1XIDBurstOptionsParamsTimeMode = "absolute" GetV1XIDBurstOptionsParamsTimeModeRelative GetV1XIDBurstOptionsParamsTimeMode = "relative" )
Defines values for GetV1XIDBurstOptionsParamsTimeMode.
func (GetV1XIDBurstOptionsParamsTimeMode) Valid ¶ added in v1.1.0
func (e GetV1XIDBurstOptionsParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstOptionsParamsTimeMode enum.
type GetV1XIDBurstOptionsResponse ¶ added in v1.1.0
type GetV1XIDBurstOptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelsXIDBurstFilterOptionsResponse
// 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 ParseGetV1XIDBurstOptionsResponse ¶ added in v1.1.0
func ParseGetV1XIDBurstOptionsResponse(rsp *http.Response) (*GetV1XIDBurstOptionsResponse, error)
ParseGetV1XIDBurstOptionsResponse parses an HTTP response from a GetV1XIDBurstOptionsWithResponse call
func (GetV1XIDBurstOptionsResponse) ContentType ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1XIDBurstOptionsResponse) GetBody ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1XIDBurstOptionsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetJSON200() *ModelsXIDBurstFilterOptionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1XIDBurstOptionsResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1XIDBurstOptionsResponse) Status ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1XIDBurstOptionsResponse) StatusCode ¶ added in v1.1.0
func (r GetV1XIDBurstOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1XIDBurstsParams ¶ added in v1.1.0
type GetV1XIDBurstsParams struct {
// DataSource Observation source to list bursts from, or all for both
DataSource *GetV1XIDBurstsParamsDataSource `form:"dataSource,omitempty" json:"dataSource,omitempty"`
// 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"`
// GpuTypes Resolved node GPU types; independent of dataSource
GpuTypes *[]string `form:"gpuTypes,omitempty" json:"gpuTypes,omitempty"`
// NameSearch Case-insensitive substring matched against any of the node's identities: hostname, nodeName, or bmcMac. Takes precedence when both nameSearch and deprecated hostnameSearch are supplied.
NameSearch *string `form:"nameSearch,omitempty" json:"nameSearch,omitempty"`
// HostnameSearch Deprecated: use nameSearch. Identical behavior; it never matched hostname alone.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 GetV1XIDBurstsParamsDataSource ¶
type GetV1XIDBurstsParamsDataSource string
GetV1XIDBurstsParamsDataSource defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsDataSourceAll GetV1XIDBurstsParamsDataSource = "all" GetV1XIDBurstsParamsDataSourceInband GetV1XIDBurstsParamsDataSource = "inband" GetV1XIDBurstsParamsDataSourceOob GetV1XIDBurstsParamsDataSource = "oob" )
Defines values for GetV1XIDBurstsParamsDataSource.
func (GetV1XIDBurstsParamsDataSource) Valid ¶
func (e GetV1XIDBurstsParamsDataSource) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsDataSource enum.
type GetV1XIDBurstsParamsSortBy ¶ added in v1.1.0
type GetV1XIDBurstsParamsSortBy string
GetV1XIDBurstsParamsSortBy defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsSortByBmcMac GetV1XIDBurstsParamsSortBy = "bmcMac" GetV1XIDBurstsParamsSortByBurstDurationSeconds GetV1XIDBurstsParamsSortBy = "burstDurationSeconds" GetV1XIDBurstsParamsSortByCategory GetV1XIDBurstsParamsSortBy = "category" GetV1XIDBurstsParamsSortByComputeZone GetV1XIDBurstsParamsSortBy = "computeZone" GetV1XIDBurstsParamsSortByDataSource GetV1XIDBurstsParamsSortBy = "dataSource" GetV1XIDBurstsParamsSortByDcAdminAction GetV1XIDBurstsParamsSortBy = "dcAdminAction" GetV1XIDBurstsParamsSortByDcAdminInvestigation GetV1XIDBurstsParamsSortBy = "dcAdminInvestigation" GetV1XIDBurstsParamsSortByGpuType GetV1XIDBurstsParamsSortBy = "gpuType" GetV1XIDBurstsParamsSortByHostname GetV1XIDBurstsParamsSortBy = "hostname" GetV1XIDBurstsParamsSortByJobDisruption GetV1XIDBurstsParamsSortBy = "jobDisruption" GetV1XIDBurstsParamsSortByJobDisruptionDueToPlatformIssue GetV1XIDBurstsParamsSortBy = "jobDisruptionDueToPlatformIssue" GetV1XIDBurstsParamsSortByNodeGroup GetV1XIDBurstsParamsSortBy = "nodeGroup" GetV1XIDBurstsParamsSortByNodeName GetV1XIDBurstsParamsSortBy = "nodeName" 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 ¶ added in v1.1.0
func (e GetV1XIDBurstsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsSortBy enum.
type GetV1XIDBurstsParamsSortOrder ¶ added in v1.1.0
type GetV1XIDBurstsParamsSortOrder string
GetV1XIDBurstsParamsSortOrder defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsSortOrderAsc GetV1XIDBurstsParamsSortOrder = "asc" GetV1XIDBurstsParamsSortOrderDesc GetV1XIDBurstsParamsSortOrder = "desc" )
Defines values for GetV1XIDBurstsParamsSortOrder.
func (GetV1XIDBurstsParamsSortOrder) Valid ¶ added in v1.1.0
func (e GetV1XIDBurstsParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsSortOrder enum.
type GetV1XIDBurstsParamsTimeMode ¶ added in v1.1.0
type GetV1XIDBurstsParamsTimeMode string
GetV1XIDBurstsParamsTimeMode defines parameters for GetV1XIDBursts.
const ( GetV1XIDBurstsParamsTimeModeAbsolute GetV1XIDBurstsParamsTimeMode = "absolute" GetV1XIDBurstsParamsTimeModeRelative GetV1XIDBurstsParamsTimeMode = "relative" )
Defines values for GetV1XIDBurstsParamsTimeMode.
func (GetV1XIDBurstsParamsTimeMode) Valid ¶ added in v1.1.0
func (e GetV1XIDBurstsParamsTimeMode) Valid() bool
Valid indicates whether the value is a known member of the GetV1XIDBurstsParamsTimeMode enum.
type GetV1XIDBurstsResponse ¶ added in v1.1.0
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 ¶ added in v1.1.0
func ParseGetV1XIDBurstsResponse(rsp *http.Response) (*GetV1XIDBurstsResponse, error)
ParseGetV1XIDBurstsResponse parses an HTTP response from a GetV1XIDBurstsWithResponse call
func (GetV1XIDBurstsResponse) ContentType ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1XIDBurstsResponse) GetBody ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1XIDBurstsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetJSON200() *ModelsXIDBurstsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON401 ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON403 ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV1XIDBurstsResponse) GetJSON500 ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetV1XIDBurstsResponse) Status ¶ added in v1.1.0
func (r GetV1XIDBurstsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1XIDBurstsResponse) StatusCode ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV2CommandsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2CommandsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV2CommandsResponse) GetJSON200() *ModelsCommandsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2CommandsResponse) GetJSON400 ¶ added in v1.1.0
func (r GetV2CommandsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV2CommandsResponse) GetJSON499 ¶ added in v1.1.0
func (r GetV2CommandsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetV2CommandsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetV2MetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV2MetricsResponse) GetJSON200 ¶ added in v1.1.0
func (r GetV2MetricsResponse) GetJSON200() *ModelsMetricsAggregationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV2MetricsResponse) GetJSON499 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r GetWellKnownSigningKeyPubResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWellKnownSigningKeyPubResponse) GetJSON499 ¶ added in v1.1.0
func (r GetWellKnownSigningKeyPubResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (GetWellKnownSigningKeyPubResponse) GetJSON503 ¶ added in v1.1.0
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" )
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"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
CustomerId *string `json:"customerId,omitempty"`
// DataSource DataSource is the persisted source that produced the alert: inband or oob.
DataSource *string `json:"dataSource,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"`
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 ModelsAlertAgentSourceStatus ¶
type ModelsAlertAgentSourceStatus struct {
LastSeenAt *string `json:"lastSeenAt,omitempty"`
Status *ModelsAlertAgentStatus `json:"status,omitempty"`
}
ModelsAlertAgentSourceStatus defines model for models.AlertAgentSourceStatus.
type ModelsAlertAgentStatus ¶
type ModelsAlertAgentStatus string
ModelsAlertAgentStatus defines model for models.AlertAgentStatus.
const ( AlertAgentStatusNotEnrolled ModelsAlertAgentStatus = "not_enrolled" AlertAgentStatusOffline ModelsAlertAgentStatus = "offline" AlertAgentStatusOnline ModelsAlertAgentStatus = "online" )
Defines values for ModelsAlertAgentStatus.
func (ModelsAlertAgentStatus) Valid ¶
func (e ModelsAlertAgentStatus) Valid() bool
Valid indicates whether the value is a known member of the ModelsAlertAgentStatus enum.
type ModelsAlertAgentStatuses ¶
type ModelsAlertAgentStatuses struct {
Inband *ModelsAlertAgentSourceStatus `json:"inband,omitempty"`
Oob *ModelsAlertAgentSourceStatus `json:"oob,omitempty"`
}
ModelsAlertAgentStatuses AgentStatus contains source-specific liveness and timestamps. Each source's lastSeenAt follows the Nodes API precedence: active liveness alert detectedAt, liveness health-state updatedAt, then its inventory row updatedAt.
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 ModelsAlertTimelineComponent ¶
type ModelsAlertTimelineComponent struct {
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
}
ModelsAlertTimelineComponent defines model for models.AlertTimelineComponent.
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"`
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"`
// 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 {
// AgentStatus AgentStatus contains source-specific liveness and timestamps. Each source's
// lastSeenAt follows the Nodes API precedence: active liveness alert detectedAt,
// liveness health-state updatedAt, then its inventory row updatedAt.
AgentStatus *ModelsAlertAgentStatuses `json:"agentStatus,omitempty"`
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
// ComputeZone Compute zone display name
ComputeZone *string `json:"computeZone,omitempty"`
// CriticalComponents CriticalComponents lists matching active Critical alerts, newest timeline event first.
// Present only for active=true; empty when no matching Critical alerts exist.
CriticalComponents *[]ModelsAlertTimelineComponent `json:"criticalComponents,omitempty"`
// CriticalCount Count of Critical alerts on this node (respects filters and component visibility)
CriticalCount *int `json:"criticalCount,omitempty"`
// GpuType GPUType is the node's resolved GPU product, independent of which source
// produced the alert.
GpuType *string `json:"gpuType,omitempty"`
// HostStatus Deprecated: use criticalCount/warningCount; kept for backward compatibility
HostStatus *string `json:"hostStatus,omitempty"`
// Hostname In-band OS hostname.
Hostname *string `json:"hostname,omitempty"`
LastAlertTime *string `json:"lastAlertTime,omitempty"`
// NodeGroup Node group display name
NodeGroup *string `json:"nodeGroup,omitempty"`
// NodeName OOB collector-configured machine name.
NodeName *string `json:"nodeName,omitempty"`
NodeUuid string `json:"nodeUuid"`
// ResolvedCount Count of Resolved alerts; historical view only (0 when active=true)
ResolvedCount *int `json:"resolvedCount,omitempty"`
// WarningComponents WarningComponents lists matching active Warning alerts, newest timeline event first.
// Present only for active=true; empty when no matching Warning alerts exist.
WarningComponents *[]ModelsAlertTimelineComponent `json:"warningComponents,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"`
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
// DataSource Source that produced the alert: inband or oob.
DataSource *string `json:"dataSource,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"`
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 *[]ModelsErrorSeverity `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 {
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
Errors *[]string `json:"errors,omitempty"`
Hostname *string `json:"hostname,omitempty"`
NodeName *string `json:"nodeName,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 {
// DataSource DataSource is the agent enrollment that produces this component: "inband"
// or "oob". Every component is one agent's data, so this is the authoritative
// place to tell the two apart — including for backend components such as OOB
// Agent Connectivity, which carry no metrics to classify.
// Values: inband / oob.
DataSource *string `json:"dataSource,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
// Group Group lets clients group the flat component list without changing its structure.
Group *string `json:"group,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 ModelsComponentTypeOption ¶
type ModelsComponentTypeOption struct {
Component *string `json:"component,omitempty"`
ComponentDisplayName *string `json:"componentDisplayName,omitempty"`
Group *string `json:"group,omitempty"`
}
ModelsComponentTypeOption defines model for models.ComponentTypeOption.
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 Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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"`
Location *ModelsLocation `json:"location,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 ModelsErrorSeverity ¶
type ModelsErrorSeverity string
ModelsErrorSeverity defines model for models.ErrorSeverity.
const ( ErrorSeverityCritical ModelsErrorSeverity = "Critical" ErrorSeverityFatal ModelsErrorSeverity = "Fatal" ErrorSeverityWarning ModelsErrorSeverity = "Warning" )
Defines values for ModelsErrorSeverity.
func (ModelsErrorSeverity) Valid ¶
func (e ModelsErrorSeverity) Valid() bool
Valid indicates whether the value is a known member of the ModelsErrorSeverity enum.
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 {
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
// Component Component name
Component *string `json:"component,omitempty"`
// ComputeZone Current compute zone name
ComputeZone *string `json:"computeZone,omitempty"`
// ComputeZoneId Current compute zone ID
ComputeZoneId *string `json:"computeZoneId,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
// DataSource Data source derived from the persisted event or configured component
DataSource *string `json:"dataSource,omitempty"`
// EventId Unique event identifier
EventId string `json:"eventId"`
// GpuType Current resolved node GPU type
GpuType *string `json:"gpuType,omitempty"`
// Hostname Current in-band OS hostname; empty for a node with no in-band enrollment
Hostname *string `json:"hostname,omitempty"`
Message *string `json:"message,omitempty"`
// Name Event name
Name *string `json:"name,omitempty"`
// NodeGroup Current node group name
NodeGroup *string `json:"nodeGroup,omitempty"`
// NodeGroupId Current node group ID
NodeGroupId *string `json:"nodeGroupId,omitempty"`
// NodeName Machine name configured on the OOB collector
NodeName *string `json:"nodeName,omitempty"`
// NodeUUID Canonical node UUID; empty when the event has no associated node
NodeUUID string `json:"nodeUUID"`
// 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 ModelsEventFilterOptionsResponse ¶
type ModelsEventFilterOptionsResponse struct {
// Components Components provides the raw component identifier used by the events
// filter together with its configured display name for the dropdown.
Components *[]ModelsComponentTypeOption `json:"components,omitempty"`
DataSources *[]string `json:"dataSources,omitempty"`
EventNames *[]string `json:"eventNames,omitempty"`
GpuTypes *[]string `json:"gpuTypes,omitempty"`
Severities *[]string `json:"severities,omitempty"`
SortFields *[]string `json:"sortFields,omitempty"`
}
ModelsEventFilterOptionsResponse defines model for models.EventFilterOptionsResponse.
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 Deprecated: This field is no longer populated by current agents and remains for backward compatibility.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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
deprecated
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 Deprecated: use Location.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 ModelsIDNameOption ¶
ModelsIDNameOption defines model for models.IDNameOption.
type ModelsInbandInventoryNode ¶ added in v1.1.0
type ModelsInbandInventoryNode struct {
AgentUUID *string `json:"agentUUID,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
FirmwareCheck *ModelsFirmwareCheck `json:"firmwareCheck,omitempty"`
// GeoLocation Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 Deprecated: use verificationCheck.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
// IntegrityCheckExtraInfo Deprecated: use verificationCheckExtraInfo.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
// IntegrityCheckReason Deprecated: use verificationCheckReason.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
// LastIntegrityCheckTS Deprecated: use lastVerificationCheckTS.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastVerificationCheckTS *string `json:"lastVerificationCheckTS,omitempty"`
Location *ModelsLocation `json:"location,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"`
VerificationCheck *ModelsVerificationCheck `json:"verificationCheck,omitempty"`
VerificationCheckExtraInfo *ModelsVerificationCheckExtraInfo `json:"verificationCheckExtraInfo,omitempty"`
VerificationCheckReason *string `json:"verificationCheckReason,omitempty"`
}
ModelsInbandInventoryNode defines model for models.InbandInventoryNode.
type ModelsInbandInventoryReportResponse ¶ added in v1.1.0
type ModelsInbandInventoryReportResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsInbandInventoryNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsInbandInventoryReportResponse defines model for models.InbandInventoryReportResponse.
type ModelsInbandNode ¶ added in v1.1.0
type ModelsInbandNode struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
// AgentType Deprecated: use dataSource.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *string `json:"agentType,omitempty"`
AgentUUID *string `json:"agentUUID,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
DataSource string `json:"dataSource"`
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 Deprecated: use verificationCheck.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
// IntegrityCheckExtraInfo Deprecated: use verificationCheckExtraInfo.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
// IntegrityCheckReason Deprecated: use verificationCheckReason.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
// LastIntegrityCheckTS Deprecated: use lastVerificationCheckTS.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
LastVerificationCheckTS *string `json:"lastVerificationCheckTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeUUID string `json:"nodeUUID"`
PrivateIP *string `json:"privateIP,omitempty"`
PublicIP *string `json:"publicIP,omitempty"`
VerificationCheck *ModelsVerificationCheck `json:"verificationCheck,omitempty"`
VerificationCheckExtraInfo *ModelsVerificationCheckExtraInfo `json:"verificationCheckExtraInfo,omitempty"`
VerificationCheckReason *string `json:"verificationCheckReason,omitempty"`
}
ModelsInbandNode defines model for models.InbandNode.
type ModelsInbandNodeDetailsResponse ¶ added in v1.1.0
type ModelsInbandNodeDetailsResponse struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
// AgentType Deprecated: use dataSource.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *string `json:"agentType,omitempty"`
AgentUUID *string `json:"agentUUID,omitempty"`
AgentVersion *string `json:"agentVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
DataSource string `json:"dataSource"`
DegradedComponentCount *int `json:"degradedComponentCount,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
FirmwareCheck *ModelsFirmwareCheck `json:"firmwareCheck,omitempty"`
// GeoLocation Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 Deprecated: use verificationCheck.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
// IntegrityCheckExtraInfo Deprecated: use verificationCheckExtraInfo.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
// IntegrityCheckReason Deprecated: use verificationCheckReason.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
KernelVersion *string `json:"kernelVersion,omitempty"`
// LastIntegrityCheckTS Deprecated: use lastVerificationCheckTS.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
LastVerificationCheckTS *string `json:"lastVerificationCheckTS,omitempty"`
Location *ModelsLocation `json:"location,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"`
VerificationCheck *ModelsVerificationCheck `json:"verificationCheck,omitempty"`
VerificationCheckExtraInfo *ModelsVerificationCheckExtraInfo `json:"verificationCheckExtraInfo,omitempty"`
VerificationCheckReason *string `json:"verificationCheckReason,omitempty"`
}
ModelsInbandNodeDetailsResponse defines model for models.InbandNodeDetailsResponse.
type ModelsInbandNodesResponse ¶ added in v1.1.0
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
deprecated
type ModelsIntegrityCheck string
ModelsIntegrityCheck Deprecated: use VerificationCheck.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
const ( IntegrityCheckDegraded ModelsIntegrityCheck = "Degraded" IntegrityCheckFailed ModelsIntegrityCheck = "Unverified" IntegrityCheckFullAttestation ModelsIntegrityCheck = "Full Attestation" IntegrityCheckPartialAttestation ModelsIntegrityCheck = "Partial Attestation" IntegrityCheckPassed ModelsIntegrityCheck = "Verified" IntegrityCheckPending ModelsIntegrityCheck = "Pending" IntegrityCheckUnknown ModelsIntegrityCheck = "Unknown" IntegrityCheckUnsupported ModelsIntegrityCheck = "Unsupported" IntegrityCheckVerificationFailed ModelsIntegrityCheck = "Verification Failed" )
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
deprecated
type ModelsIntegrityCheckExtraInfo struct {
// Ear EAR is the attestation result issued by the attestation service; only node details returns it.
Ear *map[string]interface{} `json:"ear,omitempty"`
ErrorDetails *string `json:"errorDetails,omitempty"`
GpuEvidencePresent *bool `json:"gpuEvidencePresent,omitempty"`
// GpuResults Per-GPU NRAS v4 claims. Set only by the NRAS v4 service; the full-attest service sets policy and ear.
GpuResults *map[string]ModelsJWTClaims `json:"gpuResults,omitempty"`
NrasCallResult *string `json:"nrasCallResult,omitempty"`
OverallAttestationResult *bool `json:"overallAttestationResult,omitempty"`
// Policy Policy is the verification policy's decision on the attestation result.
Policy *ModelsVerificationPolicy `json:"policy,omitempty"`
}
ModelsIntegrityCheckExtraInfo Deprecated: use VerificationCheckExtraInfo.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 ModelsLocation ¶ added in v1.1.0
type ModelsLocation 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"`
}
ModelsLocation defines model for models.Location.
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 *ModelsMetricUnit `json:"unit,omitempty"`
Value *float32 `json:"value,omitempty"`
}
ModelsMetric defines model for models.Metric.
type ModelsMetricInfo ¶ added in v1.0.0
type ModelsMetricInfo struct {
// DataSource DataSource is set only for metrics that carry their own agent gate: "oob"
// for BMC sensor charts. Its absence means "no gate of its own", not
// "in-band" — read the enclosing component's dataSource to classify a metric,
// which a metric may repeat but never contradict.
// Values: inband / oob.
DataSource *string `json:"dataSource,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Unit *ModelsMetricUnit `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"`
// Unavailable Unavailable is set for node-level queries when the metric does not apply to
// the node at all, so the caller can hide the chart rather than draw an empty
// one. Null whenever the metric does apply, including when it simply has no
// data in the window. Always null for aggregated levels, where sensor presence
// is not a single answer across the group.
Unit *ModelsMetricUnit `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 ModelsMetricUnavailable ¶ added in v1.1.0
type ModelsMetricUnavailable struct {
}
ModelsMetricUnavailable Unavailable is set for node-level queries when the metric does not apply to the node at all, so the caller can hide the chart rather than draw an empty one. Null whenever the metric does apply, including when it simply has no data in the window. Always null for aggregated levels, where sensor presence is not a single answer across the group.
type ModelsMetricUnit ¶
type ModelsMetricUnit string
ModelsMetricUnit defines model for models.MetricUnit.
const ( MetricUnitBitErrorRate ModelsMetricUnit = "ber" MetricUnitBoolean ModelsMetricUnit = "boolean" MetricUnitBytes ModelsMetricUnit = "bytes" MetricUnitBytesPerSecond ModelsMetricUnit = "bytes/s" MetricUnitCelsius ModelsMetricUnit = "celsius" MetricUnitCores ModelsMetricUnit = "cores" MetricUnitCount ModelsMetricUnit = "count" MetricUnitDegreesCelsius ModelsMetricUnit = "°C" MetricUnitDegreesFahrenheit ModelsMetricUnit = "°F" MetricUnitLoad ModelsMetricUnit = "load" MetricUnitMegabyte ModelsMetricUnit = "MB" MetricUnitMegabytesPerSecond ModelsMetricUnit = "MB/s" MetricUnitMegahertz ModelsMetricUnit = "MHz" MetricUnitMillijoules ModelsMetricUnit = "millijoules" MetricUnitMilliseconds ModelsMetricUnit = "ms" MetricUnitNanoseconds ModelsMetricUnit = "nanoseconds" MetricUnitPercent ModelsMetricUnit = "percent" MetricUnitRPM ModelsMetricUnit = "rpm" MetricUnitRatio ModelsMetricUnit = "ratio" MetricUnitSecond ModelsMetricUnit = "s" MetricUnitSeconds ModelsMetricUnit = "seconds" MetricUnitVolts ModelsMetricUnit = "volts" MetricUnitWatts ModelsMetricUnit = "watts" )
Defines values for ModelsMetricUnit.
func (ModelsMetricUnit) Valid ¶
func (e ModelsMetricUnit) Valid() bool
Valid indicates whether the value is a known member of the ModelsMetricUnit enum.
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"`
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 Deprecated: use computeZoneLocation.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ComputeZoneGeoLocation *ModelsGeoLocation `json:"computeZoneGeoLocation,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
ComputeZoneLocation *ModelsLocation `json:"computeZoneLocation,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"`
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 ModelsNodeKind ¶ added in v1.1.1
type ModelsNodeKind string
ModelsNodeKind defines model for models.NodeKind.
const ( NodeKindCompute ModelsNodeKind = "compute" NodeKindNvSwitch ModelsNodeKind = "nvswitch" NodeKindPowerShelf ModelsNodeKind = "power_shelf" NodeKindUnknown ModelsNodeKind = "unknown" )
Defines values for ModelsNodeKind.
func (ModelsNodeKind) Valid ¶ added in v1.1.1
func (e ModelsNodeKind) Valid() bool
Valid indicates whether the value is a known member of the ModelsNodeKind enum.
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 reaper evaluation. It is zero for a new or
// backfilled policy until the reaper runs (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). 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 ¶ added in v1.1.0
type ModelsOobChassis struct {
AssetTag *string `json:"assetTag,omitempty"`
ChassisType *string `json:"chassisType,omitempty"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Location *ModelsOobChassisLocation `json:"location,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
PcieDevices *[]ModelsOobPcieDevice `json:"pcieDevices,omitempty"`
PowerState *string `json:"powerState,omitempty"`
PowerSupplies *[]ModelsOobPowerSupply `json:"powerSupplies,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
}
ModelsOobChassis defines model for models.OobChassis.
type ModelsOobChassisLocation ¶ added in v1.1.0
type ModelsOobChassisLocation struct {
PartLocation *ModelsOobPartLocation `json:"partLocation,omitempty"`
PartLocationContext *string `json:"partLocationContext,omitempty"`
Placement *ModelsOobPlacement `json:"placement,omitempty"`
}
ModelsOobChassisLocation defines model for models.OobChassisLocation.
type ModelsOobDomainError ¶ added in v1.1.0
type ModelsOobDomainError struct {
Domain string `json:"domain"`
Message string `json:"message"`
Resource *string `json:"resource,omitempty"`
}
ModelsOobDomainError defines model for models.OobDomainError.
type ModelsOobDrive ¶
type ModelsOobDrive struct {
CapacityBytes *int `json:"capacityBytes,omitempty"`
Id string `json:"id"`
MediaType *string `json:"mediaType,omitempty"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Revision *string `json:"revision,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
StorageId string `json:"storageId"`
SystemId string `json:"systemId"`
}
ModelsOobDrive defines model for models.OobDrive.
type ModelsOobFabric ¶
type ModelsOobFabric struct {
Description *string `json:"description,omitempty"`
FabricType *string `json:"fabricType,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Name string `json:"name"`
OdataId *string `json:"odataId,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
Switches *[]ModelsOobSwitch `json:"switches,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobFabric defines model for models.OobFabric.
type ModelsOobFirmware ¶ added in v1.1.0
type ModelsOobFirmware struct {
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Name string `json:"name"`
OdataId *string `json:"odataId,omitempty"`
RelatedItem *[]ModelsOobInventoryReference `json:"relatedItem,omitempty"`
ReleaseDate *string `json:"releaseDate,omitempty"`
ServiceId string `json:"serviceId"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
Version *string `json:"version,omitempty"`
}
ModelsOobFirmware defines model for models.OobFirmware.
type ModelsOobInventory ¶ added in v1.1.0
type ModelsOobInventory struct {
Chassis *[]ModelsOobChassis `json:"chassis,omitempty"`
CollectedAt string `json:"collectedAt"`
DomainErrors *[]ModelsOobDomainError `json:"domainErrors,omitempty"`
Fabrics *[]ModelsOobFabric `json:"fabrics,omitempty"`
Firmware *[]ModelsOobFirmware `json:"firmware,omitempty"`
Managers *[]ModelsOobManager `json:"managers,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 Optional fields — omitted from the response when absent:
TargetError *string `json:"targetError,omitempty"`
}
ModelsOobInventory defines model for models.OobInventory.
type ModelsOobInventoryCondition ¶ added in v1.1.1
type ModelsOobInventoryCondition struct {
ConditionType *string `json:"conditionType,omitempty"`
Message *string `json:"message,omitempty"`
MessageArgs *[]string `json:"messageArgs,omitempty"`
MessageId string `json:"messageId"`
OriginOfCondition *ModelsOobInventoryReference `json:"originOfCondition,omitempty"`
Resolution *string `json:"resolution,omitempty"`
Severity *string `json:"severity,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
}
ModelsOobInventoryCondition defines model for models.OobInventoryCondition.
type ModelsOobInventoryLinks ¶
type ModelsOobInventoryLinks map[string][]ModelsOobInventoryReference
ModelsOobInventoryLinks defines model for models.OobInventoryLinks.
type ModelsOobInventoryNode ¶ added in v1.1.0
type ModelsOobInventoryNode struct {
BmcIP *string `json:"bmcIP,omitempty"`
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
CollectorVersion *string `json:"collectorVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
// GeoLocation Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
GpuCount *int `json:"gpuCount,omitempty"`
GpuType *string `json:"gpuType,omitempty"`
// IntegrityCheck Deprecated: use verificationCheck.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
// IntegrityCheckExtraInfo Deprecated: use verificationCheckExtraInfo.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
// IntegrityCheckReason Deprecated: use verificationCheckReason.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
// LastIntegrityCheckTS Deprecated: use lastVerificationCheckTS.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastVerificationCheckTS *string `json:"lastVerificationCheckTS,omitempty"`
Location *ModelsLocation `json:"location,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeUUID *string `json:"nodeUUID,omitempty"`
RemovedAt *string `json:"removedAt,omitempty"`
VerificationCheck *ModelsVerificationCheck `json:"verificationCheck,omitempty"`
VerificationCheckExtraInfo *ModelsVerificationCheckExtraInfo `json:"verificationCheckExtraInfo,omitempty"`
VerificationCheckReason *string `json:"verificationCheckReason,omitempty"`
}
ModelsOobInventoryNode defines model for models.OobInventoryNode.
type ModelsOobInventoryReference ¶ added in v1.1.1
type ModelsOobInventoryReference struct {
OdataId string `json:"odataId"`
}
ModelsOobInventoryReference defines model for models.OobInventoryReference.
type ModelsOobInventoryReportResponse ¶ added in v1.1.0
type ModelsOobInventoryReportResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
Nodes *[]ModelsOobInventoryNode `json:"nodes,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
Total *int `json:"total,omitempty"`
}
ModelsOobInventoryReportResponse defines model for models.OobInventoryReportResponse.
type ModelsOobInventoryStatus ¶ added in v1.1.1
type ModelsOobInventoryStatus struct {
Conditions *[]ModelsOobInventoryCondition `json:"conditions,omitempty"`
Health *string `json:"health,omitempty"`
HealthRollup *string `json:"healthRollup,omitempty"`
State *string `json:"state,omitempty"`
}
ModelsOobInventoryStatus defines model for models.OobInventoryStatus.
type ModelsOobManager ¶ added in v1.1.0
type ModelsOobManager struct {
Description *string `json:"description,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
ManagerType *string `json:"managerType,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
OdataId *string `json:"odataId,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobManager defines model for models.OobManager.
type ModelsOobMemory ¶
type ModelsOobMemory struct {
CapacityMib *int `json:"capacityMib,omitempty"`
DeviceLocator *string `json:"deviceLocator,omitempty"`
Id string `json:"id"`
Location *ModelsOobChassisLocation `json:"location,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
MemoryDeviceType *string `json:"memoryDeviceType,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
SystemId string `json:"systemId"`
}
ModelsOobMemory defines model for models.OobMemory.
type ModelsOobMemorySummary ¶
type ModelsOobMemorySummary struct {
MemoryMirroring *string `json:"memoryMirroring,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
TotalSystemMemoryGiB *float32 `json:"totalSystemMemoryGiB,omitempty"`
TotalSystemPersistentMemoryGiB *float32 `json:"totalSystemPersistentMemoryGiB,omitempty"`
}
ModelsOobMemorySummary defines model for models.OobMemorySummary.
type ModelsOobNVLinkTopology ¶
type ModelsOobNVLinkTopology struct {
ChassisSerialNumber *string `json:"chassisSerialNumber,omitempty"`
HostId *int `json:"hostId,omitempty"`
// IbGuid IBGUID is raw Redfish hexadecimal text. Consumers matching NMX-C device UIDs must apply the required little-endian decode.
IbGuid *string `json:"ibGuid,omitempty"`
LsbIbGuid *string `json:"lsbIbGuid,omitempty"`
ModuleId *int `json:"moduleId,omitempty"`
PeerType *string `json:"peerType,omitempty"`
// SystemGuid SystemGUID is raw Redfish hexadecimal text. The collector does not decode byte order.
SystemGuid *string `json:"systemGuid,omitempty"`
// TraySerialNumber TraySerialNumber is raw Redfish text. "NA" means not reported and must be treated as absent, never as a rack or chassis serial.
TraySerialNumber *string `json:"traySerialNumber,omitempty"`
TraySlotIndex *int `json:"traySlotIndex,omitempty"`
TraySlotNumber *int `json:"traySlotNumber,omitempty"`
}
ModelsOobNVLinkTopology defines model for models.OobNVLinkTopology.
type ModelsOobNode ¶ added in v1.1.0
type ModelsOobNode struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
// AgentType Deprecated: use dataSource.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *string `json:"agentType,omitempty"`
BmcIP *string `json:"bmcIP,omitempty"`
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
CollectorVersion *string `json:"collectorVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
DataSource string `json:"dataSource"`
GpuCount *int `json:"gpuCount,omitempty"`
GpuType *string `json:"gpuType,omitempty"`
HealthStatus *ModelsHealthState `json:"healthStatus,omitempty"`
// IntegrityCheck Deprecated: use verificationCheck.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
// IntegrityCheckExtraInfo Deprecated: use verificationCheckExtraInfo.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
// IntegrityCheckReason Deprecated: use verificationCheckReason.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
// LastIntegrityCheckTS Deprecated: use lastVerificationCheckTS.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
LastVerificationCheckTS *string `json:"lastVerificationCheckTS,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeKind *ModelsNodeKind `json:"nodeKind,omitempty"`
// NodeName NodeName is the optional machine name configured on the OOB collector.
NodeName *string `json:"nodeName,omitempty"`
NodeUUID string `json:"nodeUUID"`
VerificationCheck *ModelsVerificationCheck `json:"verificationCheck,omitempty"`
VerificationCheckExtraInfo *ModelsVerificationCheckExtraInfo `json:"verificationCheckExtraInfo,omitempty"`
VerificationCheckReason *string `json:"verificationCheckReason,omitempty"`
}
ModelsOobNode defines model for models.OobNode.
type ModelsOobNodeDetailsResponse ¶ added in v1.1.0
type ModelsOobNodeDetailsResponse struct {
AgentStatus *ModelsAgentStatus `json:"agentStatus,omitempty"`
// AgentType Deprecated: use dataSource.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentType *string `json:"agentType,omitempty"`
BmcIP *string `json:"bmcIP,omitempty"`
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
CollectorVersion *string `json:"collectorVersion,omitempty"`
ComputeZone *string `json:"computeZone,omitempty"`
ComputeZoneId *string `json:"computeZoneId,omitempty"`
DataSource string `json:"dataSource"`
DegradedComponentCount *int `json:"degradedComponentCount,omitempty"`
EnrolledAt *string `json:"enrolledAt,omitempty"`
// GeoLocation Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
GpuCount *int `json:"gpuCount,omitempty"`
GpuType *string `json:"gpuType,omitempty"`
HealthStatus *ModelsHealthState `json:"healthStatus,omitempty"`
HealthyComponentCount *int `json:"healthyComponentCount,omitempty"`
// IntegrityCheck Deprecated: use verificationCheck.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheck *ModelsIntegrityCheck `json:"integrityCheck,omitempty"`
// IntegrityCheckExtraInfo Deprecated: use verificationCheckExtraInfo.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckExtraInfo *ModelsIntegrityCheckExtraInfo `json:"integrityCheckExtraInfo,omitempty"`
// IntegrityCheckReason Deprecated: use verificationCheckReason.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
IntegrityCheckReason *string `json:"integrityCheckReason,omitempty"`
// LastIntegrityCheckTS Deprecated: use lastVerificationCheckTS.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
LastIntegrityCheckTS *string `json:"lastIntegrityCheckTS,omitempty"`
LastUpdatedTS *string `json:"lastUpdatedTS,omitempty"`
LastVerificationCheckTS *string `json:"lastVerificationCheckTS,omitempty"`
Location *ModelsLocation `json:"location,omitempty"`
NodeGroup *string `json:"nodeGroup,omitempty"`
NodeGroupId *string `json:"nodeGroupId,omitempty"`
NodeKind *ModelsNodeKind `json:"nodeKind,omitempty"`
// NodeName NodeName is the optional machine name configured on the OOB collector.
NodeName *string `json:"nodeName,omitempty"`
NodeUUID string `json:"nodeUUID"`
OobInventory *ModelsOobInventory `json:"oobInventory,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UnhealthyComponentCount *int `json:"unhealthyComponentCount,omitempty"`
VerificationCheck *ModelsVerificationCheck `json:"verificationCheck,omitempty"`
VerificationCheckExtraInfo *ModelsVerificationCheckExtraInfo `json:"verificationCheckExtraInfo,omitempty"`
VerificationCheckReason *string `json:"verificationCheckReason,omitempty"`
}
ModelsOobNodeDetailsResponse defines model for models.OobNodeDetailsResponse.
type ModelsOobNodesResponse ¶ added in v1.1.0
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 ModelsOobNvidiaGPU ¶
type ModelsOobNvidiaGPU struct {
CcDevModeEnabled *bool `json:"ccDevModeEnabled,omitempty"`
CcModeEnabled *bool `json:"ccModeEnabled,omitempty"`
DefaultBoostClockSpeedMhz *int `json:"defaultBoostClockSpeedMhz,omitempty"`
EgmModeEnabled *bool `json:"egmModeEnabled,omitempty"`
MaxBoostClockSpeedMhz *int `json:"maxBoostClockSpeedMhz,omitempty"`
MigModeEnabled *bool `json:"migModeEnabled,omitempty"`
NvlinkTopology *ModelsOobNVLinkTopology `json:"nvlinkTopology,omitempty"`
ProtectedPcieModeEnabled *bool `json:"protectedPcieModeEnabled,omitempty"`
TotalNvLinks *int `json:"totalNvLinks,omitempty"`
}
ModelsOobNvidiaGPU defines model for models.OobNvidiaGPU.
type ModelsOobNvidiaSwitch ¶
type ModelsOobNvidiaSwitch struct {
DeviceId *string `json:"deviceId,omitempty"`
PcieReferenceClockEnabled *bool `json:"pcieReferenceClockEnabled,omitempty"`
ProtectedPcieModeEnabled *bool `json:"protectedPcieModeEnabled,omitempty"`
SwitchIsolationMode *string `json:"switchIsolationMode,omitempty"`
VendorId *string `json:"vendorId,omitempty"`
}
ModelsOobNvidiaSwitch defines model for models.OobNvidiaSwitch.
type ModelsOobPartLocation ¶
type ModelsOobPartLocation struct {
LocationOrdinalValue *int `json:"locationOrdinalValue,omitempty"`
LocationType *string `json:"locationType,omitempty"`
Orientation *string `json:"orientation,omitempty"`
Reference *string `json:"reference,omitempty"`
ServiceLabel *string `json:"serviceLabel,omitempty"`
}
ModelsOobPartLocation defines model for models.OobPartLocation.
type ModelsOobPcieDevice ¶ added in v1.1.0
type ModelsOobPcieDevice struct {
Description *string `json:"description,omitempty"`
DeviceType *string `json:"deviceType,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobPcieDevice defines model for models.OobPcieDevice.
type ModelsOobPlacement ¶
type ModelsOobPlacement struct {
AdditionalInfo *string `json:"additionalInfo,omitempty"`
FacilityName *string `json:"facilityName,omitempty"`
Rack *string `json:"rack,omitempty"`
RackOffset *int `json:"rackOffset,omitempty"`
RackOffsetUnits *string `json:"rackOffsetUnits,omitempty"`
Room *string `json:"room,omitempty"`
Row *string `json:"row,omitempty"`
}
ModelsOobPlacement defines model for models.OobPlacement.
type ModelsOobPowerSupply ¶
type ModelsOobPowerSupply struct {
ChassisId string `json:"chassisId"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
Id string `json:"id"`
Model *string `json:"model,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
PowerCapacityWatts *float32 `json:"powerCapacityWatts,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
}
ModelsOobPowerSupply defines model for models.OobPowerSupply.
type ModelsOobProcessor ¶ added in v1.1.0
type ModelsOobProcessor struct {
Description *string `json:"description,omitempty"`
Id string `json:"id"`
InstructionSet *string `json:"instructionSet,omitempty"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Location *ModelsOobChassisLocation `json:"location,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
MaxSpeedMhz *int `json:"maxSpeedMhz,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
NvidiaGpu *ModelsOobNvidiaGPU `json:"nvidiaGpu,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
ProcessorArchitecture *string `json:"processorArchitecture,omitempty"`
ProcessorType *string `json:"processorType,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Socket *string `json:"socket,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
TotalCores *int `json:"totalCores,omitempty"`
TotalThreads *int `json:"totalThreads,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobProcessor defines model for models.OobProcessor.
type ModelsOobProcessorSummary ¶
type ModelsOobProcessorSummary struct {
CoreCount *int `json:"coreCount,omitempty"`
Count *int `json:"count,omitempty"`
LogicalProcessorCount *int `json:"logicalProcessorCount,omitempty"`
Model *string `json:"model,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
ThreadingEnabled *bool `json:"threadingEnabled,omitempty"`
}
ModelsOobProcessorSummary defines model for models.OobProcessorSummary.
type ModelsOobSource ¶ added in v1.1.0
type ModelsOobSource struct {
Address string `json:"address"`
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 ModelsOobStorage ¶
type ModelsOobStorage struct {
Drives *[]ModelsOobDrive `json:"drives,omitempty"`
Id string `json:"id"`
OdataId *string `json:"odataId,omitempty"`
SystemId string `json:"systemId"`
}
ModelsOobStorage defines model for models.OobStorage.
type ModelsOobSwitch ¶
type ModelsOobSwitch struct {
Description *string `json:"description,omitempty"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Location *ModelsOobChassisLocation `json:"location,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Model *string `json:"model,omitempty"`
Name string `json:"name"`
NvidiaSwitch *ModelsOobNvidiaSwitch `json:"nvidiaSwitch,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PartNumber *string `json:"partNumber,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
SwitchType *string `json:"switchType,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ModelsOobSwitch defines model for models.OobSwitch.
type ModelsOobSystem ¶ added in v1.1.0
type ModelsOobSystem struct {
AssetTag *string `json:"assetTag,omitempty"`
BiosVersion *string `json:"biosVersion,omitempty"`
Description *string `json:"description,omitempty"`
HostName *string `json:"hostName,omitempty"`
Id string `json:"id"`
Links *ModelsOobInventoryLinks `json:"links,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Memory *[]ModelsOobMemory `json:"memory,omitempty"`
MemorySummary *ModelsOobMemorySummary `json:"memorySummary,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
OdataId *string `json:"odataId,omitempty"`
PowerState *string `json:"powerState,omitempty"`
ProcessorSummary *ModelsOobProcessorSummary `json:"processorSummary,omitempty"`
Processors *[]ModelsOobProcessor `json:"processors,omitempty"`
SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
Sku *string `json:"sku,omitempty"`
Status *ModelsOobInventoryStatus `json:"status,omitempty"`
Storage *[]ModelsOobStorage `json:"storage,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 ModelsPredictedHealthRankingItem ¶
type ModelsPredictedHealthRankingItem struct {
ComputeZoneId *openapi_types.UUID `json:"computeZoneId,omitempty"`
Decile *int `json:"decile,omitempty"`
// EntityId EntityID is the node UUID, domain UUID or chassis serial selected by rankUnit.
EntityId *string `json:"entityId,omitempty"`
Explanation *string `json:"explanation,omitempty"`
Hostname *string `json:"hostname,omitempty"`
MemberCount *int `json:"memberCount,omitempty"`
NodeGroupId *openapi_types.UUID `json:"nodeGroupId,omitempty"`
PredictionAt *time.Time `json:"predictionAt,omitempty"`
PredictionStatus *ModelsPredictedHealthRankingItemPredictionStatus `json:"predictionStatus,omitempty"`
Rank *int `json:"rank,omitempty"`
ScoredCount *int `json:"scoredCount,omitempty"`
UnrankedReason *string `json:"unrankedReason,omitempty"`
UnscoredCount *int `json:"unscoredCount,omitempty"`
}
ModelsPredictedHealthRankingItem defines model for models.PredictedHealthRankingItem.
type ModelsPredictedHealthRankingItemPredictionStatus ¶
type ModelsPredictedHealthRankingItemPredictionStatus string
ModelsPredictedHealthRankingItemPredictionStatus defines model for ModelsPredictedHealthRankingItem.PredictionStatus.
const ( Ranked ModelsPredictedHealthRankingItemPredictionStatus = "ranked" Unranked ModelsPredictedHealthRankingItemPredictionStatus = "unranked" )
Defines values for ModelsPredictedHealthRankingItemPredictionStatus.
func (ModelsPredictedHealthRankingItemPredictionStatus) Valid ¶
func (e ModelsPredictedHealthRankingItemPredictionStatus) Valid() bool
Valid indicates whether the value is a known member of the ModelsPredictedHealthRankingItemPredictionStatus enum.
type ModelsPredictedHealthRankingsResponse ¶
type ModelsPredictedHealthRankingsResponse struct {
AllNodesRanked *bool `json:"allNodesRanked,omitempty"`
// Complete Complete requires usable scores, resolved membership and rankable groups.
// It is omitted for node ranking, which retains allNodesRanked semantics.
Complete *bool `json:"complete,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
Items *[]ModelsPredictedHealthRankingItem `json:"items,omitempty"`
Page *int `json:"page,omitempty"`
PageSize *int `json:"pageSize,omitempty"`
// RankUnit RankUnit identifies the type of entity returned in items.
RankUnit *ModelsPredictedHealthRankingsResponseRankUnit `json:"rankUnit,omitempty"`
RankedCount *int `json:"rankedCount,omitempty"`
Total *int `json:"total,omitempty"`
UnmappedNodeCount *int `json:"unmappedNodeCount,omitempty"`
UnrankedCount *int `json:"unrankedCount,omitempty"`
}
ModelsPredictedHealthRankingsResponse defines model for models.PredictedHealthRankingsResponse.
type ModelsPredictedHealthRankingsResponseRankUnit ¶
type ModelsPredictedHealthRankingsResponseRankUnit string
ModelsPredictedHealthRankingsResponseRankUnit RankUnit identifies the type of entity returned in items.
const ( ModelsPredictedHealthRankingsResponseRankUnitNode ModelsPredictedHealthRankingsResponseRankUnit = "node" ModelsPredictedHealthRankingsResponseRankUnitNvlinkDomain ModelsPredictedHealthRankingsResponseRankUnit = "nvlinkDomain" ModelsPredictedHealthRankingsResponseRankUnitRack ModelsPredictedHealthRankingsResponseRankUnit = "rack" )
Defines values for ModelsPredictedHealthRankingsResponseRankUnit.
func (ModelsPredictedHealthRankingsResponseRankUnit) Valid ¶
func (e ModelsPredictedHealthRankingsResponseRankUnit) Valid() bool
Valid indicates whether the value is a known member of the ModelsPredictedHealthRankingsResponseRankUnit enum.
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"`
// the node at all, so the caller can hide the chart rather than draw an empty
// one. Null whenever the metric does apply, including when it simply has no
// data in the window. Always null for aggregated levels, where sensor presence
// is not a single answer across the group.
Unavailable ModelsMetricUnavailable `json:"unavailable"`
// Warning e.g. omitted invalid metric points; null when no issues
Warning ModelsMetricQueryWarning `json:"warning"`
}
ModelsQueryMetricRangeResponse defines model for models.QueryMetricRangeResponse.
type ModelsSecurityVulnerabilitiesResponse ¶
type ModelsSecurityVulnerabilitiesResponse struct {
HasMore bool `json:"hasMore"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
Summary ModelsSecurityVulnerabilitySummary `json:"summary"`
// Total Total is the number of distinct matching vulnerabilities before pagination.
Total int `json:"total"`
Vulnerabilities []ModelsSecurityVulnerability `json:"vulnerabilities"`
}
ModelsSecurityVulnerabilitiesResponse defines model for models.SecurityVulnerabilitiesResponse.
type ModelsSecurityVulnerability ¶
type ModelsSecurityVulnerability struct {
// AffectedNodes AffectedNodes counts canonical node UUIDs once across sources and GPUs.
AffectedNodes int `json:"affectedNodes"`
Component ModelsVulnerabilityComponent `json:"component"`
Description *string `json:"description"`
// FixVersions FixVersions contains display strings for direct catalog fixes applicable to
// the filtered findings. Empty means no known applicable fix. These strings
// are not upgrade packages or resource identifiers.
FixVersions []string `json:"fixVersions"`
Severity ModelsSecurityVulnerabilitySeverity `json:"severity"`
Vulnerability string `json:"vulnerability"`
VulnerabilityUrl string `json:"vulnerabilityUrl"`
}
ModelsSecurityVulnerability defines model for models.SecurityVulnerability.
type ModelsSecurityVulnerabilityFilterOptions ¶
type ModelsSecurityVulnerabilityFilterOptions struct {
// ComponentTypes ComponentTypes uses VulnerabilityComponent values (gpuDriver or vbios) as option IDs.
ComponentTypes []ModelsIDNameOption `json:"componentTypes"`
// ComputeZoneIds ComputeZoneIDs and NodeGroupIDs use membership UUIDs as option IDs.
ComputeZoneIds []ModelsIDNameOption `json:"computeZoneIds"`
GpuTypes []string `json:"gpuTypes"`
NodeGroupIds []ModelsIDNameOption `json:"nodeGroupIds"`
Severities []ModelsSecurityVulnerabilitySeverity `json:"severities"`
}
ModelsSecurityVulnerabilityFilterOptions defines model for models.SecurityVulnerabilityFilterOptions.
type ModelsSecurityVulnerabilityOptionsResponse ¶
type ModelsSecurityVulnerabilityOptionsResponse struct {
Filters ModelsSecurityVulnerabilityFilterOptions `json:"filters"`
Sorting ModelsSortingOptions `json:"sorting"`
}
ModelsSecurityVulnerabilityOptionsResponse defines model for models.SecurityVulnerabilityOptionsResponse.
type ModelsSecurityVulnerabilitySeverity ¶
type ModelsSecurityVulnerabilitySeverity string
ModelsSecurityVulnerabilitySeverity defines model for models.SecurityVulnerabilitySeverity.
const ( SecurityVulnerabilitySeverityCritical ModelsSecurityVulnerabilitySeverity = "CRITICAL" SecurityVulnerabilitySeverityHigh ModelsSecurityVulnerabilitySeverity = "HIGH" SecurityVulnerabilitySeverityLow ModelsSecurityVulnerabilitySeverity = "LOW" SecurityVulnerabilitySeverityMedium ModelsSecurityVulnerabilitySeverity = "MEDIUM" )
Defines values for ModelsSecurityVulnerabilitySeverity.
func (ModelsSecurityVulnerabilitySeverity) Valid ¶
func (e ModelsSecurityVulnerabilitySeverity) Valid() bool
Valid indicates whether the value is a known member of the ModelsSecurityVulnerabilitySeverity enum.
type ModelsSecurityVulnerabilitySummary ¶
type ModelsSecurityVulnerabilitySummary struct {
// AffectedNodes AffectedNodes is the union across matching vulnerabilities, never the sum of row counts.
AffectedNodes int `json:"affectedNodes"`
DistinctComponentCount int `json:"distinctComponentCount"`
SeverityCounts ModelsVulnerabilitySeverityCounts `json:"severityCounts"`
// TotalNodes TotalNodes applies only authorization and zone/group/GPU filters. Severity,
// component, and CVE search do not change this fleet denominator.
TotalNodes int `json:"totalNodes"`
}
ModelsSecurityVulnerabilitySummary defines model for models.SecurityVulnerabilitySummary.
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 Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
Id string `json:"id"`
Location *ModelsLocation `json:"location,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 {
AgentUUID *string `json:"agentUUID,omitempty"`
BmcIP *string `json:"bmcIP,omitempty"`
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
Hostname *string `json:"hostname,omitempty"`
// NodeName NodeName is OOB collector metadata. It is populated for OOB and combined
// basic views and omitted from an explicitly in-band basic response.
NodeName *string `json:"nodeName,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"`
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 ModelsStatsResponse ¶
type ModelsStatsResponse struct {
Series *[]ModelsStatsSeries `json:"series,omitempty"`
TimeRange *ModelsTimeRange `json:"timeRange,omitempty"`
Timestamps *[]int `json:"timestamps,omitempty"`
}
ModelsStatsResponse defines model for models.StatsResponse.
type ModelsStatsSeries ¶
type ModelsStatsSeries struct {
Name *string `json:"name,omitempty"`
Values *[]*int `json:"values,omitempty"`
}
ModelsStatsSeries defines model for models.StatsSeries.
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 Deprecated: use location.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GeoLocation *ModelsGeoLocation `json:"geoLocation,omitempty"`
Id string `json:"id"`
Location *ModelsLocation `json:"location,omitempty"`
Type *string `json:"type,omitempty"`
}
ModelsUpdateComputeZoneRequest defines model for models.UpdateComputeZoneRequest.
type ModelsUpdateComputeZoneResponse ¶
type ModelsUpdateComputeZoneResponse struct {
Id string `json:"id"`
}
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 ModelsVerificationCheck ¶ added in v1.1.0
type ModelsVerificationCheck string
ModelsVerificationCheck defines model for models.VerificationCheck.
const ( VerificationCheckDegraded ModelsVerificationCheck = "Degraded" VerificationCheckFailed ModelsVerificationCheck = "Unverified" VerificationCheckFullAttestation ModelsVerificationCheck = "Full Attestation" VerificationCheckPartialAttestation ModelsVerificationCheck = "Partial Attestation" VerificationCheckPassed ModelsVerificationCheck = "Verified" VerificationCheckPending ModelsVerificationCheck = "Pending" VerificationCheckUnknown ModelsVerificationCheck = "Unknown" VerificationCheckUnsupported ModelsVerificationCheck = "Unsupported" VerificationCheckVerificationFailed ModelsVerificationCheck = "Verification Failed" )
Defines values for ModelsVerificationCheck.
func (ModelsVerificationCheck) Valid ¶ added in v1.1.0
func (e ModelsVerificationCheck) Valid() bool
Valid indicates whether the value is a known member of the ModelsVerificationCheck enum.
type ModelsVerificationCheckExtraInfo ¶ added in v1.1.0
type ModelsVerificationCheckExtraInfo struct {
// Ear EAR is the attestation result issued by the attestation service; only node details returns it.
Ear *map[string]interface{} `json:"ear,omitempty"`
ErrorDetails *string `json:"errorDetails,omitempty"`
GpuEvidencePresent *bool `json:"gpuEvidencePresent,omitempty"`
// GpuResults Per-GPU NRAS v4 claims. Set only by the NRAS v4 service; the full-attest service sets policy and ear.
GpuResults *map[string]ModelsJWTClaims `json:"gpuResults,omitempty"`
NrasCallResult *string `json:"nrasCallResult,omitempty"`
OverallAttestationResult *bool `json:"overallAttestationResult,omitempty"`
// Policy Policy is the verification policy's decision on the attestation result.
Policy *ModelsVerificationPolicy `json:"policy,omitempty"`
}
ModelsVerificationCheckExtraInfo defines model for models.VerificationCheckExtraInfo.
type ModelsVerificationPolicy ¶
type ModelsVerificationPolicy struct {
Approved *bool `json:"approved,omitempty"`
// Denials Denials lists why the policy rejected the attestation result.
Denials *[]string `json:"denials,omitempty"`
Gpus *map[string]ModelsVerificationPolicyVerdict `json:"gpus,omitempty"`
// PolicyVersion PolicyVersion identifies the policy revision that produced the verdict.
PolicyVersion *string `json:"policyVersion,omitempty"`
// Reason Reason explains the verdict; for tier 3 it is the policy's failure detail.
Reason *string `json:"reason,omitempty"`
// Tier Tier 1 passed every check, 2 passed without a reference integrity manifest (RIM), 3 was rejected.
Tier *ModelsVerificationPolicyTier `json:"tier,omitempty"`
}
ModelsVerificationPolicy Policy is the verification policy's decision on the attestation result.
type ModelsVerificationPolicyTier ¶
type ModelsVerificationPolicyTier int
ModelsVerificationPolicyTier Tier 1 passed every check, 2 passed without a reference integrity manifest (RIM), 3 was rejected.
const ( ModelsVerificationPolicyTierN1 ModelsVerificationPolicyTier = 1 ModelsVerificationPolicyTierN2 ModelsVerificationPolicyTier = 2 ModelsVerificationPolicyTierN3 ModelsVerificationPolicyTier = 3 )
Defines values for ModelsVerificationPolicyTier.
func (ModelsVerificationPolicyTier) Valid ¶
func (e ModelsVerificationPolicyTier) Valid() bool
Valid indicates whether the value is a known member of the ModelsVerificationPolicyTier enum.
type ModelsVerificationPolicyVerdict ¶
type ModelsVerificationPolicyVerdict struct {
Approved *bool `json:"approved,omitempty"`
// Denials Denials lists why the policy rejected the attestation result.
Denials *[]string `json:"denials,omitempty"`
// Reason Reason explains the verdict; for tier 3 it is the policy's failure detail.
Reason *string `json:"reason,omitempty"`
// Tier Tier 1 passed every check, 2 passed without a reference integrity manifest (RIM), 3 was rejected.
Tier *ModelsVerificationPolicyVerdictTier `json:"tier,omitempty"`
}
ModelsVerificationPolicyVerdict defines model for models.VerificationPolicyVerdict.
type ModelsVerificationPolicyVerdictTier ¶
type ModelsVerificationPolicyVerdictTier int
ModelsVerificationPolicyVerdictTier Tier 1 passed every check, 2 passed without a reference integrity manifest (RIM), 3 was rejected.
const ( ModelsVerificationPolicyVerdictTierN1 ModelsVerificationPolicyVerdictTier = 1 ModelsVerificationPolicyVerdictTierN2 ModelsVerificationPolicyVerdictTier = 2 ModelsVerificationPolicyVerdictTierN3 ModelsVerificationPolicyVerdictTier = 3 )
Defines values for ModelsVerificationPolicyVerdictTier.
func (ModelsVerificationPolicyVerdictTier) Valid ¶
func (e ModelsVerificationPolicyVerdictTier) Valid() bool
Valid indicates whether the value is a known member of the ModelsVerificationPolicyVerdictTier enum.
type ModelsVulnerabilityComponent ¶
type ModelsVulnerabilityComponent string
ModelsVulnerabilityComponent defines model for models.VulnerabilityComponent.
const ( VulnerabilityComponentGPUDriver ModelsVulnerabilityComponent = "gpuDriver" VulnerabilityComponentVBIOS ModelsVulnerabilityComponent = "vbios" )
Defines values for ModelsVulnerabilityComponent.
func (ModelsVulnerabilityComponent) Valid ¶
func (e ModelsVulnerabilityComponent) Valid() bool
Valid indicates whether the value is a known member of the ModelsVulnerabilityComponent enum.
type ModelsVulnerabilitySeverityCounts ¶
type ModelsVulnerabilitySeverityCounts struct {
Critical int `json:"critical"`
High int `json:"high"`
Low int `json:"low"`
Medium int `json:"medium"`
}
ModelsVulnerabilitySeverityCounts defines model for models.VulnerabilitySeverityCounts.
type ModelsXIDBurstDetail ¶ added in v1.1.0
type ModelsXIDBurstDetail struct {
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
BurstDurationSeconds *int `json:"burstDurationSeconds,omitempty"`
BurstId string `json:"burstId"`
// 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"`
// DataSource DataSource is the observation path the burst was detected on: "inband" or
// "oob". This endpoint takes no dataSource parameter — burst IDs are unique
// across paths — so this field is the only way to tell them apart.
DataSource *string `json:"dataSource,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"`
GpuType *string `json:"gpuType,omitempty"`
// Hostname Hostname, NodeName, and BMCMAC carry the same node-scoped meaning as
// on XIDBurstListItem.
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"`
NodeName *string `json:"nodeName,omitempty"`
NodeUuid string `json:"nodeUuid"`
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 ¶ added in v1.1.0
type ModelsXIDBurstFilterOptionsResponse struct {
Categories *[]string `json:"categories,omitempty"`
// DataSource DataSource echoes the observation path the options were computed from, so
// a client that caches options per path can tell them apart. It may be
// "all", and must be when the table it filters was fetched with
// dataSource=all: options for one path never include values seen only on the
// other, so pairing a combined table with single-path options would hide
// filters for rows on screen.
DataSource *string `json:"dataSource,omitempty"`
GpuTypes *[]string `json:"gpuTypes,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 ¶ added in v1.1.0
type ModelsXIDBurstListItem struct {
// BmcMac BMC MAC identifier from collector source.mac; may be empty.
BmcMac *string `json:"bmcMac,omitempty"`
BurstDurationSeconds *int `json:"burstDurationSeconds,omitempty"`
BurstId string `json:"burstId"`
// 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"`
// DataSource DataSource is the observation path the burst was detected on: "inband" or
// "oob". Never "all", even for a dataSource=all request — "all" selects
// which rows to return, and every row was still found by exactly one path.
// On a combined page this is what tells the two apart, so a node that
// reported one fault on both appears as two rows labelled differently.
DataSource *string `json:"dataSource,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"`
GpuType *string `json:"gpuType,omitempty"`
// Hostname Hostname is the in-band OS hostname; NodeName and BMCMAC are the
// OOB machine name and BMC MAC identifier. All three describe the node, not the
// burst, so a dual-enrolled node returns every identity it has regardless
// of DataSource. Each is empty when the source owning it is not enrolled.
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"`
NodeName *string `json:"nodeName,omitempty"`
NodeUuid string `json:"nodeUuid"`
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 ¶ added in v1.1.0
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 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PatchV1TagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchV1TagsResponse) GetJSON400 ¶ added in v1.1.0
func (r PatchV1TagsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchV1TagsResponse) GetJSON401 ¶ added in v1.1.0
func (r PatchV1TagsResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchV1TagsResponse) GetJSON403 ¶ added in v1.1.0
func (r PatchV1TagsResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchV1TagsResponse) GetJSON499 ¶ added in v1.1.0
func (r PatchV1TagsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PatchV1TagsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV1NotificationPreferencesResponse) GetJSON201 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetJSON201() *ModelsCreateNotificationPreferenceResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON400 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON401 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON403 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON499 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON500 ¶ added in v1.1.0
func (r PostV1NotificationPreferencesResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV1NotificationPreferencesResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PutV1AlertMuteRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1AlertMuteRulesResponse) GetJSON400 ¶ added in v1.1.0
func (r PutV1AlertMuteRulesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON401 ¶ added in v1.1.0
func (r PutV1AlertMuteRulesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON403 ¶ added in v1.1.0
func (r PutV1AlertMuteRulesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON499 ¶ added in v1.1.0
func (r PutV1AlertMuteRulesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1AlertMuteRulesResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PutV1ComputezonesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1ComputezonesResponse) GetJSON200 ¶ added in v1.1.0
func (r PutV1ComputezonesResponse) GetJSON200() *ModelsUpdateComputeZoneResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutV1ComputezonesResponse) GetJSON400 ¶ added in v1.1.0
func (r PutV1ComputezonesResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1ComputezonesResponse) GetJSON401 ¶ added in v1.1.0
func (r PutV1ComputezonesResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1ComputezonesResponse) GetJSON403 ¶ added in v1.1.0
func (r PutV1ComputezonesResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1ComputezonesResponse) GetJSON499 ¶ added in v1.1.0
func (r PutV1ComputezonesResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1ComputezonesResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PutV1NodeRemovalPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1NodeRemovalPolicyResponse) GetJSON400 ¶ added in v1.1.0
func (r PutV1NodeRemovalPolicyResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON401 ¶ added in v1.1.0
func (r PutV1NodeRemovalPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON403 ¶ added in v1.1.0
func (r PutV1NodeRemovalPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON500 ¶ added in v1.1.0
func (r PutV1NodeRemovalPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1NodeRemovalPolicyResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PutV1NodesNodeUuidTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1NodesNodeUuidTagsResponse) GetJSON200 ¶ added in v1.1.0
func (r PutV1NodesNodeUuidTagsResponse) GetJSON200() *ModelsSetNodeTagsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON400 ¶ added in v1.1.0
func (r PutV1NodesNodeUuidTagsResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON404 ¶ added in v1.1.0
func (r PutV1NodesNodeUuidTagsResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON499 ¶ added in v1.1.0
func (r PutV1NodesNodeUuidTagsResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1NodesNodeUuidTagsResponse) GetJSON500 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1NotificationPreferenceByIDResponse) GetJSON400 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON401 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON403 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON404 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetJSON404() *ModelsErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON499 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON500 ¶ added in v1.1.0
func (r PutV1NotificationPreferenceByIDResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1NotificationPreferenceByIDResponse) GetJSON503 ¶ added in v1.1.0
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 ¶ added in v1.1.0
func (r PutV1RetentionPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1RetentionPolicyResponse) GetJSON400 ¶ added in v1.1.0
func (r PutV1RetentionPolicyResponse) GetJSON400() *ModelsErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON401 ¶ added in v1.1.0
func (r PutV1RetentionPolicyResponse) GetJSON401() *ModelsErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON403 ¶ added in v1.1.0
func (r PutV1RetentionPolicyResponse) GetJSON403() *ModelsErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON499 ¶ added in v1.1.0
func (r PutV1RetentionPolicyResponse) GetJSON499() *ModelsErrorResponse
GetJSON499 returns the response for an HTTP 499 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON500 ¶ added in v1.1.0
func (r PutV1RetentionPolicyResponse) GetJSON500() *ModelsErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutV1RetentionPolicyResponse) GetJSON503 ¶ added in v1.1.0
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