Documentation ¶
Index ¶
- Constants
- type AlarmEvent
- type AlarmHierarchicalNotice
- type AlarmHierarchicalValue
- type AlarmHistory
- type AlarmHistoryMetric
- type AlarmNotice
- type AlarmPolicy
- type AlarmPolicyCondition
- type AlarmPolicyEventCondition
- type AlarmPolicyFilter
- type AlarmPolicyRule
- type AlarmPolicyTriggerTask
- type BindPrometheusManagedGrafanaRequest
- type BindPrometheusManagedGrafanaRequestParams
- type BindPrometheusManagedGrafanaResponse
- type BindPrometheusManagedGrafanaResponseParams
- type BindingPolicyObjectDimension
- type BindingPolicyObjectRequest
- type BindingPolicyObjectRequestParams
- type BindingPolicyObjectResponse
- type BindingPolicyObjectResponseParams
- type CLSNotice
- type CleanGrafanaInstanceRequest
- type CleanGrafanaInstanceRequestParams
- type CleanGrafanaInstanceResponse
- type CleanGrafanaInstanceResponseParams
- type Client
- func (c *Client) BindPrometheusManagedGrafana(request *BindPrometheusManagedGrafanaRequest) (response *BindPrometheusManagedGrafanaResponse, err error)
- func (c *Client) BindPrometheusManagedGrafanaWithContext(ctx context.Context, request *BindPrometheusManagedGrafanaRequest) (response *BindPrometheusManagedGrafanaResponse, err error)
- func (c *Client) BindingPolicyObject(request *BindingPolicyObjectRequest) (response *BindingPolicyObjectResponse, err error)
- func (c *Client) BindingPolicyObjectWithContext(ctx context.Context, request *BindingPolicyObjectRequest) (response *BindingPolicyObjectResponse, err error)
- func (c *Client) CleanGrafanaInstance(request *CleanGrafanaInstanceRequest) (response *CleanGrafanaInstanceResponse, err error)
- func (c *Client) CleanGrafanaInstanceWithContext(ctx context.Context, request *CleanGrafanaInstanceRequest) (response *CleanGrafanaInstanceResponse, err error)
- func (c *Client) CreateAlarmNotice(request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
- func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
- func (c *Client) CreateAlarmPolicy(request *CreateAlarmPolicyRequest) (response *CreateAlarmPolicyResponse, err error)
- func (c *Client) CreateAlarmPolicyWithContext(ctx context.Context, request *CreateAlarmPolicyRequest) (response *CreateAlarmPolicyResponse, err error)
- func (c *Client) CreateAlertRule(request *CreateAlertRuleRequest) (response *CreateAlertRuleResponse, err error)
- func (c *Client) CreateAlertRuleWithContext(ctx context.Context, request *CreateAlertRuleRequest) (response *CreateAlertRuleResponse, err error)
- func (c *Client) CreateExporterIntegration(request *CreateExporterIntegrationRequest) (response *CreateExporterIntegrationResponse, err error)
- func (c *Client) CreateExporterIntegrationWithContext(ctx context.Context, request *CreateExporterIntegrationRequest) (response *CreateExporterIntegrationResponse, err error)
- func (c *Client) CreateGrafanaInstance(request *CreateGrafanaInstanceRequest) (response *CreateGrafanaInstanceResponse, err error)
- func (c *Client) CreateGrafanaInstanceWithContext(ctx context.Context, request *CreateGrafanaInstanceRequest) (response *CreateGrafanaInstanceResponse, err error)
- func (c *Client) CreateGrafanaIntegration(request *CreateGrafanaIntegrationRequest) (response *CreateGrafanaIntegrationResponse, err error)
- func (c *Client) CreateGrafanaIntegrationWithContext(ctx context.Context, request *CreateGrafanaIntegrationRequest) (response *CreateGrafanaIntegrationResponse, err error)
- func (c *Client) CreateGrafanaNotificationChannel(request *CreateGrafanaNotificationChannelRequest) (response *CreateGrafanaNotificationChannelResponse, err error)
- func (c *Client) CreateGrafanaNotificationChannelWithContext(ctx context.Context, request *CreateGrafanaNotificationChannelRequest) (response *CreateGrafanaNotificationChannelResponse, err error)
- func (c *Client) CreatePolicyGroup(request *CreatePolicyGroupRequest) (response *CreatePolicyGroupResponse, err error)
- func (c *Client) CreatePolicyGroupWithContext(ctx context.Context, request *CreatePolicyGroupRequest) (response *CreatePolicyGroupResponse, err error)
- func (c *Client) CreatePrometheusAgent(request *CreatePrometheusAgentRequest) (response *CreatePrometheusAgentResponse, err error)
- func (c *Client) CreatePrometheusAgentWithContext(ctx context.Context, request *CreatePrometheusAgentRequest) (response *CreatePrometheusAgentResponse, err error)
- func (c *Client) CreatePrometheusMultiTenantInstancePostPayMode(request *CreatePrometheusMultiTenantInstancePostPayModeRequest) (response *CreatePrometheusMultiTenantInstancePostPayModeResponse, err error)
- func (c *Client) CreatePrometheusMultiTenantInstancePostPayModeWithContext(ctx context.Context, ...) (response *CreatePrometheusMultiTenantInstancePostPayModeResponse, err error)
- func (c *Client) CreatePrometheusScrapeJob(request *CreatePrometheusScrapeJobRequest) (response *CreatePrometheusScrapeJobResponse, err error)
- func (c *Client) CreatePrometheusScrapeJobWithContext(ctx context.Context, request *CreatePrometheusScrapeJobRequest) (response *CreatePrometheusScrapeJobResponse, err error)
- func (c *Client) CreateRecordingRule(request *CreateRecordingRuleRequest) (response *CreateRecordingRuleResponse, err error)
- func (c *Client) CreateRecordingRuleWithContext(ctx context.Context, request *CreateRecordingRuleRequest) (response *CreateRecordingRuleResponse, err error)
- func (c *Client) CreateSSOAccount(request *CreateSSOAccountRequest) (response *CreateSSOAccountResponse, err error)
- func (c *Client) CreateSSOAccountWithContext(ctx context.Context, request *CreateSSOAccountRequest) (response *CreateSSOAccountResponse, err error)
- func (c *Client) CreateServiceDiscovery(request *CreateServiceDiscoveryRequest) (response *CreateServiceDiscoveryResponse, err error)
- func (c *Client) CreateServiceDiscoveryWithContext(ctx context.Context, request *CreateServiceDiscoveryRequest) (response *CreateServiceDiscoveryResponse, err error)
- func (c *Client) DeleteAlarmNotices(request *DeleteAlarmNoticesRequest) (response *DeleteAlarmNoticesResponse, err error)
- func (c *Client) DeleteAlarmNoticesWithContext(ctx context.Context, request *DeleteAlarmNoticesRequest) (response *DeleteAlarmNoticesResponse, err error)
- func (c *Client) DeleteAlarmPolicy(request *DeleteAlarmPolicyRequest) (response *DeleteAlarmPolicyResponse, err error)
- func (c *Client) DeleteAlarmPolicyWithContext(ctx context.Context, request *DeleteAlarmPolicyRequest) (response *DeleteAlarmPolicyResponse, err error)
- func (c *Client) DeleteAlertRules(request *DeleteAlertRulesRequest) (response *DeleteAlertRulesResponse, err error)
- func (c *Client) DeleteAlertRulesWithContext(ctx context.Context, request *DeleteAlertRulesRequest) (response *DeleteAlertRulesResponse, err error)
- func (c *Client) DeleteExporterIntegration(request *DeleteExporterIntegrationRequest) (response *DeleteExporterIntegrationResponse, err error)
- func (c *Client) DeleteExporterIntegrationWithContext(ctx context.Context, request *DeleteExporterIntegrationRequest) (response *DeleteExporterIntegrationResponse, err error)
- func (c *Client) DeleteGrafanaInstance(request *DeleteGrafanaInstanceRequest) (response *DeleteGrafanaInstanceResponse, err error)
- func (c *Client) DeleteGrafanaInstanceWithContext(ctx context.Context, request *DeleteGrafanaInstanceRequest) (response *DeleteGrafanaInstanceResponse, err error)
- func (c *Client) DeleteGrafanaIntegration(request *DeleteGrafanaIntegrationRequest) (response *DeleteGrafanaIntegrationResponse, err error)
- func (c *Client) DeleteGrafanaIntegrationWithContext(ctx context.Context, request *DeleteGrafanaIntegrationRequest) (response *DeleteGrafanaIntegrationResponse, err error)
- func (c *Client) DeleteGrafanaNotificationChannel(request *DeleteGrafanaNotificationChannelRequest) (response *DeleteGrafanaNotificationChannelResponse, err error)
- func (c *Client) DeleteGrafanaNotificationChannelWithContext(ctx context.Context, request *DeleteGrafanaNotificationChannelRequest) (response *DeleteGrafanaNotificationChannelResponse, err error)
- func (c *Client) DeletePolicyGroup(request *DeletePolicyGroupRequest) (response *DeletePolicyGroupResponse, err error)
- func (c *Client) DeletePolicyGroupWithContext(ctx context.Context, request *DeletePolicyGroupRequest) (response *DeletePolicyGroupResponse, err error)
- func (c *Client) DeletePrometheusScrapeJobs(request *DeletePrometheusScrapeJobsRequest) (response *DeletePrometheusScrapeJobsResponse, err error)
- func (c *Client) DeletePrometheusScrapeJobsWithContext(ctx context.Context, request *DeletePrometheusScrapeJobsRequest) (response *DeletePrometheusScrapeJobsResponse, err error)
- func (c *Client) DeleteRecordingRules(request *DeleteRecordingRulesRequest) (response *DeleteRecordingRulesResponse, err error)
- func (c *Client) DeleteRecordingRulesWithContext(ctx context.Context, request *DeleteRecordingRulesRequest) (response *DeleteRecordingRulesResponse, err error)
- func (c *Client) DeleteSSOAccount(request *DeleteSSOAccountRequest) (response *DeleteSSOAccountResponse, err error)
- func (c *Client) DeleteSSOAccountWithContext(ctx context.Context, request *DeleteSSOAccountRequest) (response *DeleteSSOAccountResponse, err error)
- func (c *Client) DescribeAccidentEventList(request *DescribeAccidentEventListRequest) (response *DescribeAccidentEventListResponse, err error)
- func (c *Client) DescribeAccidentEventListWithContext(ctx context.Context, request *DescribeAccidentEventListRequest) (response *DescribeAccidentEventListResponse, err error)
- func (c *Client) DescribeAlarmEvents(request *DescribeAlarmEventsRequest) (response *DescribeAlarmEventsResponse, err error)
- func (c *Client) DescribeAlarmEventsWithContext(ctx context.Context, request *DescribeAlarmEventsRequest) (response *DescribeAlarmEventsResponse, err error)
- func (c *Client) DescribeAlarmHistories(request *DescribeAlarmHistoriesRequest) (response *DescribeAlarmHistoriesResponse, err error)
- func (c *Client) DescribeAlarmHistoriesWithContext(ctx context.Context, request *DescribeAlarmHistoriesRequest) (response *DescribeAlarmHistoriesResponse, err error)
- func (c *Client) DescribeAlarmMetrics(request *DescribeAlarmMetricsRequest) (response *DescribeAlarmMetricsResponse, err error)
- func (c *Client) DescribeAlarmMetricsWithContext(ctx context.Context, request *DescribeAlarmMetricsRequest) (response *DescribeAlarmMetricsResponse, err error)
- func (c *Client) DescribeAlarmNotice(request *DescribeAlarmNoticeRequest) (response *DescribeAlarmNoticeResponse, err error)
- func (c *Client) DescribeAlarmNoticeCallbacks(request *DescribeAlarmNoticeCallbacksRequest) (response *DescribeAlarmNoticeCallbacksResponse, err error)
- func (c *Client) DescribeAlarmNoticeCallbacksWithContext(ctx context.Context, request *DescribeAlarmNoticeCallbacksRequest) (response *DescribeAlarmNoticeCallbacksResponse, err error)
- func (c *Client) DescribeAlarmNoticeWithContext(ctx context.Context, request *DescribeAlarmNoticeRequest) (response *DescribeAlarmNoticeResponse, err error)
- func (c *Client) DescribeAlarmNotices(request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
- func (c *Client) DescribeAlarmNoticesWithContext(ctx context.Context, request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
- func (c *Client) DescribeAlarmPolicies(request *DescribeAlarmPoliciesRequest) (response *DescribeAlarmPoliciesResponse, err error)
- func (c *Client) DescribeAlarmPoliciesWithContext(ctx context.Context, request *DescribeAlarmPoliciesRequest) (response *DescribeAlarmPoliciesResponse, err error)
- func (c *Client) DescribeAlarmPolicy(request *DescribeAlarmPolicyRequest) (response *DescribeAlarmPolicyResponse, err error)
- func (c *Client) DescribeAlarmPolicyWithContext(ctx context.Context, request *DescribeAlarmPolicyRequest) (response *DescribeAlarmPolicyResponse, err error)
- func (c *Client) DescribeAlertRules(request *DescribeAlertRulesRequest) (response *DescribeAlertRulesResponse, err error)
- func (c *Client) DescribeAlertRulesWithContext(ctx context.Context, request *DescribeAlertRulesRequest) (response *DescribeAlertRulesResponse, err error)
- func (c *Client) DescribeAllNamespaces(request *DescribeAllNamespacesRequest) (response *DescribeAllNamespacesResponse, err error)
- func (c *Client) DescribeAllNamespacesWithContext(ctx context.Context, request *DescribeAllNamespacesRequest) (response *DescribeAllNamespacesResponse, err error)
- func (c *Client) DescribeBaseMetrics(request *DescribeBaseMetricsRequest) (response *DescribeBaseMetricsResponse, err error)
- func (c *Client) DescribeBaseMetricsWithContext(ctx context.Context, request *DescribeBaseMetricsRequest) (response *DescribeBaseMetricsResponse, err error)
- func (c *Client) DescribeBasicAlarmList(request *DescribeBasicAlarmListRequest) (response *DescribeBasicAlarmListResponse, err error)
- func (c *Client) DescribeBasicAlarmListWithContext(ctx context.Context, request *DescribeBasicAlarmListRequest) (response *DescribeBasicAlarmListResponse, err error)
- func (c *Client) DescribeBindingPolicyObjectList(request *DescribeBindingPolicyObjectListRequest) (response *DescribeBindingPolicyObjectListResponse, err error)
- func (c *Client) DescribeBindingPolicyObjectListWithContext(ctx context.Context, request *DescribeBindingPolicyObjectListRequest) (response *DescribeBindingPolicyObjectListResponse, err error)
- func (c *Client) DescribeConditionsTemplateList(request *DescribeConditionsTemplateListRequest) (response *DescribeConditionsTemplateListResponse, err error)
- func (c *Client) DescribeConditionsTemplateListWithContext(ctx context.Context, request *DescribeConditionsTemplateListRequest) (response *DescribeConditionsTemplateListResponse, err error)
- func (c *Client) DescribeDNSConfig(request *DescribeDNSConfigRequest) (response *DescribeDNSConfigResponse, err error)
- func (c *Client) DescribeDNSConfigWithContext(ctx context.Context, request *DescribeDNSConfigRequest) (response *DescribeDNSConfigResponse, err error)
- func (c *Client) DescribeExporterIntegrations(request *DescribeExporterIntegrationsRequest) (response *DescribeExporterIntegrationsResponse, err error)
- func (c *Client) DescribeExporterIntegrationsWithContext(ctx context.Context, request *DescribeExporterIntegrationsRequest) (response *DescribeExporterIntegrationsResponse, err error)
- func (c *Client) DescribeGrafanaChannels(request *DescribeGrafanaChannelsRequest) (response *DescribeGrafanaChannelsResponse, err error)
- func (c *Client) DescribeGrafanaChannelsWithContext(ctx context.Context, request *DescribeGrafanaChannelsRequest) (response *DescribeGrafanaChannelsResponse, err error)
- func (c *Client) DescribeGrafanaConfig(request *DescribeGrafanaConfigRequest) (response *DescribeGrafanaConfigResponse, err error)
- func (c *Client) DescribeGrafanaConfigWithContext(ctx context.Context, request *DescribeGrafanaConfigRequest) (response *DescribeGrafanaConfigResponse, err error)
- func (c *Client) DescribeGrafanaEnvironments(request *DescribeGrafanaEnvironmentsRequest) (response *DescribeGrafanaEnvironmentsResponse, err error)
- func (c *Client) DescribeGrafanaEnvironmentsWithContext(ctx context.Context, request *DescribeGrafanaEnvironmentsRequest) (response *DescribeGrafanaEnvironmentsResponse, err error)
- func (c *Client) DescribeGrafanaInstances(request *DescribeGrafanaInstancesRequest) (response *DescribeGrafanaInstancesResponse, err error)
- func (c *Client) DescribeGrafanaInstancesWithContext(ctx context.Context, request *DescribeGrafanaInstancesRequest) (response *DescribeGrafanaInstancesResponse, err error)
- func (c *Client) DescribeGrafanaIntegrations(request *DescribeGrafanaIntegrationsRequest) (response *DescribeGrafanaIntegrationsResponse, err error)
- func (c *Client) DescribeGrafanaIntegrationsWithContext(ctx context.Context, request *DescribeGrafanaIntegrationsRequest) (response *DescribeGrafanaIntegrationsResponse, err error)
- func (c *Client) DescribeGrafanaNotificationChannels(request *DescribeGrafanaNotificationChannelsRequest) (response *DescribeGrafanaNotificationChannelsResponse, err error)
- func (c *Client) DescribeGrafanaNotificationChannelsWithContext(ctx context.Context, request *DescribeGrafanaNotificationChannelsRequest) (response *DescribeGrafanaNotificationChannelsResponse, err error)
- func (c *Client) DescribeGrafanaWhiteList(request *DescribeGrafanaWhiteListRequest) (response *DescribeGrafanaWhiteListResponse, err error)
- func (c *Client) DescribeGrafanaWhiteListWithContext(ctx context.Context, request *DescribeGrafanaWhiteListRequest) (response *DescribeGrafanaWhiteListResponse, err error)
- func (c *Client) DescribeInstalledPlugins(request *DescribeInstalledPluginsRequest) (response *DescribeInstalledPluginsResponse, err error)
- func (c *Client) DescribeInstalledPluginsWithContext(ctx context.Context, request *DescribeInstalledPluginsRequest) (response *DescribeInstalledPluginsResponse, err error)
- func (c *Client) DescribeMonitorTypes(request *DescribeMonitorTypesRequest) (response *DescribeMonitorTypesResponse, err error)
- func (c *Client) DescribeMonitorTypesWithContext(ctx context.Context, request *DescribeMonitorTypesRequest) (response *DescribeMonitorTypesResponse, err error)
- func (c *Client) DescribePolicyConditionList(request *DescribePolicyConditionListRequest) (response *DescribePolicyConditionListResponse, err error)
- func (c *Client) DescribePolicyConditionListWithContext(ctx context.Context, request *DescribePolicyConditionListRequest) (response *DescribePolicyConditionListResponse, err error)
- func (c *Client) DescribePolicyGroupInfo(request *DescribePolicyGroupInfoRequest) (response *DescribePolicyGroupInfoResponse, err error)
- func (c *Client) DescribePolicyGroupInfoWithContext(ctx context.Context, request *DescribePolicyGroupInfoRequest) (response *DescribePolicyGroupInfoResponse, err error)
- func (c *Client) DescribePolicyGroupList(request *DescribePolicyGroupListRequest) (response *DescribePolicyGroupListResponse, err error)
- func (c *Client) DescribePolicyGroupListWithContext(ctx context.Context, request *DescribePolicyGroupListRequest) (response *DescribePolicyGroupListResponse, err error)
- func (c *Client) DescribeProductEventList(request *DescribeProductEventListRequest) (response *DescribeProductEventListResponse, err error)
- func (c *Client) DescribeProductEventListWithContext(ctx context.Context, request *DescribeProductEventListRequest) (response *DescribeProductEventListResponse, err error)
- func (c *Client) DescribePrometheusAgents(request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error)
- func (c *Client) DescribePrometheusAgentsWithContext(ctx context.Context, request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error)
- func (c *Client) DescribePrometheusInstances(request *DescribePrometheusInstancesRequest) (response *DescribePrometheusInstancesResponse, err error)
- func (c *Client) DescribePrometheusInstancesWithContext(ctx context.Context, request *DescribePrometheusInstancesRequest) (response *DescribePrometheusInstancesResponse, err error)
- func (c *Client) DescribePrometheusScrapeJobs(request *DescribePrometheusScrapeJobsRequest) (response *DescribePrometheusScrapeJobsResponse, err error)
- func (c *Client) DescribePrometheusScrapeJobsWithContext(ctx context.Context, request *DescribePrometheusScrapeJobsRequest) (response *DescribePrometheusScrapeJobsResponse, err error)
- func (c *Client) DescribeRecordingRules(request *DescribeRecordingRulesRequest) (response *DescribeRecordingRulesResponse, err error)
- func (c *Client) DescribeRecordingRulesWithContext(ctx context.Context, request *DescribeRecordingRulesRequest) (response *DescribeRecordingRulesResponse, err error)
- func (c *Client) DescribeSSOAccount(request *DescribeSSOAccountRequest) (response *DescribeSSOAccountResponse, err error)
- func (c *Client) DescribeSSOAccountWithContext(ctx context.Context, request *DescribeSSOAccountRequest) (response *DescribeSSOAccountResponse, err error)
- func (c *Client) DescribeServiceDiscovery(request *DescribeServiceDiscoveryRequest) (response *DescribeServiceDiscoveryResponse, err error)
- func (c *Client) DescribeServiceDiscoveryWithContext(ctx context.Context, request *DescribeServiceDiscoveryRequest) (response *DescribeServiceDiscoveryResponse, err error)
- func (c *Client) DescribeStatisticData(request *DescribeStatisticDataRequest) (response *DescribeStatisticDataResponse, err error)
- func (c *Client) DescribeStatisticDataWithContext(ctx context.Context, request *DescribeStatisticDataRequest) (response *DescribeStatisticDataResponse, err error)
- func (c *Client) DestroyPrometheusInstance(request *DestroyPrometheusInstanceRequest) (response *DestroyPrometheusInstanceResponse, err error)
- func (c *Client) DestroyPrometheusInstanceWithContext(ctx context.Context, request *DestroyPrometheusInstanceRequest) (response *DestroyPrometheusInstanceResponse, err error)
- func (c *Client) EnableGrafanaInternet(request *EnableGrafanaInternetRequest) (response *EnableGrafanaInternetResponse, err error)
- func (c *Client) EnableGrafanaInternetWithContext(ctx context.Context, request *EnableGrafanaInternetRequest) (response *EnableGrafanaInternetResponse, err error)
- func (c *Client) EnableGrafanaSSO(request *EnableGrafanaSSORequest) (response *EnableGrafanaSSOResponse, err error)
- func (c *Client) EnableGrafanaSSOWithContext(ctx context.Context, request *EnableGrafanaSSORequest) (response *EnableGrafanaSSOResponse, err error)
- func (c *Client) EnableSSOCamCheck(request *EnableSSOCamCheckRequest) (response *EnableSSOCamCheckResponse, err error)
- func (c *Client) EnableSSOCamCheckWithContext(ctx context.Context, request *EnableSSOCamCheckRequest) (response *EnableSSOCamCheckResponse, err error)
- func (c *Client) GetMonitorData(request *GetMonitorDataRequest) (response *GetMonitorDataResponse, err error)
- func (c *Client) GetMonitorDataWithContext(ctx context.Context, request *GetMonitorDataRequest) (response *GetMonitorDataResponse, err error)
- func (c *Client) GetPrometheusAgentManagementCommand(request *GetPrometheusAgentManagementCommandRequest) (response *GetPrometheusAgentManagementCommandResponse, err error)
- func (c *Client) GetPrometheusAgentManagementCommandWithContext(ctx context.Context, request *GetPrometheusAgentManagementCommandRequest) (response *GetPrometheusAgentManagementCommandResponse, err error)
- func (c *Client) InstallPlugins(request *InstallPluginsRequest) (response *InstallPluginsResponse, err error)
- func (c *Client) InstallPluginsWithContext(ctx context.Context, request *InstallPluginsRequest) (response *InstallPluginsResponse, err error)
- func (c *Client) ModifyAlarmNotice(request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
- func (c *Client) ModifyAlarmNoticeWithContext(ctx context.Context, request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
- func (c *Client) ModifyAlarmPolicyCondition(request *ModifyAlarmPolicyConditionRequest) (response *ModifyAlarmPolicyConditionResponse, err error)
- func (c *Client) ModifyAlarmPolicyConditionWithContext(ctx context.Context, request *ModifyAlarmPolicyConditionRequest) (response *ModifyAlarmPolicyConditionResponse, err error)
- func (c *Client) ModifyAlarmPolicyInfo(request *ModifyAlarmPolicyInfoRequest) (response *ModifyAlarmPolicyInfoResponse, err error)
- func (c *Client) ModifyAlarmPolicyInfoWithContext(ctx context.Context, request *ModifyAlarmPolicyInfoRequest) (response *ModifyAlarmPolicyInfoResponse, err error)
- func (c *Client) ModifyAlarmPolicyNotice(request *ModifyAlarmPolicyNoticeRequest) (response *ModifyAlarmPolicyNoticeResponse, err error)
- func (c *Client) ModifyAlarmPolicyNoticeWithContext(ctx context.Context, request *ModifyAlarmPolicyNoticeRequest) (response *ModifyAlarmPolicyNoticeResponse, err error)
- func (c *Client) ModifyAlarmPolicyStatus(request *ModifyAlarmPolicyStatusRequest) (response *ModifyAlarmPolicyStatusResponse, err error)
- func (c *Client) ModifyAlarmPolicyStatusWithContext(ctx context.Context, request *ModifyAlarmPolicyStatusRequest) (response *ModifyAlarmPolicyStatusResponse, err error)
- func (c *Client) ModifyAlarmPolicyTasks(request *ModifyAlarmPolicyTasksRequest) (response *ModifyAlarmPolicyTasksResponse, err error)
- func (c *Client) ModifyAlarmPolicyTasksWithContext(ctx context.Context, request *ModifyAlarmPolicyTasksRequest) (response *ModifyAlarmPolicyTasksResponse, err error)
- func (c *Client) ModifyAlarmReceivers(request *ModifyAlarmReceiversRequest) (response *ModifyAlarmReceiversResponse, err error)
- func (c *Client) ModifyAlarmReceiversWithContext(ctx context.Context, request *ModifyAlarmReceiversRequest) (response *ModifyAlarmReceiversResponse, err error)
- func (c *Client) ModifyGrafanaInstance(request *ModifyGrafanaInstanceRequest) (response *ModifyGrafanaInstanceResponse, err error)
- func (c *Client) ModifyGrafanaInstanceWithContext(ctx context.Context, request *ModifyGrafanaInstanceRequest) (response *ModifyGrafanaInstanceResponse, err error)
- func (c *Client) ModifyPolicyGroup(request *ModifyPolicyGroupRequest) (response *ModifyPolicyGroupResponse, err error)
- func (c *Client) ModifyPolicyGroupWithContext(ctx context.Context, request *ModifyPolicyGroupRequest) (response *ModifyPolicyGroupResponse, err error)
- func (c *Client) ModifyPrometheusInstanceAttributes(request *ModifyPrometheusInstanceAttributesRequest) (response *ModifyPrometheusInstanceAttributesResponse, err error)
- func (c *Client) ModifyPrometheusInstanceAttributesWithContext(ctx context.Context, request *ModifyPrometheusInstanceAttributesRequest) (response *ModifyPrometheusInstanceAttributesResponse, err error)
- func (c *Client) PutMonitorData(request *PutMonitorDataRequest) (response *PutMonitorDataResponse, err error)
- func (c *Client) PutMonitorDataWithContext(ctx context.Context, request *PutMonitorDataRequest) (response *PutMonitorDataResponse, err error)
- func (c *Client) ResumeGrafanaInstance(request *ResumeGrafanaInstanceRequest) (response *ResumeGrafanaInstanceResponse, err error)
- func (c *Client) ResumeGrafanaInstanceWithContext(ctx context.Context, request *ResumeGrafanaInstanceRequest) (response *ResumeGrafanaInstanceResponse, err error)
- func (c *Client) SendCustomAlarmMsg(request *SendCustomAlarmMsgRequest) (response *SendCustomAlarmMsgResponse, err error)
- func (c *Client) SendCustomAlarmMsgWithContext(ctx context.Context, request *SendCustomAlarmMsgRequest) (response *SendCustomAlarmMsgResponse, err error)
- func (c *Client) SetDefaultAlarmPolicy(request *SetDefaultAlarmPolicyRequest) (response *SetDefaultAlarmPolicyResponse, err error)
- func (c *Client) SetDefaultAlarmPolicyWithContext(ctx context.Context, request *SetDefaultAlarmPolicyRequest) (response *SetDefaultAlarmPolicyResponse, err error)
- func (c *Client) TerminatePrometheusInstances(request *TerminatePrometheusInstancesRequest) (response *TerminatePrometheusInstancesResponse, err error)
- func (c *Client) TerminatePrometheusInstancesWithContext(ctx context.Context, request *TerminatePrometheusInstancesRequest) (response *TerminatePrometheusInstancesResponse, err error)
- func (c *Client) UnBindingAllPolicyObject(request *UnBindingAllPolicyObjectRequest) (response *UnBindingAllPolicyObjectResponse, err error)
- func (c *Client) UnBindingAllPolicyObjectWithContext(ctx context.Context, request *UnBindingAllPolicyObjectRequest) (response *UnBindingAllPolicyObjectResponse, err error)
- func (c *Client) UnBindingPolicyObject(request *UnBindingPolicyObjectRequest) (response *UnBindingPolicyObjectResponse, err error)
- func (c *Client) UnBindingPolicyObjectWithContext(ctx context.Context, request *UnBindingPolicyObjectRequest) (response *UnBindingPolicyObjectResponse, err error)
- func (c *Client) UnbindPrometheusManagedGrafana(request *UnbindPrometheusManagedGrafanaRequest) (response *UnbindPrometheusManagedGrafanaResponse, err error)
- func (c *Client) UnbindPrometheusManagedGrafanaWithContext(ctx context.Context, request *UnbindPrometheusManagedGrafanaRequest) (response *UnbindPrometheusManagedGrafanaResponse, err error)
- func (c *Client) UninstallGrafanaDashboard(request *UninstallGrafanaDashboardRequest) (response *UninstallGrafanaDashboardResponse, err error)
- func (c *Client) UninstallGrafanaDashboardWithContext(ctx context.Context, request *UninstallGrafanaDashboardRequest) (response *UninstallGrafanaDashboardResponse, err error)
- func (c *Client) UninstallGrafanaPlugins(request *UninstallGrafanaPluginsRequest) (response *UninstallGrafanaPluginsResponse, err error)
- func (c *Client) UninstallGrafanaPluginsWithContext(ctx context.Context, request *UninstallGrafanaPluginsRequest) (response *UninstallGrafanaPluginsResponse, err error)
- func (c *Client) UpdateAlertRule(request *UpdateAlertRuleRequest) (response *UpdateAlertRuleResponse, err error)
- func (c *Client) UpdateAlertRuleState(request *UpdateAlertRuleStateRequest) (response *UpdateAlertRuleStateResponse, err error)
- func (c *Client) UpdateAlertRuleStateWithContext(ctx context.Context, request *UpdateAlertRuleStateRequest) (response *UpdateAlertRuleStateResponse, err error)
- func (c *Client) UpdateAlertRuleWithContext(ctx context.Context, request *UpdateAlertRuleRequest) (response *UpdateAlertRuleResponse, err error)
- func (c *Client) UpdateDNSConfig(request *UpdateDNSConfigRequest) (response *UpdateDNSConfigResponse, err error)
- func (c *Client) UpdateDNSConfigWithContext(ctx context.Context, request *UpdateDNSConfigRequest) (response *UpdateDNSConfigResponse, err error)
- func (c *Client) UpdateExporterIntegration(request *UpdateExporterIntegrationRequest) (response *UpdateExporterIntegrationResponse, err error)
- func (c *Client) UpdateExporterIntegrationWithContext(ctx context.Context, request *UpdateExporterIntegrationRequest) (response *UpdateExporterIntegrationResponse, err error)
- func (c *Client) UpdateGrafanaConfig(request *UpdateGrafanaConfigRequest) (response *UpdateGrafanaConfigResponse, err error)
- func (c *Client) UpdateGrafanaConfigWithContext(ctx context.Context, request *UpdateGrafanaConfigRequest) (response *UpdateGrafanaConfigResponse, err error)
- func (c *Client) UpdateGrafanaEnvironments(request *UpdateGrafanaEnvironmentsRequest) (response *UpdateGrafanaEnvironmentsResponse, err error)
- func (c *Client) UpdateGrafanaEnvironmentsWithContext(ctx context.Context, request *UpdateGrafanaEnvironmentsRequest) (response *UpdateGrafanaEnvironmentsResponse, err error)
- func (c *Client) UpdateGrafanaIntegration(request *UpdateGrafanaIntegrationRequest) (response *UpdateGrafanaIntegrationResponse, err error)
- func (c *Client) UpdateGrafanaIntegrationWithContext(ctx context.Context, request *UpdateGrafanaIntegrationRequest) (response *UpdateGrafanaIntegrationResponse, err error)
- func (c *Client) UpdateGrafanaNotificationChannel(request *UpdateGrafanaNotificationChannelRequest) (response *UpdateGrafanaNotificationChannelResponse, err error)
- func (c *Client) UpdateGrafanaNotificationChannelWithContext(ctx context.Context, request *UpdateGrafanaNotificationChannelRequest) (response *UpdateGrafanaNotificationChannelResponse, err error)
- func (c *Client) UpdateGrafanaWhiteList(request *UpdateGrafanaWhiteListRequest) (response *UpdateGrafanaWhiteListResponse, err error)
- func (c *Client) UpdateGrafanaWhiteListWithContext(ctx context.Context, request *UpdateGrafanaWhiteListRequest) (response *UpdateGrafanaWhiteListResponse, err error)
- func (c *Client) UpdatePrometheusAgentStatus(request *UpdatePrometheusAgentStatusRequest) (response *UpdatePrometheusAgentStatusResponse, err error)
- func (c *Client) UpdatePrometheusAgentStatusWithContext(ctx context.Context, request *UpdatePrometheusAgentStatusRequest) (response *UpdatePrometheusAgentStatusResponse, err error)
- func (c *Client) UpdatePrometheusScrapeJob(request *UpdatePrometheusScrapeJobRequest) (response *UpdatePrometheusScrapeJobResponse, err error)
- func (c *Client) UpdatePrometheusScrapeJobWithContext(ctx context.Context, request *UpdatePrometheusScrapeJobRequest) (response *UpdatePrometheusScrapeJobResponse, err error)
- func (c *Client) UpdateRecordingRule(request *UpdateRecordingRuleRequest) (response *UpdateRecordingRuleResponse, err error)
- func (c *Client) UpdateRecordingRuleWithContext(ctx context.Context, request *UpdateRecordingRuleRequest) (response *UpdateRecordingRuleResponse, err error)
- func (c *Client) UpdateSSOAccount(request *UpdateSSOAccountRequest) (response *UpdateSSOAccountResponse, err error)
- func (c *Client) UpdateSSOAccountWithContext(ctx context.Context, request *UpdateSSOAccountRequest) (response *UpdateSSOAccountResponse, err error)
- func (c *Client) UpgradeGrafanaDashboard(request *UpgradeGrafanaDashboardRequest) (response *UpgradeGrafanaDashboardResponse, err error)
- func (c *Client) UpgradeGrafanaDashboardWithContext(ctx context.Context, request *UpgradeGrafanaDashboardRequest) (response *UpgradeGrafanaDashboardResponse, err error)
- func (c *Client) UpgradeGrafanaInstance(request *UpgradeGrafanaInstanceRequest) (response *UpgradeGrafanaInstanceResponse, err error)
- func (c *Client) UpgradeGrafanaInstanceWithContext(ctx context.Context, request *UpgradeGrafanaInstanceRequest) (response *UpgradeGrafanaInstanceResponse, err error)
- type CommonNamespace
- type CommonNamespaceNew
- type Condition
- type ConditionsTemp
- type CreateAlarmNoticeRequest
- type CreateAlarmNoticeRequestParams
- type CreateAlarmNoticeResponse
- type CreateAlarmNoticeResponseParams
- type CreateAlarmPolicyRequest
- type CreateAlarmPolicyRequestParams
- type CreateAlarmPolicyResponse
- type CreateAlarmPolicyResponseParams
- type CreateAlertRuleRequest
- type CreateAlertRuleRequestParams
- type CreateAlertRuleResponse
- type CreateAlertRuleResponseParams
- type CreateExporterIntegrationRequest
- type CreateExporterIntegrationRequestParams
- type CreateExporterIntegrationResponse
- type CreateExporterIntegrationResponseParams
- type CreateGrafanaInstanceRequest
- type CreateGrafanaInstanceRequestParams
- type CreateGrafanaInstanceResponse
- type CreateGrafanaInstanceResponseParams
- type CreateGrafanaIntegrationRequest
- type CreateGrafanaIntegrationRequestParams
- type CreateGrafanaIntegrationResponse
- type CreateGrafanaIntegrationResponseParams
- type CreateGrafanaNotificationChannelRequest
- type CreateGrafanaNotificationChannelRequestParams
- type CreateGrafanaNotificationChannelResponse
- type CreateGrafanaNotificationChannelResponseParams
- type CreatePolicyGroupCondition
- type CreatePolicyGroupEventCondition
- type CreatePolicyGroupRequest
- type CreatePolicyGroupRequestParams
- type CreatePolicyGroupResponse
- type CreatePolicyGroupResponseParams
- type CreatePrometheusAgentRequest
- type CreatePrometheusAgentRequestParams
- type CreatePrometheusAgentResponse
- type CreatePrometheusAgentResponseParams
- type CreatePrometheusMultiTenantInstancePostPayModeRequest
- type CreatePrometheusMultiTenantInstancePostPayModeRequestParams
- type CreatePrometheusMultiTenantInstancePostPayModeResponse
- type CreatePrometheusMultiTenantInstancePostPayModeResponseParams
- type CreatePrometheusScrapeJobRequest
- type CreatePrometheusScrapeJobRequestParams
- type CreatePrometheusScrapeJobResponse
- type CreatePrometheusScrapeJobResponseParams
- type CreateRecordingRuleRequest
- type CreateRecordingRuleRequestParams
- type CreateRecordingRuleResponse
- type CreateRecordingRuleResponseParams
- type CreateSSOAccountRequest
- type CreateSSOAccountRequestParams
- type CreateSSOAccountResponse
- type CreateSSOAccountResponseParams
- type CreateServiceDiscoveryRequest
- type CreateServiceDiscoveryRequestParams
- type CreateServiceDiscoveryResponse
- type CreateServiceDiscoveryResponseParams
- type DataPoint
- type DeleteAlarmNoticesRequest
- type DeleteAlarmNoticesRequestParams
- type DeleteAlarmNoticesResponse
- type DeleteAlarmNoticesResponseParams
- type DeleteAlarmPolicyRequest
- type DeleteAlarmPolicyRequestParams
- type DeleteAlarmPolicyResponse
- type DeleteAlarmPolicyResponseParams
- type DeleteAlertRulesRequest
- type DeleteAlertRulesRequestParams
- type DeleteAlertRulesResponse
- type DeleteAlertRulesResponseParams
- type DeleteExporterIntegrationRequest
- type DeleteExporterIntegrationRequestParams
- type DeleteExporterIntegrationResponse
- type DeleteExporterIntegrationResponseParams
- type DeleteGrafanaInstanceRequest
- type DeleteGrafanaInstanceRequestParams
- type DeleteGrafanaInstanceResponse
- type DeleteGrafanaInstanceResponseParams
- type DeleteGrafanaIntegrationRequest
- type DeleteGrafanaIntegrationRequestParams
- type DeleteGrafanaIntegrationResponse
- type DeleteGrafanaIntegrationResponseParams
- type DeleteGrafanaNotificationChannelRequest
- type DeleteGrafanaNotificationChannelRequestParams
- type DeleteGrafanaNotificationChannelResponse
- type DeleteGrafanaNotificationChannelResponseParams
- type DeletePolicyGroupRequest
- type DeletePolicyGroupRequestParams
- type DeletePolicyGroupResponse
- type DeletePolicyGroupResponseParams
- type DeletePrometheusScrapeJobsRequest
- type DeletePrometheusScrapeJobsRequestParams
- type DeletePrometheusScrapeJobsResponse
- type DeletePrometheusScrapeJobsResponseParams
- type DeleteRecordingRulesRequest
- type DeleteRecordingRulesRequestParams
- type DeleteRecordingRulesResponse
- type DeleteRecordingRulesResponseParams
- type DeleteSSOAccountRequest
- type DeleteSSOAccountRequestParams
- type DeleteSSOAccountResponse
- type DeleteSSOAccountResponseParams
- type DescribeAccidentEventListAlarms
- type DescribeAccidentEventListRequest
- type DescribeAccidentEventListRequestParams
- type DescribeAccidentEventListResponse
- type DescribeAccidentEventListResponseParams
- type DescribeAlarmEventsRequest
- type DescribeAlarmEventsRequestParams
- type DescribeAlarmEventsResponse
- type DescribeAlarmEventsResponseParams
- type DescribeAlarmHistoriesRequest
- type DescribeAlarmHistoriesRequestParams
- type DescribeAlarmHistoriesResponse
- type DescribeAlarmHistoriesResponseParams
- type DescribeAlarmMetricsRequest
- type DescribeAlarmMetricsRequestParams
- type DescribeAlarmMetricsResponse
- type DescribeAlarmMetricsResponseParams
- type DescribeAlarmNoticeCallbacksRequest
- type DescribeAlarmNoticeCallbacksRequestParams
- type DescribeAlarmNoticeCallbacksResponse
- type DescribeAlarmNoticeCallbacksResponseParams
- type DescribeAlarmNoticeRequest
- type DescribeAlarmNoticeRequestParams
- type DescribeAlarmNoticeResponse
- type DescribeAlarmNoticeResponseParams
- type DescribeAlarmNoticesRequest
- type DescribeAlarmNoticesRequestParams
- type DescribeAlarmNoticesResponse
- type DescribeAlarmNoticesResponseParams
- type DescribeAlarmPoliciesRequest
- type DescribeAlarmPoliciesRequestParams
- type DescribeAlarmPoliciesResponse
- type DescribeAlarmPoliciesResponseParams
- type DescribeAlarmPolicyRequest
- type DescribeAlarmPolicyRequestParams
- type DescribeAlarmPolicyResponse
- type DescribeAlarmPolicyResponseParams
- type DescribeAlertRulesRequest
- type DescribeAlertRulesRequestParams
- type DescribeAlertRulesResponse
- type DescribeAlertRulesResponseParams
- type DescribeAllNamespacesRequest
- type DescribeAllNamespacesRequestParams
- type DescribeAllNamespacesResponse
- type DescribeAllNamespacesResponseParams
- type DescribeBaseMetricsRequest
- type DescribeBaseMetricsRequestParams
- type DescribeBaseMetricsResponse
- type DescribeBaseMetricsResponseParams
- type DescribeBasicAlarmListAlarms
- type DescribeBasicAlarmListRequest
- type DescribeBasicAlarmListRequestParams
- type DescribeBasicAlarmListResponse
- type DescribeBasicAlarmListResponseParams
- type DescribeBindingPolicyObjectListDimension
- type DescribeBindingPolicyObjectListInstance
- type DescribeBindingPolicyObjectListInstanceGroup
- type DescribeBindingPolicyObjectListRequest
- type DescribeBindingPolicyObjectListRequestParams
- type DescribeBindingPolicyObjectListResponse
- type DescribeBindingPolicyObjectListResponseParams
- type DescribeConditionsTemplateListRequest
- type DescribeConditionsTemplateListRequestParams
- type DescribeConditionsTemplateListResponse
- type DescribeConditionsTemplateListResponseParams
- type DescribeDNSConfigRequest
- type DescribeDNSConfigRequestParams
- type DescribeDNSConfigResponse
- type DescribeDNSConfigResponseParams
- type DescribeExporterIntegrationsRequest
- type DescribeExporterIntegrationsRequestParams
- type DescribeExporterIntegrationsResponse
- type DescribeExporterIntegrationsResponseParams
- type DescribeGrafanaChannelsRequest
- type DescribeGrafanaChannelsRequestParams
- type DescribeGrafanaChannelsResponse
- type DescribeGrafanaChannelsResponseParams
- type DescribeGrafanaConfigRequest
- type DescribeGrafanaConfigRequestParams
- type DescribeGrafanaConfigResponse
- type DescribeGrafanaConfigResponseParams
- type DescribeGrafanaEnvironmentsRequest
- type DescribeGrafanaEnvironmentsRequestParams
- type DescribeGrafanaEnvironmentsResponse
- type DescribeGrafanaEnvironmentsResponseParams
- type DescribeGrafanaInstancesRequest
- type DescribeGrafanaInstancesRequestParams
- type DescribeGrafanaInstancesResponse
- type DescribeGrafanaInstancesResponseParams
- type DescribeGrafanaIntegrationsRequest
- type DescribeGrafanaIntegrationsRequestParams
- type DescribeGrafanaIntegrationsResponse
- type DescribeGrafanaIntegrationsResponseParams
- type DescribeGrafanaNotificationChannelsRequest
- type DescribeGrafanaNotificationChannelsRequestParams
- type DescribeGrafanaNotificationChannelsResponse
- type DescribeGrafanaNotificationChannelsResponseParams
- type DescribeGrafanaWhiteListRequest
- type DescribeGrafanaWhiteListRequestParams
- type DescribeGrafanaWhiteListResponse
- type DescribeGrafanaWhiteListResponseParams
- type DescribeInstalledPluginsRequest
- type DescribeInstalledPluginsRequestParams
- type DescribeInstalledPluginsResponse
- type DescribeInstalledPluginsResponseParams
- type DescribeMonitorTypesRequest
- type DescribeMonitorTypesRequestParams
- type DescribeMonitorTypesResponse
- type DescribeMonitorTypesResponseParams
- type DescribePolicyConditionListCondition
- type DescribePolicyConditionListConfigManual
- type DescribePolicyConditionListConfigManualCalcType
- type DescribePolicyConditionListConfigManualCalcValue
- type DescribePolicyConditionListConfigManualContinueTime
- type DescribePolicyConditionListConfigManualPeriod
- type DescribePolicyConditionListConfigManualPeriodNum
- type DescribePolicyConditionListConfigManualStatType
- type DescribePolicyConditionListEventMetric
- type DescribePolicyConditionListMetric
- type DescribePolicyConditionListRequest
- type DescribePolicyConditionListRequestParams
- type DescribePolicyConditionListResponse
- type DescribePolicyConditionListResponseParams
- type DescribePolicyGroupInfoCallback
- type DescribePolicyGroupInfoCondition
- type DescribePolicyGroupInfoConditionTpl
- type DescribePolicyGroupInfoEventCondition
- type DescribePolicyGroupInfoReceiverInfo
- type DescribePolicyGroupInfoRequest
- type DescribePolicyGroupInfoRequestParams
- type DescribePolicyGroupInfoResponse
- type DescribePolicyGroupInfoResponseParams
- type DescribePolicyGroupListGroup
- type DescribePolicyGroupListGroupInstanceGroup
- type DescribePolicyGroupListRequest
- type DescribePolicyGroupListRequestParams
- type DescribePolicyGroupListResponse
- type DescribePolicyGroupListResponseParams
- type DescribeProductEventListDimensions
- type DescribeProductEventListEvents
- type DescribeProductEventListEventsDimensions
- type DescribeProductEventListEventsGroupInfo
- type DescribeProductEventListOverView
- type DescribeProductEventListRequest
- type DescribeProductEventListRequestParams
- type DescribeProductEventListResponse
- type DescribeProductEventListResponseParams
- type DescribePrometheusAgentsRequest
- type DescribePrometheusAgentsRequestParams
- type DescribePrometheusAgentsResponse
- type DescribePrometheusAgentsResponseParams
- type DescribePrometheusInstancesRequest
- type DescribePrometheusInstancesRequestParams
- type DescribePrometheusInstancesResponse
- type DescribePrometheusInstancesResponseParams
- type DescribePrometheusScrapeJobsRequest
- type DescribePrometheusScrapeJobsRequestParams
- type DescribePrometheusScrapeJobsResponse
- type DescribePrometheusScrapeJobsResponseParams
- type DescribeRecordingRulesRequest
- type DescribeRecordingRulesRequestParams
- type DescribeRecordingRulesResponse
- type DescribeRecordingRulesResponseParams
- type DescribeSSOAccountRequest
- type DescribeSSOAccountRequestParams
- type DescribeSSOAccountResponse
- type DescribeSSOAccountResponseParams
- type DescribeServiceDiscoveryRequest
- type DescribeServiceDiscoveryRequestParams
- type DescribeServiceDiscoveryResponse
- type DescribeServiceDiscoveryResponseParams
- type DescribeStatisticDataRequest
- type DescribeStatisticDataRequestParams
- type DescribeStatisticDataResponse
- type DescribeStatisticDataResponseParams
- type DestroyPrometheusInstanceRequest
- type DestroyPrometheusInstanceRequestParams
- type DestroyPrometheusInstanceResponse
- type DestroyPrometheusInstanceResponseParams
- type Dimension
- type DimensionNew
- type DimensionsDesc
- type EnableGrafanaInternetRequest
- type EnableGrafanaInternetRequestParams
- type EnableGrafanaInternetResponse
- type EnableGrafanaInternetResponseParams
- type EnableGrafanaSSORequest
- type EnableGrafanaSSORequestParams
- type EnableGrafanaSSOResponse
- type EnableGrafanaSSOResponseParams
- type EnableSSOCamCheckRequest
- type EnableSSOCamCheckRequestParams
- type EnableSSOCamCheckResponse
- type EnableSSOCamCheckResponseParams
- type EventCondition
- type GetMonitorDataRequest
- type GetMonitorDataRequestParams
- type GetMonitorDataResponse
- type GetMonitorDataResponseParams
- type GetPrometheusAgentManagementCommandRequest
- type GetPrometheusAgentManagementCommandRequestParams
- type GetPrometheusAgentManagementCommandResponse
- type GetPrometheusAgentManagementCommandResponseParams
- type GrafanaAccountInfo
- type GrafanaAccountRole
- type GrafanaChannel
- type GrafanaInstanceInfo
- type GrafanaIntegrationConfig
- type GrafanaNotificationChannel
- type GrafanaPlugin
- type InstallPluginsRequest
- type InstallPluginsRequestParams
- type InstallPluginsResponse
- type InstallPluginsResponseParams
- type Instance
- type InstanceGroup
- type InstanceGroups
- type IntegrationConfiguration
- type LogAlarmReq
- type LogFilterInfo
- type ManagementCommand
- type Metric
- type MetricConfig
- type MetricData
- type MetricDataPoint
- type MetricDatum
- type MetricObjectMeaning
- type MetricSet
- type MidQueryCondition
- type ModifyAlarmNoticeRequest
- type ModifyAlarmNoticeRequestParams
- type ModifyAlarmNoticeResponse
- type ModifyAlarmNoticeResponseParams
- type ModifyAlarmPolicyConditionRequest
- type ModifyAlarmPolicyConditionRequestParams
- type ModifyAlarmPolicyConditionResponse
- type ModifyAlarmPolicyConditionResponseParams
- type ModifyAlarmPolicyInfoRequest
- type ModifyAlarmPolicyInfoRequestParams
- type ModifyAlarmPolicyInfoResponse
- type ModifyAlarmPolicyInfoResponseParams
- type ModifyAlarmPolicyNoticeRequest
- type ModifyAlarmPolicyNoticeRequestParams
- type ModifyAlarmPolicyNoticeResponse
- type ModifyAlarmPolicyNoticeResponseParams
- type ModifyAlarmPolicyStatusRequest
- type ModifyAlarmPolicyStatusRequestParams
- type ModifyAlarmPolicyStatusResponse
- type ModifyAlarmPolicyStatusResponseParams
- type ModifyAlarmPolicyTasksRequest
- type ModifyAlarmPolicyTasksRequestParams
- type ModifyAlarmPolicyTasksResponse
- type ModifyAlarmPolicyTasksResponseParams
- type ModifyAlarmReceiversRequest
- type ModifyAlarmReceiversRequestParams
- type ModifyAlarmReceiversResponse
- type ModifyAlarmReceiversResponseParams
- type ModifyGrafanaInstanceRequest
- type ModifyGrafanaInstanceRequestParams
- type ModifyGrafanaInstanceResponse
- type ModifyGrafanaInstanceResponseParams
- type ModifyPolicyGroupCondition
- type ModifyPolicyGroupEventCondition
- type ModifyPolicyGroupRequest
- type ModifyPolicyGroupRequestParams
- type ModifyPolicyGroupResponse
- type ModifyPolicyGroupResponseParams
- type ModifyPrometheusInstanceAttributesRequest
- type ModifyPrometheusInstanceAttributesRequestParams
- type ModifyPrometheusInstanceAttributesResponse
- type ModifyPrometheusInstanceAttributesResponseParams
- type MonitorTypeInfo
- type MonitorTypeNamespace
- type Operator
- type PeriodsSt
- type Point
- type PolicyGroup
- type PolicyGroupReceiverInfo
- type PrometheusAgent
- type PrometheusInstanceGrantInfo
- type PrometheusInstancesItem
- type PrometheusRuleKV
- type PrometheusRuleSet
- type PrometheusScrapeJob
- type PrometheusTag
- type PutMonitorDataRequest
- type PutMonitorDataRequestParams
- type PutMonitorDataResponse
- type PutMonitorDataResponseParams
- type ReceiverInfo
- type RecordingRuleSet
- type ResumeGrafanaInstanceRequest
- type ResumeGrafanaInstanceRequestParams
- type ResumeGrafanaInstanceResponse
- type ResumeGrafanaInstanceResponseParams
- type SendCustomAlarmMsgRequest
- type SendCustomAlarmMsgRequestParams
- type SendCustomAlarmMsgResponse
- type SendCustomAlarmMsgResponseParams
- type ServiceDiscoveryItem
- type SetDefaultAlarmPolicyRequest
- type SetDefaultAlarmPolicyRequestParams
- type SetDefaultAlarmPolicyResponse
- type SetDefaultAlarmPolicyResponseParams
- type Tag
- type TagInstance
- type TemplateGroup
- type TerminatePrometheusInstancesRequest
- type TerminatePrometheusInstancesRequestParams
- type TerminatePrometheusInstancesResponse
- type TerminatePrometheusInstancesResponseParams
- type URLNotice
- type UnBindingAllPolicyObjectRequest
- type UnBindingAllPolicyObjectRequestParams
- type UnBindingAllPolicyObjectResponse
- type UnBindingAllPolicyObjectResponseParams
- type UnBindingPolicyObjectRequest
- type UnBindingPolicyObjectRequestParams
- type UnBindingPolicyObjectResponse
- type UnBindingPolicyObjectResponseParams
- type UnbindPrometheusManagedGrafanaRequest
- type UnbindPrometheusManagedGrafanaRequestParams
- type UnbindPrometheusManagedGrafanaResponse
- type UnbindPrometheusManagedGrafanaResponseParams
- type UninstallGrafanaDashboardRequest
- type UninstallGrafanaDashboardRequestParams
- type UninstallGrafanaDashboardResponse
- type UninstallGrafanaDashboardResponseParams
- type UninstallGrafanaPluginsRequest
- type UninstallGrafanaPluginsRequestParams
- type UninstallGrafanaPluginsResponse
- type UninstallGrafanaPluginsResponseParams
- type UpdateAlertRuleRequest
- type UpdateAlertRuleRequestParams
- type UpdateAlertRuleResponse
- type UpdateAlertRuleResponseParams
- type UpdateAlertRuleStateRequest
- type UpdateAlertRuleStateRequestParams
- type UpdateAlertRuleStateResponse
- type UpdateAlertRuleStateResponseParams
- type UpdateDNSConfigRequest
- type UpdateDNSConfigRequestParams
- type UpdateDNSConfigResponse
- type UpdateDNSConfigResponseParams
- type UpdateExporterIntegrationRequest
- type UpdateExporterIntegrationRequestParams
- type UpdateExporterIntegrationResponse
- type UpdateExporterIntegrationResponseParams
- type UpdateGrafanaConfigRequest
- type UpdateGrafanaConfigRequestParams
- type UpdateGrafanaConfigResponse
- type UpdateGrafanaConfigResponseParams
- type UpdateGrafanaEnvironmentsRequest
- type UpdateGrafanaEnvironmentsRequestParams
- type UpdateGrafanaEnvironmentsResponse
- type UpdateGrafanaEnvironmentsResponseParams
- type UpdateGrafanaIntegrationRequest
- type UpdateGrafanaIntegrationRequestParams
- type UpdateGrafanaIntegrationResponse
- type UpdateGrafanaIntegrationResponseParams
- type UpdateGrafanaNotificationChannelRequest
- type UpdateGrafanaNotificationChannelRequestParams
- type UpdateGrafanaNotificationChannelResponse
- type UpdateGrafanaNotificationChannelResponseParams
- type UpdateGrafanaWhiteListRequest
- type UpdateGrafanaWhiteListRequestParams
- type UpdateGrafanaWhiteListResponse
- type UpdateGrafanaWhiteListResponseParams
- type UpdatePrometheusAgentStatusRequest
- type UpdatePrometheusAgentStatusRequestParams
- type UpdatePrometheusAgentStatusResponse
- type UpdatePrometheusAgentStatusResponseParams
- type UpdatePrometheusScrapeJobRequest
- type UpdatePrometheusScrapeJobRequestParams
- type UpdatePrometheusScrapeJobResponse
- type UpdatePrometheusScrapeJobResponseParams
- type UpdateRecordingRuleRequest
- type UpdateRecordingRuleRequestParams
- type UpdateRecordingRuleResponse
- type UpdateRecordingRuleResponseParams
- type UpdateSSOAccountRequest
- type UpdateSSOAccountRequestParams
- type UpdateSSOAccountResponse
- type UpdateSSOAccountResponseParams
- type UpgradeGrafanaDashboardRequest
- type UpgradeGrafanaDashboardRequestParams
- type UpgradeGrafanaDashboardResponse
- type UpgradeGrafanaDashboardResponseParams
- type UpgradeGrafanaInstanceRequest
- type UpgradeGrafanaInstanceRequestParams
- type UpgradeGrafanaInstanceResponse
- type UpgradeGrafanaInstanceResponseParams
- type UserNotice
Constants ¶
const ( // Error with CAM signature/authentication. AUTHFAILURE = "AuthFailure" // Access authentication failed. AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" // The request is not authorized. For more information on the authentication, see the CAM documentation. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to access STS. FAILEDOPERATION_ACCESSSTSFAIL = "FailedOperation.AccessSTSFail" // Failed to access the TKE cluster. FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" // Failed to access the tag service. FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" // For the agent in this status, the operation is not allowed. FAILEDOPERATION_AGENTNOTALLOWED = "FailedOperation.AgentNotAllowed" // The agent version does not support this operation. Upgrade the agent. FAILEDOPERATION_AGENTVERSIONNOTSUPPORTED = "FailedOperation.AgentVersionNotSupported" // There are agents running on this instance. FAILEDOPERATION_AGENTSNOTINUNINSTALLSTAGE = "FailedOperation.AgentsNotInUninstallStage" // Failed to delete the filter rule. FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" // Failed to create the alarm policy. FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" // Failed to delete the alarm policy. FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" // Failed to query the alarm policy. FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" // Failed to modify the alarm policy. FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" // Failed to delete the trigger condition. FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" // The YAML format is incorrect. FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" // Failed to create the instance. FAILEDOPERATION_CREATEINSTANCE = "FailedOperation.CreateInstance" // This account is not allowed to create instances. FAILEDOPERATION_CREATEINSTANCELIMITED = "FailedOperation.CreateInstanceLimited" // The data table field doesn't exist. FAILEDOPERATION_DATACOLUMNNOTFOUND = "FailedOperation.DataColumnNotFound" // Failed to query the data. FAILEDOPERATION_DATAQUERYFAILED = "FailedOperation.DataQueryFailed" // The data table doesn't exist. FAILEDOPERATION_DATATABLENOTFOUND = "FailedOperation.DataTableNotFound" // Failed to query the database. FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" // Failed to create the database record. FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" // Failed to delete the database record. FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" // Failed to update the database record. FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" // Failed to start the database transaction. FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" // Failed to submit the database transaction. FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" // Failed to query the service in the request dimension. FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" // The dividend is zero. FAILEDOPERATION_DIVISIONBYZERO = "FailedOperation.DivisionByZero" // Failed to query analysis data. FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" // The druid table does not exist. FAILEDOPERATION_DRUIDTABLENOTFOUND = "FailedOperation.DruidTableNotFound" // The name already exists. FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" // You have not enabled pay-as-you-go billing for API requests. FAILEDOPERATION_ERRNOTOPEN = "FailedOperation.ErrNotOpen" // You have overdue payments. FAILEDOPERATION_ERROWED = "FailedOperation.ErrOwed" // An error occurred while generating the resource ID. FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" // The instance does not exist. FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" // The instance is not running. FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" // Internal service error. FAILEDOPERATION_INTERNALERROR = "FailedOperation.InternalError" // The region is unavailable. FAILEDOPERATION_REGIONUNAVAILABLE = "FailedOperation.RegionUnavailable" // The resource already exists. FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" // The resource does not exist. FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" // The resource is being manipulated. FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" // Failed to send the authorization request. FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" // The service is not enabled and can be used only after being enabled. FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" // There is no access to TKE. FAILEDOPERATION_TKECLIENTAUTHFAIL = "FailedOperation.TKEClientAuthFail" // The TKE endpoint is inaccessible. FAILEDOPERATION_TKEENDPOINTSTATUSERROR = "FailedOperation.TKEEndpointStatusError" // A conflict occurred while updating the TKE resource. FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" // The AZ is unavailable. FAILEDOPERATION_ZONEUNAVAILABLE = "FailedOperation.ZoneUnavailable" // Internal error. INTERNALERROR = "InternalError" // Error with the callback. INTERNALERROR_CALLBACKFAIL = "InternalError.CallbackFail" // Error with another dependent API. INTERNALERROR_DEPENDSAPI = "InternalError.DependsApi" // Error with the dependent db. INTERNALERROR_DEPENDSDB = "InternalError.DependsDb" // Error with the dependent mq. INTERNALERROR_DEPENDSMQ = "InternalError.DependsMq" // Execution timed out. INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" // System error. INTERNALERROR_SYSTEM = "InternalError.System" // An error occurred while parsing the task result. INTERNALERROR_TASKRESULTFORMAT = "InternalError.TaskResultFormat" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // The task has already been submitted. INVALIDPARAMETER_DUPTASK = "InvalidParameter.DupTask" // Invalid parameter. INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // Invalid parameter. INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" // The platform configuration is missing. INVALIDPARAMETER_MISSAKSK = "InvalidParameter.MissAKSK" // Incorrect parameter. INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" // Error with the platform configuration. INVALIDPARAMETER_SECRETIDORSECRETKEYERROR = "InvalidParameter.SecretIdOrSecretKeyError" // This product doesn't support scan. INVALIDPARAMETER_UNSUPPORTEDPRODUCT = "InvalidParameter.UnsupportedProduct" // The parameter value is incorrect. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The dashboard name already exists. INVALIDPARAMETERVALUE_DASHBOARDNAMEEXISTS = "InvalidParameterValue.DashboardNameExists" // The version does not match. INVALIDPARAMETERVALUE_VERSIONMISMATCH = "InvalidParameterValue.VersionMismatch" // Quota limit is reached. LIMITEXCEEDED = "LimitExceeded" // Quota limit on metrics is reached. Requests containing unregistered metrics are prohibited. LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is in use. RESOURCEINUSE = "ResourceInUse" // Insufficient resources. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource is not found. RESOURCENOTFOUND = "ResourceNotFound" // The task does not exist. RESOURCENOTFOUND_NOTEXISTTASK = "ResourceNotFound.NotExistTask" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2018-07-24"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmEvent ¶
type AlarmHierarchicalNotice ¶
type AlarmHierarchicalNotice struct { // Notification template ID // Note: This field may return null, indicating that no valid values can be obtained. NoticeId *string `json:"NoticeId,omitempty" name:"NoticeId"` // The list of alarm notification levels. The values `Remind` and `Serious` indicate that the notification template only sends alarms at the `Remind` and `Serious` levels. // Note: This field may return null, indicating that no valid values can be obtained. Classification []*string `json:"Classification,omitempty" name:"Classification"` }
type AlarmHierarchicalValue ¶
type AlarmHierarchicalValue struct { // Threshold for the `Remind` level // Note: This field may return null, indicating that no valid values can be obtained. Remind *string `json:"Remind,omitempty" name:"Remind"` // Threshold for the `Warn` level // Note: This field may return null, indicating that no valid values can be obtained. Warn *string `json:"Warn,omitempty" name:"Warn"` // Threshold for the `Serious` level // Note: This field may return null, indicating that no valid values can be obtained. Serious *string `json:"Serious,omitempty" name:"Serious"` }
type AlarmHistory ¶
type AlarmHistory struct { // Alarm record ID AlarmId *string `json:"AlarmId,omitempty" name:"AlarmId"` // Monitor type MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Policy type Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Alarm object AlarmObject *string `json:"AlarmObject,omitempty" name:"AlarmObject"` // Alarm content Content *string `json:"Content,omitempty" name:"Content"` // Timestamp of the first occurrence FirstOccurTime *int64 `json:"FirstOccurTime,omitempty" name:"FirstOccurTime"` // Timestamp of the last occurrence LastOccurTime *int64 `json:"LastOccurTime,omitempty" name:"LastOccurTime"` // Alarm status. Valid values: ALARM (not resolved), OK (resolved), NO_CONF (expired), NO_DATA (insufficient data) AlarmStatus *string `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // VPC of alarm object for basic product alarm VPC *string `json:"VPC,omitempty" name:"VPC"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Project name ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // Instance group of alarm object InstanceGroup []*InstanceGroups `json:"InstanceGroup,omitempty" name:"InstanceGroup"` // Recipient list ReceiverUids []*int64 `json:"ReceiverUids,omitempty" name:"ReceiverUids"` // Recipient group list ReceiverGroups []*int64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"` // Alarm channel list. Valid values: SMS (SMS), EMAIL (email), CALL (phone), WECHAT (WeChat) NoticeWays []*string `json:"NoticeWays,omitempty" name:"NoticeWays"` // Alarm policy ID, which can be used when you call APIs ([BindingPolicyObject](https://intl.cloud.tencent.com/document/product/248/40421?from_cn_redirect=1), [UnBindingAllPolicyObject](https://intl.cloud.tencent.com/document/product/248/40568?from_cn_redirect=1), [UnBindingPolicyObject](https://intl.cloud.tencent.com/document/product/248/40567?from_cn_redirect=1)) to bind/unbind instances or instance groups to/from an alarm policy OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Alarm type AlarmType *string `json:"AlarmType,omitempty" name:"AlarmType"` // Event ID EventId *int64 `json:"EventId,omitempty" name:"EventId"` // Region Region *string `json:"Region,omitempty" name:"Region"` // Whether the policy exists. Valid values: 0 (no), 1 (yes) PolicyExists *int64 `json:"PolicyExists,omitempty" name:"PolicyExists"` // Metric information // Note: this field may return `null`, indicating that no valid values can be obtained. MetricsInfo []*AlarmHistoryMetric `json:"MetricsInfo,omitempty" name:"MetricsInfo"` // Dimension information of an instance that triggered alarms. // Note: this field may return `null`, indicating that no valid values can be obtained. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` }
type AlarmHistoryMetric ¶
type AlarmHistoryMetric struct { // Namespace used to query data by Tencent Cloud service monitoring type QceNamespace *string `json:"QceNamespace,omitempty" name:"QceNamespace"` // Metric name MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical period Period *int64 `json:"Period,omitempty" name:"Period"` // Value triggering alarm Value *string `json:"Value,omitempty" name:"Value"` // Metric display name Description *string `json:"Description,omitempty" name:"Description"` }
type AlarmNotice ¶
type AlarmNotice struct { // Alarm notification template ID // Note: this field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitempty" name:"Id"` // Alarm notification template name // Note: this field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Last modified time // Note: this field may return null, indicating that no valid values can be obtained. UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"` // Last modified by // Note: this field may return null, indicating that no valid values can be obtained. UpdatedBy *string `json:"UpdatedBy,omitempty" name:"UpdatedBy"` // Alarm notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms) // Note: this field may return null, indicating that no valid values can be obtained. NoticeType *string `json:"NoticeType,omitempty" name:"NoticeType"` // User notification list // Note: this field may return null, indicating that no valid values can be obtained. UserNotices []*UserNotice `json:"UserNotices,omitempty" name:"UserNotices"` // Callback notification list // Note: this field may return null, indicating that no valid values can be obtained. URLNotices []*URLNotice `json:"URLNotices,omitempty" name:"URLNotices"` // Whether it is the system default notification template. Valid values: 0 (no), 1 (yes) // Note: this field may return null, indicating that no valid values can be obtained. IsPreset *int64 `json:"IsPreset,omitempty" name:"IsPreset"` // Notification language. Valid values: zh-CN (Chinese), en-US (English) // Note: this field may return null, indicating that no valid values can be obtained. NoticeLanguage *string `json:"NoticeLanguage,omitempty" name:"NoticeLanguage"` // List of IDs of the alarm policies bound to alarm notification template // Note: this field may return null, indicating that no valid values can be obtained. PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` // Backend AMP consumer ID. // Note: This field may return null, indicating that no valid values can be obtained. AMPConsumerId *string `json:"AMPConsumerId,omitempty" name:"AMPConsumerId"` // Channel to push alarm notifications to CLS. // Note: This field may return `null`, indicating that no valid values can be obtained. CLSNotices []*CLSNotice `json:"CLSNotices,omitempty" name:"CLSNotices"` // Tags bound to a notification template // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
type AlarmPolicy ¶
type AlarmPolicy struct { // Alarm policy ID // Note: this field may return null, indicating that no valid values can be obtained. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Alarm policy name // Note: this field may return null, indicating that no valid values can be obtained. PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Remarks // Note: this field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitempty" name:"Remark"` // Monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring) // Note: this field may return null, indicating that no valid values can be obtained. MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Status. Valid values: 0 (disabled), 1 (enabled) // Note: this field may return null, indicating that no valid values can be obtained. Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Number of instances bound to policy group // Note: this field may return null, indicating that no valid values can be obtained. UseSum *int64 `json:"UseSum,omitempty" name:"UseSum"` // Project ID. Valid values: -1 (no project), 0 (default project) // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Project name // Note: this field may return null, indicating that no valid values can be obtained. ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // Alarm policy type // Note: this field may return null, indicating that no valid values can be obtained. Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Trigger condition template ID // Note: this field may return null, indicating that no valid values can be obtained. ConditionTemplateId *string `json:"ConditionTemplateId,omitempty" name:"ConditionTemplateId"` // Metric trigger condition // Note: this field may return null, indicating that no valid values can be obtained. Condition *AlarmPolicyCondition `json:"Condition,omitempty" name:"Condition"` // Event trigger condition // Note: this field may return null, indicating that no valid values can be obtained. EventCondition *AlarmPolicyEventCondition `json:"EventCondition,omitempty" name:"EventCondition"` // Notification rule ID list // Note: this field may return null, indicating that no valid values can be obtained. NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Notification rule list // Note: this field may return null, indicating that no valid values can be obtained. Notices []*AlarmNotice `json:"Notices,omitempty" name:"Notices"` // Triggered task list // Note: this field may return null, indicating that no valid values can be obtained. TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` // Template policy group // Note: this field may return null, indicating that no valid values can be obtained. // Note: this field may return null, indicating that no valid values can be obtained. ConditionsTemp *ConditionsTemp `json:"ConditionsTemp,omitempty" name:"ConditionsTemp"` // `Uin` of the last modifying user // Note: this field may return null, indicating that no valid values can be obtained. LastEditUin *string `json:"LastEditUin,omitempty" name:"LastEditUin"` // Update time // Note: this field may return null, indicating that no valid values can be obtained. // Note: this field may return null, indicating that no valid values can be obtained. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time // Note: this field may return null, indicating that no valid values can be obtained. // Note: this field may return null, indicating that no valid values can be obtained. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Region // Note: this field may return null, indicating that no valid values can be obtained. Region []*string `json:"Region,omitempty" name:"Region"` // Namespace display name // Note: this field may return null, indicating that no valid values can be obtained. NamespaceShowName *string `json:"NamespaceShowName,omitempty" name:"NamespaceShowName"` // Whether it is the default policy. Valid values: 1 (yes), 0 (no) // Note: this field may return null, indicating that no valid values can be obtained. IsDefault *int64 `json:"IsDefault,omitempty" name:"IsDefault"` // Whether the default policy can be set. Valid values: 1 (yes), 0 (no) // Note: this field may return null, indicating that no valid values can be obtained. CanSetDefault *int64 `json:"CanSetDefault,omitempty" name:"CanSetDefault"` // Instance group ID // Note: this field may return null, indicating that no valid values can be obtained. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Total number of instances in instance group // Note: this field may return null, indicating that no valid values can be obtained. InstanceSum *int64 `json:"InstanceSum,omitempty" name:"InstanceSum"` // Instance group name // Note: this field may return null, indicating that no valid values can be obtained. InstanceGroupName *string `json:"InstanceGroupName,omitempty" name:"InstanceGroupName"` // Trigger condition type. Valid values: STATIC (static threshold), DYNAMIC (dynamic) // Note: this field may return null, indicating that no valid values can be obtained. RuleType *string `json:"RuleType,omitempty" name:"RuleType"` // Policy ID for instance/instance group binding and unbinding APIs (BindingPolicyObject, UnBindingAllPolicyObject, UnBindingPolicyObject) // Note: this field may return null, indicating that no valid values can be obtained. OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Tag // Note: This field may return `null`, indicating that no valid values can be obtained. TagInstances []*TagInstance `json:"TagInstances,omitempty" name:"TagInstances"` // Information on the filter dimension associated with a policy. // Note: This field may return `null`, indicating that no valid values can be obtained. FilterDimensionsParam *string `json:"FilterDimensionsParam,omitempty" name:"FilterDimensionsParam"` // Whether it is a quick alarm policy. // Note: This field may return `null`, indicating that no valid values can be obtained. IsOneClick *int64 `json:"IsOneClick,omitempty" name:"IsOneClick"` // Whether the quick alarm policy is enabled. // Note: This field may return `null`, indicating that no valid values can be obtained. OneClickStatus *int64 `json:"OneClickStatus,omitempty" name:"OneClickStatus"` // The number of advanced metrics. // Note: This field may return `null`, indicating that no valid values can be obtained. AdvancedMetricNumber *int64 `json:"AdvancedMetricNumber,omitempty" name:"AdvancedMetricNumber"` // Whether the policy is associated with all objects // Note: This field may return null, indicating that no valid values can be obtained. IsBindAll *int64 `json:"IsBindAll,omitempty" name:"IsBindAll"` // Policy tag // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
type AlarmPolicyCondition ¶
type AlarmPolicyCondition struct { // Metric trigger condition operator. Valid values: 0 (OR), 1 (AND) // Note: this field may return null, indicating that no valid values can be obtained. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` // Alarm trigger condition list // Note: this field may return null, indicating that no valid values can be obtained. Rules []*AlarmPolicyRule `json:"Rules,omitempty" name:"Rules"` }
type AlarmPolicyEventCondition ¶
type AlarmPolicyEventCondition struct { // Alarm trigger condition list // Note: this field may return null, indicating that no valid values can be obtained. Rules []*AlarmPolicyRule `json:"Rules,omitempty" name:"Rules"` }
type AlarmPolicyFilter ¶
type AlarmPolicyFilter struct { // Filter condition type. Valid values: DIMENSION (uses dimensions for filtering) // Note: this field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // JSON string generated by serializing the `AlarmPolicyDimension` two-dimensional array. The one-dimensional arrays are in OR relationship, and the elements in a one-dimensional array are in AND relationship // Note: this field may return null, indicating that no valid values can be obtained. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` }
type AlarmPolicyRule ¶
type AlarmPolicyRule struct { // Metric name or event name. The supported metrics can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1) and the supported events via [DescribeAlarmEvents](https://intl.cloud.tencent.com/document/product/248/51284?from_cn_redirect=1). // Note: this field may return `null`, indicating that no valid value is obtained. MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Statistical period in seconds. The valid values can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1). // Note: this field may return `null`, indicating that no valid value is obtained. Period *int64 `json:"Period,omitempty" name:"Period"` // Operator // intelligent = intelligent detection without threshold // eq = equal to // ge = greater than or equal to // gt = greater than // le = less than or equal to // lt = less than // ne = not equal to // day_increase = day-on-day increase // day_decrease = day-on-day decrease // day_wave = day-on-day fluctuation // week_increase = week-on-week increase // week_decrease = week-on-week decrease // week_wave = week-on-week fluctuation // cycle_increase = cyclical increase // cycle_decrease = cyclical decrease // cycle_wave = cyclical fluctuation // re = regex match // The valid values can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1). // Note: this field may return `null`, indicating that no valid value is obtained. Operator *string `json:"Operator,omitempty" name:"Operator"` // Threshold. The valid value range can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1). // Note: this field may return `null`, indicating that no valid value is obtained. Value *string `json:"Value,omitempty" name:"Value"` // Number of periods. `1`: continue for one period; `2`: continue for two periods; and so on. The valid values can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1). // Note: this field may return `null`, indicating that no valid value is obtained. ContinuePeriod *int64 `json:"ContinuePeriod,omitempty" name:"ContinuePeriod"` // Alarm interval in seconds. Valid values: 0 (do not repeat), 300 (alarm once every 5 minutes), 600 (alarm once every 10 minutes), 900 (alarm once every 15 minutes), 1800 (alarm once every 30 minutes), 3600 (alarm once every hour), 7200 (alarm once every 2 hours), 10800 (alarm once every 3 hours), 21600 (alarm once every 6 hours), 43200 (alarm once every 12 hours), 86400 (alarm once every day) // Note: this field may return null, indicating that no valid values can be obtained. NoticeFrequency *int64 `json:"NoticeFrequency,omitempty" name:"NoticeFrequency"` // Whether the alarm frequency increases exponentially. Valid values: 0 (no), 1 (yes) // Note: this field may return null, indicating that no valid values can be obtained. IsPowerNotice *int64 `json:"IsPowerNotice,omitempty" name:"IsPowerNotice"` // Filter condition for one single trigger rule // Note: this field may return null, indicating that no valid values can be obtained. Filter *AlarmPolicyFilter `json:"Filter,omitempty" name:"Filter"` // Metric display name, which is used in the output parameter // Note: this field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Unit, which is used in the output parameter // Note: this field may return null, indicating that no valid values can be obtained. Unit *string `json:"Unit,omitempty" name:"Unit"` // Trigger condition type. `STATIC`: static threshold; `dynamic`: dynamic threshold. If you do not specify this parameter when creating or editing a policy, `STATIC` is used by default. // Note: this field may return `null`, indicating that no valid value is obtained. RuleType *string `json:"RuleType,omitempty" name:"RuleType"` // Whether it is an advanced metric. 0: No; 1: Yes. // Note: This field may return `null`, indicating that no valid values can be obtained. IsAdvanced *int64 `json:"IsAdvanced,omitempty" name:"IsAdvanced"` // Whether the advanced metric feature is enabled. 0: No; 1: Yes. // Note: This field may return `null`, indicating that no valid values can be obtained. IsOpen *int64 `json:"IsOpen,omitempty" name:"IsOpen"` // Integration center product ID. // Note: This field may return `null`, indicating that no valid values can be obtained. ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // Maximum value // Note: This field may return null, indicating that no valid values can be obtained. ValueMax *float64 `json:"ValueMax,omitempty" name:"ValueMax"` // Minimum value // Note: This field may return null, indicating that no valid values can be obtained. ValueMin *float64 `json:"ValueMin,omitempty" name:"ValueMin"` // The configuration of alarm level threshold // Note: This field may return null, indicating that no valid values can be obtained. HierarchicalValue *AlarmHierarchicalValue `json:"HierarchicalValue,omitempty" name:"HierarchicalValue"` }
type AlarmPolicyTriggerTask ¶
type AlarmPolicyTriggerTask struct { // Triggered task type. Valid value: AS (auto scaling) // Note: this field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Configuration information in JSON format, such as {"Key1":"Value1","Key2":"Value2"} // Note: this field may return null, indicating that no valid values can be obtained. TaskConfig *string `json:"TaskConfig,omitempty" name:"TaskConfig"` }
type BindPrometheusManagedGrafanaRequest ¶
type BindPrometheusManagedGrafanaRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Grafana instance ID GrafanaId *string `json:"GrafanaId,omitempty" name:"GrafanaId"` }
func NewBindPrometheusManagedGrafanaRequest ¶
func NewBindPrometheusManagedGrafanaRequest() (request *BindPrometheusManagedGrafanaRequest)
func (*BindPrometheusManagedGrafanaRequest) FromJsonString ¶
func (r *BindPrometheusManagedGrafanaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindPrometheusManagedGrafanaRequest) ToJsonString ¶
func (r *BindPrometheusManagedGrafanaRequest) ToJsonString() string
type BindPrometheusManagedGrafanaRequestParams ¶
type BindPrometheusManagedGrafanaRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Grafana instance ID GrafanaId *string `json:"GrafanaId,omitempty" name:"GrafanaId"` }
Predefined struct for user
type BindPrometheusManagedGrafanaResponse ¶
type BindPrometheusManagedGrafanaResponse struct { *tchttp.BaseResponse Response *BindPrometheusManagedGrafanaResponseParams `json:"Response"` }
func NewBindPrometheusManagedGrafanaResponse ¶
func NewBindPrometheusManagedGrafanaResponse() (response *BindPrometheusManagedGrafanaResponse)
func (*BindPrometheusManagedGrafanaResponse) FromJsonString ¶
func (r *BindPrometheusManagedGrafanaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindPrometheusManagedGrafanaResponse) ToJsonString ¶
func (r *BindPrometheusManagedGrafanaResponse) ToJsonString() string
type BindPrometheusManagedGrafanaResponseParams ¶
type BindPrometheusManagedGrafanaResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BindingPolicyObjectDimension ¶
type BindingPolicyObjectDimension struct { // Region name. Region *string `json:"Region,omitempty" name:"Region"` // Region ID. RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Instance dimension information in the following format: // {"unInstanceId":"ins-00jvv9mo"}. The dimension information varies by Tencent Cloud services. For more information, please see: // [Dimension List](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1) Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Event dimensions. EventDimensions *string `json:"EventDimensions,omitempty" name:"EventDimensions"` }
type BindingPolicyObjectRequest ¶
type BindingPolicyObjectRequest struct { *tchttp.BaseRequest // Required. The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID, such as `4739573`. This parameter will be disused soon. Another parameter `PolicyId` is recommended. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm policy ID, such as `policy-gh892hg0`. At least one of the two parameters, `PolicyId` and `GroupId`, must be specified; otherwise, an error will be reported. `PolicyId` is preferred over `GroupId` when both of them are specified. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Dimensions of an object to be bound. Dimensions []*BindingPolicyObjectDimension `json:"Dimensions,omitempty" name:"Dimensions"` }
func NewBindingPolicyObjectRequest ¶
func NewBindingPolicyObjectRequest() (request *BindingPolicyObjectRequest)
func (*BindingPolicyObjectRequest) FromJsonString ¶
func (r *BindingPolicyObjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindingPolicyObjectRequest) ToJsonString ¶
func (r *BindingPolicyObjectRequest) ToJsonString() string
type BindingPolicyObjectRequestParams ¶
type BindingPolicyObjectRequestParams struct { // Required. The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID, such as `4739573`. This parameter will be disused soon. Another parameter `PolicyId` is recommended. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm policy ID, such as `policy-gh892hg0`. At least one of the two parameters, `PolicyId` and `GroupId`, must be specified; otherwise, an error will be reported. `PolicyId` is preferred over `GroupId` when both of them are specified. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Dimensions of an object to be bound. Dimensions []*BindingPolicyObjectDimension `json:"Dimensions,omitempty" name:"Dimensions"` }
Predefined struct for user
type BindingPolicyObjectResponse ¶
type BindingPolicyObjectResponse struct { *tchttp.BaseResponse Response *BindingPolicyObjectResponseParams `json:"Response"` }
func NewBindingPolicyObjectResponse ¶
func NewBindingPolicyObjectResponse() (response *BindingPolicyObjectResponse)
func (*BindingPolicyObjectResponse) FromJsonString ¶
func (r *BindingPolicyObjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindingPolicyObjectResponse) ToJsonString ¶
func (r *BindingPolicyObjectResponse) ToJsonString() string
type BindingPolicyObjectResponseParams ¶
type BindingPolicyObjectResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CLSNotice ¶
type CLSNotice struct { // Region. Region *string `json:"Region,omitempty" name:"Region"` // Logset ID. LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"` // Topic ID. TopicId *string `json:"TopicId,omitempty" name:"TopicId"` // Status. Valid values: `0` (disabled), `1` (enabled). Default value: `1` (enabled). This parameter can be left empty. Enable *int64 `json:"Enable,omitempty" name:"Enable"` }
type CleanGrafanaInstanceRequest ¶
type CleanGrafanaInstanceRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewCleanGrafanaInstanceRequest ¶
func NewCleanGrafanaInstanceRequest() (request *CleanGrafanaInstanceRequest)
func (*CleanGrafanaInstanceRequest) FromJsonString ¶
func (r *CleanGrafanaInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CleanGrafanaInstanceRequest) ToJsonString ¶
func (r *CleanGrafanaInstanceRequest) ToJsonString() string
type CleanGrafanaInstanceRequestParams ¶
type CleanGrafanaInstanceRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type CleanGrafanaInstanceResponse ¶
type CleanGrafanaInstanceResponse struct { *tchttp.BaseResponse Response *CleanGrafanaInstanceResponseParams `json:"Response"` }
func NewCleanGrafanaInstanceResponse ¶
func NewCleanGrafanaInstanceResponse() (response *CleanGrafanaInstanceResponse)
func (*CleanGrafanaInstanceResponse) FromJsonString ¶
func (r *CleanGrafanaInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CleanGrafanaInstanceResponse) ToJsonString ¶
func (r *CleanGrafanaInstanceResponse) ToJsonString() string
type CleanGrafanaInstanceResponseParams ¶
type CleanGrafanaInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BindPrometheusManagedGrafana ¶
func (c *Client) BindPrometheusManagedGrafana(request *BindPrometheusManagedGrafanaRequest) (response *BindPrometheusManagedGrafanaResponse, err error)
BindPrometheusManagedGrafana This API is used to bind a Grafana instance.
func (*Client) BindPrometheusManagedGrafanaWithContext ¶
func (c *Client) BindPrometheusManagedGrafanaWithContext(ctx context.Context, request *BindPrometheusManagedGrafanaRequest) (response *BindPrometheusManagedGrafanaResponse, err error)
BindPrometheusManagedGrafana This API is used to bind a Grafana instance.
func (*Client) BindingPolicyObject ¶
func (c *Client) BindingPolicyObject(request *BindingPolicyObjectRequest) (response *BindingPolicyObjectResponse, err error)
BindingPolicyObject This API is used to bind an alarm policy to a specific object.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindingPolicyObjectWithContext ¶
func (c *Client) BindingPolicyObjectWithContext(ctx context.Context, request *BindingPolicyObjectRequest) (response *BindingPolicyObjectResponse, err error)
BindingPolicyObject This API is used to bind an alarm policy to a specific object.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CleanGrafanaInstance ¶
func (c *Client) CleanGrafanaInstance(request *CleanGrafanaInstanceRequest) (response *CleanGrafanaInstanceResponse, err error)
CleanGrafanaInstance This API is used to forcibly terminate a Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CleanGrafanaInstanceWithContext ¶
func (c *Client) CleanGrafanaInstanceWithContext(ctx context.Context, request *CleanGrafanaInstanceRequest) (response *CleanGrafanaInstanceResponse, err error)
CleanGrafanaInstance This API is used to forcibly terminate a Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateAlarmNotice ¶
func (c *Client) CreateAlarmNotice(request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
CreateAlarmNotice This API is used to create a notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateAlarmNoticeWithContext ¶
func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
CreateAlarmNotice This API is used to create a notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateAlarmPolicy ¶
func (c *Client) CreateAlarmPolicy(request *CreateAlarmPolicyRequest) (response *CreateAlarmPolicyResponse, err error)
CreateAlarmPolicy This API is used to create a Cloud Monitor alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateAlarmPolicyWithContext ¶
func (c *Client) CreateAlarmPolicyWithContext(ctx context.Context, request *CreateAlarmPolicyRequest) (response *CreateAlarmPolicyResponse, err error)
CreateAlarmPolicy This API is used to create a Cloud Monitor alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateAlertRule ¶
func (c *Client) CreateAlertRule(request *CreateAlertRuleRequest) (response *CreateAlertRuleResponse, err error)
CreateAlertRule This API is used to create a Prometheus alerting rule.
Note that alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. For more information, see [Alerting rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateAlertRuleWithContext ¶
func (c *Client) CreateAlertRuleWithContext(ctx context.Context, request *CreateAlertRuleRequest) (response *CreateAlertRuleResponse, err error)
CreateAlertRule This API is used to create a Prometheus alerting rule.
Note that alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. For more information, see [Alerting rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateExporterIntegration ¶
func (c *Client) CreateExporterIntegration(request *CreateExporterIntegrationRequest) (response *CreateExporterIntegrationResponse, err error)
CreateExporterIntegration This API is used to create an exporter integration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError"
func (*Client) CreateExporterIntegrationWithContext ¶
func (c *Client) CreateExporterIntegrationWithContext(ctx context.Context, request *CreateExporterIntegrationRequest) (response *CreateExporterIntegrationResponse, err error)
CreateExporterIntegration This API is used to create an exporter integration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError"
func (*Client) CreateGrafanaInstance ¶
func (c *Client) CreateGrafanaInstance(request *CreateGrafanaInstanceRequest) (response *CreateGrafanaInstanceResponse, err error)
CreateGrafanaInstance This API is used to create a Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_CREATEINSTANCELIMITED = "FailedOperation.CreateInstanceLimited" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_REGIONUNAVAILABLE = "FailedOperation.RegionUnavailable" FAILEDOPERATION_ZONEUNAVAILABLE = "FailedOperation.ZoneUnavailable"
func (*Client) CreateGrafanaInstanceWithContext ¶
func (c *Client) CreateGrafanaInstanceWithContext(ctx context.Context, request *CreateGrafanaInstanceRequest) (response *CreateGrafanaInstanceResponse, err error)
CreateGrafanaInstance This API is used to create a Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_CREATEINSTANCELIMITED = "FailedOperation.CreateInstanceLimited" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_REGIONUNAVAILABLE = "FailedOperation.RegionUnavailable" FAILEDOPERATION_ZONEUNAVAILABLE = "FailedOperation.ZoneUnavailable"
func (*Client) CreateGrafanaIntegration ¶
func (c *Client) CreateGrafanaIntegration(request *CreateGrafanaIntegrationRequest) (response *CreateGrafanaIntegrationResponse, err error)
CreateGrafanaIntegration This API is used to create a Grafana integration configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateGrafanaIntegrationWithContext ¶
func (c *Client) CreateGrafanaIntegrationWithContext(ctx context.Context, request *CreateGrafanaIntegrationRequest) (response *CreateGrafanaIntegrationResponse, err error)
CreateGrafanaIntegration This API is used to create a Grafana integration configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateGrafanaNotificationChannel ¶
func (c *Client) CreateGrafanaNotificationChannel(request *CreateGrafanaNotificationChannelRequest) (response *CreateGrafanaNotificationChannelResponse, err error)
CreateGrafanaNotificationChannel This API is used to create a Grafana notification channel.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateGrafanaNotificationChannelWithContext ¶
func (c *Client) CreateGrafanaNotificationChannelWithContext(ctx context.Context, request *CreateGrafanaNotificationChannelRequest) (response *CreateGrafanaNotificationChannelResponse, err error)
CreateGrafanaNotificationChannel This API is used to create a Grafana notification channel.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreatePolicyGroup ¶
func (c *Client) CreatePolicyGroup(request *CreatePolicyGroupRequest) (response *CreatePolicyGroupResponse, err error)
CreatePolicyGroup This API is used to add a policy group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePolicyGroupWithContext ¶
func (c *Client) CreatePolicyGroupWithContext(ctx context.Context, request *CreatePolicyGroupRequest) (response *CreatePolicyGroupResponse, err error)
CreatePolicyGroup This API is used to add a policy group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePrometheusAgent ¶
func (c *Client) CreatePrometheusAgent(request *CreatePrometheusAgentRequest) (response *CreatePrometheusAgentResponse, err error)
CreatePrometheusAgent This API is used to create a Prometheus CVM agent.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreatePrometheusAgentWithContext ¶
func (c *Client) CreatePrometheusAgentWithContext(ctx context.Context, request *CreatePrometheusAgentRequest) (response *CreatePrometheusAgentResponse, err error)
CreatePrometheusAgent This API is used to create a Prometheus CVM agent.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreatePrometheusMultiTenantInstancePostPayMode ¶
func (c *Client) CreatePrometheusMultiTenantInstancePostPayMode(request *CreatePrometheusMultiTenantInstancePostPayModeRequest) (response *CreatePrometheusMultiTenantInstancePostPayModeResponse, err error)
CreatePrometheusMultiTenantInstancePostPayMode This API is used to create a pay-as-you-go Prometheus instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_CREATEINSTANCE = "FailedOperation.CreateInstance" FAILEDOPERATION_CREATEINSTANCELIMITED = "FailedOperation.CreateInstanceLimited" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreatePrometheusMultiTenantInstancePostPayModeWithContext ¶
func (c *Client) CreatePrometheusMultiTenantInstancePostPayModeWithContext(ctx context.Context, request *CreatePrometheusMultiTenantInstancePostPayModeRequest) (response *CreatePrometheusMultiTenantInstancePostPayModeResponse, err error)
CreatePrometheusMultiTenantInstancePostPayMode This API is used to create a pay-as-you-go Prometheus instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_CREATEINSTANCE = "FailedOperation.CreateInstance" FAILEDOPERATION_CREATEINSTANCELIMITED = "FailedOperation.CreateInstanceLimited" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreatePrometheusScrapeJob ¶
func (c *Client) CreatePrometheusScrapeJob(request *CreatePrometheusScrapeJobRequest) (response *CreatePrometheusScrapeJobResponse, err error)
CreatePrometheusScrapeJob This API is used to create a Prometheus scrape task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreatePrometheusScrapeJobWithContext ¶
func (c *Client) CreatePrometheusScrapeJobWithContext(ctx context.Context, request *CreatePrometheusScrapeJobRequest) (response *CreatePrometheusScrapeJobResponse, err error)
CreatePrometheusScrapeJob This API is used to create a Prometheus scrape task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateRecordingRule ¶
func (c *Client) CreateRecordingRule(request *CreateRecordingRuleRequest) (response *CreateRecordingRuleResponse, err error)
CreateRecordingRule This API is used to create a Prometheus recording rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRecordingRuleWithContext ¶
func (c *Client) CreateRecordingRuleWithContext(ctx context.Context, request *CreateRecordingRuleRequest) (response *CreateRecordingRuleResponse, err error)
CreateRecordingRule This API is used to create a Prometheus recording rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateSSOAccount ¶
func (c *Client) CreateSSOAccount(request *CreateSSOAccountRequest) (response *CreateSSOAccountResponse, err error)
CreateSSOAccount This API is used to authorize a Grafana instance to another Tencent Cloud user.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateSSOAccountWithContext ¶
func (c *Client) CreateSSOAccountWithContext(ctx context.Context, request *CreateSSOAccountRequest) (response *CreateSSOAccountResponse, err error)
CreateSSOAccount This API is used to authorize a Grafana instance to another Tencent Cloud user.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateServiceDiscovery ¶
func (c *Client) CreateServiceDiscovery(request *CreateServiceDiscoveryRequest) (response *CreateServiceDiscoveryResponse, err error)
CreateServiceDiscovery This API is used to create a Prometheus scrape configuration in TKE.
<p>Note: The prerequisite is that the corresponding TKE service has been integrated through the Prometheus console. For more information, see
<a href="https://intl.cloud.tencent.com/document/product/248/48859?from_cn_redirect=1" target="_blank">Agent Management</a>.</p>
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSSTSFAIL = "FailedOperation.AccessSTSFail" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_AGENTVERSIONNOTSUPPORTED = "FailedOperation.AgentVersionNotSupported" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_TKECLIENTAUTHFAIL = "FailedOperation.TKEClientAuthFail" FAILEDOPERATION_TKEENDPOINTSTATUSERROR = "FailedOperation.TKEEndpointStatusError" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateServiceDiscoveryWithContext ¶
func (c *Client) CreateServiceDiscoveryWithContext(ctx context.Context, request *CreateServiceDiscoveryRequest) (response *CreateServiceDiscoveryResponse, err error)
CreateServiceDiscovery This API is used to create a Prometheus scrape configuration in TKE.
<p>Note: The prerequisite is that the corresponding TKE service has been integrated through the Prometheus console. For more information, see
<a href="https://intl.cloud.tencent.com/document/product/248/48859?from_cn_redirect=1" target="_blank">Agent Management</a>.</p>
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSSTSFAIL = "FailedOperation.AccessSTSFail" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_AGENTVERSIONNOTSUPPORTED = "FailedOperation.AgentVersionNotSupported" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_TKECLIENTAUTHFAIL = "FailedOperation.TKEClientAuthFail" FAILEDOPERATION_TKEENDPOINTSTATUSERROR = "FailedOperation.TKEEndpointStatusError" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteAlarmNotices ¶
func (c *Client) DeleteAlarmNotices(request *DeleteAlarmNoticesRequest) (response *DeleteAlarmNoticesResponse, err error)
DeleteAlarmNotices This API is used to delete alarm notification templates.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteAlarmNoticesWithContext ¶
func (c *Client) DeleteAlarmNoticesWithContext(ctx context.Context, request *DeleteAlarmNoticesRequest) (response *DeleteAlarmNoticesResponse, err error)
DeleteAlarmNotices This API is used to delete alarm notification templates.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteAlarmPolicy ¶
func (c *Client) DeleteAlarmPolicy(request *DeleteAlarmPolicyRequest) (response *DeleteAlarmPolicyResponse, err error)
DeleteAlarmPolicy This API is used to delete an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteAlarmPolicyWithContext ¶
func (c *Client) DeleteAlarmPolicyWithContext(ctx context.Context, request *DeleteAlarmPolicyRequest) (response *DeleteAlarmPolicyResponse, err error)
DeleteAlarmPolicy This API is used to delete an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteAlertRules ¶
func (c *Client) DeleteAlertRules(request *DeleteAlertRulesRequest) (response *DeleteAlertRulesResponse, err error)
DeleteAlertRules This API is used to batch delete Prometheus alerting rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteAlertRulesWithContext ¶
func (c *Client) DeleteAlertRulesWithContext(ctx context.Context, request *DeleteAlertRulesRequest) (response *DeleteAlertRulesResponse, err error)
DeleteAlertRules This API is used to batch delete Prometheus alerting rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteExporterIntegration ¶
func (c *Client) DeleteExporterIntegration(request *DeleteExporterIntegrationRequest) (response *DeleteExporterIntegrationResponse, err error)
DeleteExporterIntegration This API is used to delete an exporter integration.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteExporterIntegrationWithContext ¶
func (c *Client) DeleteExporterIntegrationWithContext(ctx context.Context, request *DeleteExporterIntegrationRequest) (response *DeleteExporterIntegrationResponse, err error)
DeleteExporterIntegration This API is used to delete an exporter integration.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteGrafanaInstance ¶
func (c *Client) DeleteGrafanaInstance(request *DeleteGrafanaInstanceRequest) (response *DeleteGrafanaInstanceResponse, err error)
DeleteGrafanaInstance This API is used to delete a Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) DeleteGrafanaInstanceWithContext ¶
func (c *Client) DeleteGrafanaInstanceWithContext(ctx context.Context, request *DeleteGrafanaInstanceRequest) (response *DeleteGrafanaInstanceResponse, err error)
DeleteGrafanaInstance This API is used to delete a Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) DeleteGrafanaIntegration ¶
func (c *Client) DeleteGrafanaIntegration(request *DeleteGrafanaIntegrationRequest) (response *DeleteGrafanaIntegrationResponse, err error)
DeleteGrafanaIntegration This API is used to delete a Grafana integration configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) DeleteGrafanaIntegrationWithContext ¶
func (c *Client) DeleteGrafanaIntegrationWithContext(ctx context.Context, request *DeleteGrafanaIntegrationRequest) (response *DeleteGrafanaIntegrationResponse, err error)
DeleteGrafanaIntegration This API is used to delete a Grafana integration configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) DeleteGrafanaNotificationChannel ¶
func (c *Client) DeleteGrafanaNotificationChannel(request *DeleteGrafanaNotificationChannelRequest) (response *DeleteGrafanaNotificationChannelResponse, err error)
DeleteGrafanaNotificationChannel This API is used to delete a Grafana notification channel.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) DeleteGrafanaNotificationChannelWithContext ¶
func (c *Client) DeleteGrafanaNotificationChannelWithContext(ctx context.Context, request *DeleteGrafanaNotificationChannelRequest) (response *DeleteGrafanaNotificationChannelResponse, err error)
DeleteGrafanaNotificationChannel This API is used to delete a Grafana notification channel.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) DeletePolicyGroup ¶
func (c *Client) DeletePolicyGroup(request *DeletePolicyGroupRequest) (response *DeletePolicyGroupResponse, err error)
DeletePolicyGroup This API is used to delete an alarm policy group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeletePolicyGroupWithContext ¶
func (c *Client) DeletePolicyGroupWithContext(ctx context.Context, request *DeletePolicyGroupRequest) (response *DeletePolicyGroupResponse, err error)
DeletePolicyGroup This API is used to delete an alarm policy group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeletePrometheusScrapeJobs ¶
func (c *Client) DeletePrometheusScrapeJobs(request *DeletePrometheusScrapeJobsRequest) (response *DeletePrometheusScrapeJobsResponse, err error)
DeletePrometheusScrapeJobs This API is used to delete a Prometheus scrape task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeletePrometheusScrapeJobsWithContext ¶
func (c *Client) DeletePrometheusScrapeJobsWithContext(ctx context.Context, request *DeletePrometheusScrapeJobsRequest) (response *DeletePrometheusScrapeJobsResponse, err error)
DeletePrometheusScrapeJobs This API is used to delete a Prometheus scrape task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRecordingRules ¶
func (c *Client) DeleteRecordingRules(request *DeleteRecordingRulesRequest) (response *DeleteRecordingRulesResponse, err error)
DeleteRecordingRules This API is used to batch delete Prometheus recording rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRecordingRulesWithContext ¶
func (c *Client) DeleteRecordingRulesWithContext(ctx context.Context, request *DeleteRecordingRulesRequest) (response *DeleteRecordingRulesResponse, err error)
DeleteRecordingRules This API is used to batch delete Prometheus recording rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteSSOAccount ¶
func (c *Client) DeleteSSOAccount(request *DeleteSSOAccountRequest) (response *DeleteSSOAccountResponse, err error)
DeleteSSOAccount This API is used to delete an authorized TCMG user.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteSSOAccountWithContext ¶
func (c *Client) DeleteSSOAccountWithContext(ctx context.Context, request *DeleteSSOAccountRequest) (response *DeleteSSOAccountResponse, err error)
DeleteSSOAccount This API is used to delete an authorized TCMG user.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeAccidentEventList ¶
func (c *Client) DescribeAccidentEventList(request *DescribeAccidentEventListRequest) (response *DescribeAccidentEventListResponse, err error)
DescribeAccidentEventList This API is used to get the platform event list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAccidentEventListWithContext ¶
func (c *Client) DescribeAccidentEventListWithContext(ctx context.Context, request *DescribeAccidentEventListRequest) (response *DescribeAccidentEventListResponse, err error)
DescribeAccidentEventList This API is used to get the platform event list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmEvents ¶
func (c *Client) DescribeAlarmEvents(request *DescribeAlarmEventsRequest) (response *DescribeAlarmEventsResponse, err error)
DescribeAlarmEvents This API is used to query the list of alarm events.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmEventsWithContext ¶
func (c *Client) DescribeAlarmEventsWithContext(ctx context.Context, request *DescribeAlarmEventsRequest) (response *DescribeAlarmEventsResponse, err error)
DescribeAlarmEvents This API is used to query the list of alarm events.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmHistories ¶
func (c *Client) DescribeAlarmHistories(request *DescribeAlarmHistoriesRequest) (response *DescribeAlarmHistoriesResponse, err error)
DescribeAlarmHistories This API is used to query the alarm records.
Note: **If you use a sub-account, you can only query the alarm records of authorized projects** or uncategorized products.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmHistoriesWithContext ¶
func (c *Client) DescribeAlarmHistoriesWithContext(ctx context.Context, request *DescribeAlarmHistoriesRequest) (response *DescribeAlarmHistoriesResponse, err error)
DescribeAlarmHistories This API is used to query the alarm records.
Note: **If you use a sub-account, you can only query the alarm records of authorized projects** or uncategorized products.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmMetrics ¶
func (c *Client) DescribeAlarmMetrics(request *DescribeAlarmMetricsRequest) (response *DescribeAlarmMetricsResponse, err error)
DescribeAlarmMetrics This API is used to query the list of alarm metrics.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmMetricsWithContext ¶
func (c *Client) DescribeAlarmMetricsWithContext(ctx context.Context, request *DescribeAlarmMetricsRequest) (response *DescribeAlarmMetricsResponse, err error)
DescribeAlarmMetrics This API is used to query the list of alarm metrics.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmNotice ¶
func (c *Client) DescribeAlarmNotice(request *DescribeAlarmNoticeRequest) (response *DescribeAlarmNoticeResponse, err error)
DescribeAlarmNotice This API is used to query the details of a single notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmNoticeCallbacks ¶
func (c *Client) DescribeAlarmNoticeCallbacks(request *DescribeAlarmNoticeCallbacksRequest) (response *DescribeAlarmNoticeCallbacksResponse, err error)
DescribeAlarmNoticeCallbacks This API is used to get all the callback URLs of an alarm notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmNoticeCallbacksWithContext ¶
func (c *Client) DescribeAlarmNoticeCallbacksWithContext(ctx context.Context, request *DescribeAlarmNoticeCallbacksRequest) (response *DescribeAlarmNoticeCallbacksResponse, err error)
DescribeAlarmNoticeCallbacks This API is used to get all the callback URLs of an alarm notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmNoticeWithContext ¶
func (c *Client) DescribeAlarmNoticeWithContext(ctx context.Context, request *DescribeAlarmNoticeRequest) (response *DescribeAlarmNoticeResponse, err error)
DescribeAlarmNotice This API is used to query the details of a single notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmNotices ¶
func (c *Client) DescribeAlarmNotices(request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
DescribeAlarmNotices This API is used to query the list of notification templates.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmNoticesWithContext ¶
func (c *Client) DescribeAlarmNoticesWithContext(ctx context.Context, request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
DescribeAlarmNotices This API is used to query the list of notification templates.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmPolicies ¶
func (c *Client) DescribeAlarmPolicies(request *DescribeAlarmPoliciesRequest) (response *DescribeAlarmPoliciesResponse, err error)
DescribeAlarmPolicies This API is used to query the list of alarm policies.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmPoliciesWithContext ¶
func (c *Client) DescribeAlarmPoliciesWithContext(ctx context.Context, request *DescribeAlarmPoliciesRequest) (response *DescribeAlarmPoliciesResponse, err error)
DescribeAlarmPolicies This API is used to query the list of alarm policies.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmPolicy ¶
func (c *Client) DescribeAlarmPolicy(request *DescribeAlarmPolicyRequest) (response *DescribeAlarmPolicyResponse, err error)
DescribeAlarmPolicy This API is used to get the details of a single alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmPolicyWithContext ¶
func (c *Client) DescribeAlarmPolicyWithContext(ctx context.Context, request *DescribeAlarmPolicyRequest) (response *DescribeAlarmPolicyResponse, err error)
DescribeAlarmPolicy This API is used to get the details of a single alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlertRules ¶
func (c *Client) DescribeAlertRules(request *DescribeAlertRulesRequest) (response *DescribeAlertRulesResponse, err error)
DescribeAlertRules This API is used to query a Prometheus alerting rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeAlertRulesWithContext ¶
func (c *Client) DescribeAlertRulesWithContext(ctx context.Context, request *DescribeAlertRulesRequest) (response *DescribeAlertRulesResponse, err error)
DescribeAlertRules This API is used to query a Prometheus alerting rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeAllNamespaces ¶
func (c *Client) DescribeAllNamespaces(request *DescribeAllNamespacesRequest) (response *DescribeAllNamespacesResponse, err error)
DescribeAllNamespaces This API is used to query all namespaces.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAllNamespacesWithContext ¶
func (c *Client) DescribeAllNamespacesWithContext(ctx context.Context, request *DescribeAllNamespacesRequest) (response *DescribeAllNamespacesResponse, err error)
DescribeAllNamespaces This API is used to query all namespaces.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBaseMetrics ¶
func (c *Client) DescribeBaseMetrics(request *DescribeBaseMetricsRequest) (response *DescribeBaseMetricsResponse, err error)
DescribeBaseMetrics This API is used to get the attributes of basic metrics.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBaseMetricsWithContext ¶
func (c *Client) DescribeBaseMetricsWithContext(ctx context.Context, request *DescribeBaseMetricsRequest) (response *DescribeBaseMetricsResponse, err error)
DescribeBaseMetrics This API is used to get the attributes of basic metrics.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBasicAlarmList ¶
func (c *Client) DescribeBasicAlarmList(request *DescribeBasicAlarmListRequest) (response *DescribeBasicAlarmListResponse, err error)
DescribeBasicAlarmList This API is used to get the basic alarm list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBasicAlarmListWithContext ¶
func (c *Client) DescribeBasicAlarmListWithContext(ctx context.Context, request *DescribeBasicAlarmListRequest) (response *DescribeBasicAlarmListResponse, err error)
DescribeBasicAlarmList This API is used to get the basic alarm list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBindingPolicyObjectList ¶
func (c *Client) DescribeBindingPolicyObjectList(request *DescribeBindingPolicyObjectListRequest) (response *DescribeBindingPolicyObjectListResponse, err error)
DescribeBindingPolicyObjectList This API is used to get the bound object list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DIVISIONBYZERO = "FailedOperation.DivisionByZero" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DRUIDTABLENOTFOUND = "FailedOperation.DruidTableNotFound" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBindingPolicyObjectListWithContext ¶
func (c *Client) DescribeBindingPolicyObjectListWithContext(ctx context.Context, request *DescribeBindingPolicyObjectListRequest) (response *DescribeBindingPolicyObjectListResponse, err error)
DescribeBindingPolicyObjectList This API is used to get the bound object list.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DIVISIONBYZERO = "FailedOperation.DivisionByZero" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DRUIDTABLENOTFOUND = "FailedOperation.DruidTableNotFound" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeConditionsTemplateList ¶
func (c *Client) DescribeConditionsTemplateList(request *DescribeConditionsTemplateListRequest) (response *DescribeConditionsTemplateListResponse, err error)
DescribeConditionsTemplateList This API is used to get the trigger condition template.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeConditionsTemplateListWithContext ¶
func (c *Client) DescribeConditionsTemplateListWithContext(ctx context.Context, request *DescribeConditionsTemplateListRequest) (response *DescribeConditionsTemplateListResponse, err error)
DescribeConditionsTemplateList This API is used to get the trigger condition template.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDNSConfig ¶
func (c *Client) DescribeDNSConfig(request *DescribeDNSConfigRequest) (response *DescribeDNSConfigResponse, err error)
DescribeDNSConfig This API is used to list Grafana DNS configurations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeDNSConfigWithContext ¶
func (c *Client) DescribeDNSConfigWithContext(ctx context.Context, request *DescribeDNSConfigRequest) (response *DescribeDNSConfigResponse, err error)
DescribeDNSConfig This API is used to list Grafana DNS configurations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeExporterIntegrations ¶
func (c *Client) DescribeExporterIntegrations(request *DescribeExporterIntegrationsRequest) (response *DescribeExporterIntegrationsResponse, err error)
DescribeExporterIntegrations This API is used to query the list of exporter integrations.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_AGENTNOTALLOWED = "FailedOperation.AgentNotAllowed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeExporterIntegrationsWithContext ¶
func (c *Client) DescribeExporterIntegrationsWithContext(ctx context.Context, request *DescribeExporterIntegrationsRequest) (response *DescribeExporterIntegrationsResponse, err error)
DescribeExporterIntegrations This API is used to query the list of exporter integrations.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_AGENTNOTALLOWED = "FailedOperation.AgentNotAllowed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeGrafanaChannels ¶
func (c *Client) DescribeGrafanaChannels(request *DescribeGrafanaChannelsRequest) (response *DescribeGrafanaChannelsResponse, err error)
DescribeGrafanaChannels This API is used to list all Grafana alert channels.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaChannelsWithContext ¶
func (c *Client) DescribeGrafanaChannelsWithContext(ctx context.Context, request *DescribeGrafanaChannelsRequest) (response *DescribeGrafanaChannelsResponse, err error)
DescribeGrafanaChannels This API is used to list all Grafana alert channels.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaConfig ¶
func (c *Client) DescribeGrafanaConfig(request *DescribeGrafanaConfigRequest) (response *DescribeGrafanaConfigResponse, err error)
DescribeGrafanaConfig This API is used to list Grafana settings, i.e., the `grafana.ini` file content.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaConfigWithContext ¶
func (c *Client) DescribeGrafanaConfigWithContext(ctx context.Context, request *DescribeGrafanaConfigRequest) (response *DescribeGrafanaConfigResponse, err error)
DescribeGrafanaConfig This API is used to list Grafana settings, i.e., the `grafana.ini` file content.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaEnvironments ¶
func (c *Client) DescribeGrafanaEnvironments(request *DescribeGrafanaEnvironmentsRequest) (response *DescribeGrafanaEnvironmentsResponse, err error)
DescribeGrafanaEnvironments This API is used to list Grafana environment variables.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaEnvironmentsWithContext ¶
func (c *Client) DescribeGrafanaEnvironmentsWithContext(ctx context.Context, request *DescribeGrafanaEnvironmentsRequest) (response *DescribeGrafanaEnvironmentsResponse, err error)
DescribeGrafanaEnvironments This API is used to list Grafana environment variables.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaInstances ¶
func (c *Client) DescribeGrafanaInstances(request *DescribeGrafanaInstancesRequest) (response *DescribeGrafanaInstancesResponse, err error)
DescribeGrafanaInstances This API is used to list all Grafana instances under a user account.
error code that may be returned:
AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_INTERNALERROR = "FailedOperation.InternalError" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeGrafanaInstancesWithContext ¶
func (c *Client) DescribeGrafanaInstancesWithContext(ctx context.Context, request *DescribeGrafanaInstancesRequest) (response *DescribeGrafanaInstancesResponse, err error)
DescribeGrafanaInstances This API is used to list all Grafana instances under a user account.
error code that may be returned:
AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_INTERNALERROR = "FailedOperation.InternalError" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeGrafanaIntegrations ¶
func (c *Client) DescribeGrafanaIntegrations(request *DescribeGrafanaIntegrationsRequest) (response *DescribeGrafanaIntegrationsResponse, err error)
DescribeGrafanaIntegrations This API is used to list installed Grafana integrations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaIntegrationsWithContext ¶
func (c *Client) DescribeGrafanaIntegrationsWithContext(ctx context.Context, request *DescribeGrafanaIntegrationsRequest) (response *DescribeGrafanaIntegrationsResponse, err error)
DescribeGrafanaIntegrations This API is used to list installed Grafana integrations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaNotificationChannels ¶
func (c *Client) DescribeGrafanaNotificationChannels(request *DescribeGrafanaNotificationChannelsRequest) (response *DescribeGrafanaNotificationChannelsResponse, err error)
DescribeGrafanaNotificationChannels This API is used to list Grafana notification channels.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaNotificationChannelsWithContext ¶
func (c *Client) DescribeGrafanaNotificationChannelsWithContext(ctx context.Context, request *DescribeGrafanaNotificationChannelsRequest) (response *DescribeGrafanaNotificationChannelsResponse, err error)
DescribeGrafanaNotificationChannels This API is used to list Grafana notification channels.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaWhiteList ¶
func (c *Client) DescribeGrafanaWhiteList(request *DescribeGrafanaWhiteListRequest) (response *DescribeGrafanaWhiteListResponse, err error)
DescribeGrafanaWhiteList This API is used to list the Grafana allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeGrafanaWhiteListWithContext ¶
func (c *Client) DescribeGrafanaWhiteListWithContext(ctx context.Context, request *DescribeGrafanaWhiteListRequest) (response *DescribeGrafanaWhiteListResponse, err error)
DescribeGrafanaWhiteList This API is used to list the Grafana allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeInstalledPlugins ¶
func (c *Client) DescribeInstalledPlugins(request *DescribeInstalledPluginsRequest) (response *DescribeInstalledPluginsResponse, err error)
DescribeInstalledPlugins This API is used to list the plugins installed in an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeInstalledPluginsWithContext ¶
func (c *Client) DescribeInstalledPluginsWithContext(ctx context.Context, request *DescribeInstalledPluginsRequest) (response *DescribeInstalledPluginsResponse, err error)
DescribeInstalledPlugins This API is used to list the plugins installed in an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeMonitorTypes ¶
func (c *Client) DescribeMonitorTypes(request *DescribeMonitorTypesRequest) (response *DescribeMonitorTypesResponse, err error)
DescribeMonitorTypes This API is used to list all the monitor types supported by CM.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMonitorTypesWithContext ¶
func (c *Client) DescribeMonitorTypesWithContext(ctx context.Context, request *DescribeMonitorTypesRequest) (response *DescribeMonitorTypesResponse, err error)
DescribeMonitorTypes This API is used to list all the monitor types supported by CM.
error code that may be returned:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePolicyConditionList ¶
func (c *Client) DescribePolicyConditionList(request *DescribePolicyConditionListRequest) (response *DescribePolicyConditionListResponse, err error)
DescribePolicyConditionList This API is used to get basic alarm policy conditions.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePolicyConditionListWithContext ¶
func (c *Client) DescribePolicyConditionListWithContext(ctx context.Context, request *DescribePolicyConditionListRequest) (response *DescribePolicyConditionListResponse, err error)
DescribePolicyConditionList This API is used to get basic alarm policy conditions.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePolicyGroupInfo ¶
func (c *Client) DescribePolicyGroupInfo(request *DescribePolicyGroupInfoRequest) (response *DescribePolicyGroupInfoResponse, err error)
DescribePolicyGroupInfo This API is used to get details of a basic policy group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePolicyGroupInfoWithContext ¶
func (c *Client) DescribePolicyGroupInfoWithContext(ctx context.Context, request *DescribePolicyGroupInfoRequest) (response *DescribePolicyGroupInfoResponse, err error)
DescribePolicyGroupInfo This API is used to get details of a basic policy group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePolicyGroupList ¶
func (c *Client) DescribePolicyGroupList(request *DescribePolicyGroupListRequest) (response *DescribePolicyGroupListResponse, err error)
DescribePolicyGroupList This API is used to get the list of basic policy alarm groups.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePolicyGroupListWithContext ¶
func (c *Client) DescribePolicyGroupListWithContext(ctx context.Context, request *DescribePolicyGroupListRequest) (response *DescribePolicyGroupListResponse, err error)
DescribePolicyGroupList This API is used to get the list of basic policy alarm groups.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeProductEventList ¶
func (c *Client) DescribeProductEventList(request *DescribeProductEventListRequest) (response *DescribeProductEventListResponse, err error)
DescribeProductEventList This API is used to get the list of product events by page.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeProductEventListWithContext ¶
func (c *Client) DescribeProductEventListWithContext(ctx context.Context, request *DescribeProductEventListRequest) (response *DescribeProductEventListResponse, err error)
DescribeProductEventList This API is used to get the list of product events by page.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrometheusAgents ¶
func (c *Client) DescribePrometheusAgents(request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error)
DescribePrometheusAgents This API is used to list Prometheus CVM agents.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribePrometheusAgentsWithContext ¶
func (c *Client) DescribePrometheusAgentsWithContext(ctx context.Context, request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error)
DescribePrometheusAgents This API is used to list Prometheus CVM agents.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribePrometheusInstances ¶
func (c *Client) DescribePrometheusInstances(request *DescribePrometheusInstancesRequest) (response *DescribePrometheusInstancesResponse, err error)
DescribePrometheusInstances This API is used to query the details of one or multiple instances.
<ul>
<li>You can query the details of an instance by its ID, name, or status.</li>
<li>If this parameter is empty, the information of a certain number of instances under the current account will be returned. The number is specified by `Limit` and is 20 by default.</li>
</ul>
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_INTERNALERROR = "FailedOperation.InternalError" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePrometheusInstancesWithContext ¶
func (c *Client) DescribePrometheusInstancesWithContext(ctx context.Context, request *DescribePrometheusInstancesRequest) (response *DescribePrometheusInstancesResponse, err error)
DescribePrometheusInstances This API is used to query the details of one or multiple instances.
<ul>
<li>You can query the details of an instance by its ID, name, or status.</li>
<li>If this parameter is empty, the information of a certain number of instances under the current account will be returned. The number is specified by `Limit` and is 20 by default.</li>
</ul>
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_INTERNALERROR = "FailedOperation.InternalError" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribePrometheusScrapeJobs ¶
func (c *Client) DescribePrometheusScrapeJobs(request *DescribePrometheusScrapeJobsRequest) (response *DescribePrometheusScrapeJobsResponse, err error)
DescribePrometheusScrapeJobs This API is used to list Prometheus scrape tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribePrometheusScrapeJobsWithContext ¶
func (c *Client) DescribePrometheusScrapeJobsWithContext(ctx context.Context, request *DescribePrometheusScrapeJobsRequest) (response *DescribePrometheusScrapeJobsResponse, err error)
DescribePrometheusScrapeJobs This API is used to list Prometheus scrape tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRecordingRules ¶
func (c *Client) DescribeRecordingRules(request *DescribeRecordingRulesRequest) (response *DescribeRecordingRulesResponse, err error)
DescribeRecordingRules This API is used to query Prometheus recording rules by filter.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRecordingRulesWithContext ¶
func (c *Client) DescribeRecordingRulesWithContext(ctx context.Context, request *DescribeRecordingRulesRequest) (response *DescribeRecordingRulesResponse, err error)
DescribeRecordingRules This API is used to query Prometheus recording rules by filter.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSSOAccount ¶
func (c *Client) DescribeSSOAccount(request *DescribeSSOAccountRequest) (response *DescribeSSOAccountResponse, err error)
DescribeSSOAccount This API is used to list all authorized accounts of the current Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeSSOAccountWithContext ¶
func (c *Client) DescribeSSOAccountWithContext(ctx context.Context, request *DescribeSSOAccountRequest) (response *DescribeSSOAccountResponse, err error)
DescribeSSOAccount This API is used to list all authorized accounts of the current Grafana instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeServiceDiscovery ¶
func (c *Client) DescribeServiceDiscovery(request *DescribeServiceDiscoveryRequest) (response *DescribeServiceDiscoveryResponse, err error)
DescribeServiceDiscovery This API is used to list Prometheus scrape configurations in TKE.
<p>Note: The prerequisite is that the corresponding TKE service has been integrated through the Prometheus console. For more information, see
<a href="https://intl.cloud.tencent.com/document/product/248/48859?from_cn_redirect=1" target="_blank">Agent Management</a>.</p>
error code that may be returned:
FAILEDOPERATION_ACCESSSTSFAIL = "FailedOperation.AccessSTSFail" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_TKEENDPOINTSTATUSERROR = "FailedOperation.TKEEndpointStatusError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeServiceDiscoveryWithContext ¶
func (c *Client) DescribeServiceDiscoveryWithContext(ctx context.Context, request *DescribeServiceDiscoveryRequest) (response *DescribeServiceDiscoveryResponse, err error)
DescribeServiceDiscovery This API is used to list Prometheus scrape configurations in TKE.
<p>Note: The prerequisite is that the corresponding TKE service has been integrated through the Prometheus console. For more information, see
<a href="https://intl.cloud.tencent.com/document/product/248/48859?from_cn_redirect=1" target="_blank">Agent Management</a>.</p>
error code that may be returned:
FAILEDOPERATION_ACCESSSTSFAIL = "FailedOperation.AccessSTSFail" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_TKEENDPOINTSTATUSERROR = "FailedOperation.TKEEndpointStatusError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeStatisticData ¶
func (c *Client) DescribeStatisticData(request *DescribeStatisticDataRequest) (response *DescribeStatisticDataResponse, err error)
DescribeStatisticData This API is used to query monitoring data by dimension conditions.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATACOLUMNNOTFOUND = "FailedOperation.DataColumnNotFound" FAILEDOPERATION_DATAQUERYFAILED = "FailedOperation.DataQueryFailed" FAILEDOPERATION_DATATABLENOTFOUND = "FailedOperation.DataTableNotFound" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DIVISIONBYZERO = "FailedOperation.DivisionByZero" INTERNALERROR = "InternalError" INTERNALERROR_CALLBACKFAIL = "InternalError.CallbackFail" INTERNALERROR_DEPENDSAPI = "InternalError.DependsApi" INTERNALERROR_DEPENDSDB = "InternalError.DependsDb" INTERNALERROR_DEPENDSMQ = "InternalError.DependsMq" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INTERNALERROR_SYSTEM = "InternalError.System" INTERNALERROR_TASKRESULTFORMAT = "InternalError.TaskResultFormat" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DUPTASK = "InvalidParameter.DupTask" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETER_MISSAKSK = "InvalidParameter.MissAKSK" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_SECRETIDORSECRETKEYERROR = "InvalidParameter.SecretIdOrSecretKeyError" INVALIDPARAMETER_UNSUPPORTEDPRODUCT = "InvalidParameter.UnsupportedProduct" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DASHBOARDNAMEEXISTS = "InvalidParameterValue.DashboardNameExists" INVALIDPARAMETERVALUE_VERSIONMISMATCH = "InvalidParameterValue.VersionMismatch" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOTEXISTTASK = "ResourceNotFound.NotExistTask" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeStatisticDataWithContext ¶
func (c *Client) DescribeStatisticDataWithContext(ctx context.Context, request *DescribeStatisticDataRequest) (response *DescribeStatisticDataResponse, err error)
DescribeStatisticData This API is used to query monitoring data by dimension conditions.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATACOLUMNNOTFOUND = "FailedOperation.DataColumnNotFound" FAILEDOPERATION_DATAQUERYFAILED = "FailedOperation.DataQueryFailed" FAILEDOPERATION_DATATABLENOTFOUND = "FailedOperation.DataTableNotFound" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DIVISIONBYZERO = "FailedOperation.DivisionByZero" INTERNALERROR = "InternalError" INTERNALERROR_CALLBACKFAIL = "InternalError.CallbackFail" INTERNALERROR_DEPENDSAPI = "InternalError.DependsApi" INTERNALERROR_DEPENDSDB = "InternalError.DependsDb" INTERNALERROR_DEPENDSMQ = "InternalError.DependsMq" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INTERNALERROR_SYSTEM = "InternalError.System" INTERNALERROR_TASKRESULTFORMAT = "InternalError.TaskResultFormat" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DUPTASK = "InvalidParameter.DupTask" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETER_MISSAKSK = "InvalidParameter.MissAKSK" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETER_SECRETIDORSECRETKEYERROR = "InvalidParameter.SecretIdOrSecretKeyError" INVALIDPARAMETER_UNSUPPORTEDPRODUCT = "InvalidParameter.UnsupportedProduct" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DASHBOARDNAMEEXISTS = "InvalidParameterValue.DashboardNameExists" INVALIDPARAMETERVALUE_VERSIONMISMATCH = "InvalidParameterValue.VersionMismatch" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOTEXISTTASK = "ResourceNotFound.NotExistTask" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DestroyPrometheusInstance ¶
func (c *Client) DestroyPrometheusInstance(request *DestroyPrometheusInstanceRequest) (response *DestroyPrometheusInstanceResponse, err error)
DestroyPrometheusInstance This API is used to delete the data of a Prometheus instance. The specified instance must be terminated first.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTSNOTINUNINSTALLSTAGE = "FailedOperation.AgentsNotInUninstallStage" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DestroyPrometheusInstanceWithContext ¶
func (c *Client) DestroyPrometheusInstanceWithContext(ctx context.Context, request *DestroyPrometheusInstanceRequest) (response *DestroyPrometheusInstanceResponse, err error)
DestroyPrometheusInstance This API is used to delete the data of a Prometheus instance. The specified instance must be terminated first.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTSNOTINUNINSTALLSTAGE = "FailedOperation.AgentsNotInUninstallStage" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) EnableGrafanaInternet ¶
func (c *Client) EnableGrafanaInternet(request *EnableGrafanaInternetRequest) (response *EnableGrafanaInternetResponse, err error)
EnableGrafanaInternet This API is used to set the Grafana public network access.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) EnableGrafanaInternetWithContext ¶
func (c *Client) EnableGrafanaInternetWithContext(ctx context.Context, request *EnableGrafanaInternetRequest) (response *EnableGrafanaInternetResponse, err error)
EnableGrafanaInternet This API is used to set the Grafana public network access.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) EnableGrafanaSSO ¶
func (c *Client) EnableGrafanaSSO(request *EnableGrafanaSSORequest) (response *EnableGrafanaSSOResponse, err error)
EnableGrafanaSSO This API is used to set the Grafana SSO through a Tencent Cloud account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) EnableGrafanaSSOWithContext ¶
func (c *Client) EnableGrafanaSSOWithContext(ctx context.Context, request *EnableGrafanaSSORequest) (response *EnableGrafanaSSOResponse, err error)
EnableGrafanaSSO This API is used to set the Grafana SSO through a Tencent Cloud account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) EnableSSOCamCheck ¶
func (c *Client) EnableSSOCamCheck(request *EnableSSOCamCheckRequest) (response *EnableSSOCamCheckResponse, err error)
EnableSSOCamCheck This API is used to set whether to enable CAM authentication during SSO.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) EnableSSOCamCheckWithContext ¶
func (c *Client) EnableSSOCamCheckWithContext(ctx context.Context, request *EnableSSOCamCheckRequest) (response *EnableSSOCamCheckResponse, err error)
EnableSSOCamCheck This API is used to set whether to enable CAM authentication during SSO.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) GetMonitorData ¶
func (c *Client) GetMonitorData(request *GetMonitorDataRequest) (response *GetMonitorDataResponse, err error)
GetMonitorData This API is used to get the monitoring data of Tencent Cloud services except TKE. To pull TKE’s monitoring data, use the [DescribeStatisticData](https://www.tencentcloud.com/document/product/248/39481) API.
You can get the monitoring data of a Tencent Cloud service by passing in its namespace, object dimension description, and monitoring metrics.
API call rate limit: 20 calls/second (1,200 calls/minute). A single request can get the data of up to 10 instances for up to 1,440 data points.
If you need to call a large number of APIs to pull metrics or objects at a time, some APIs may fail to be called due to the rate limit. We suggest you evenly arrange API calls at a time granularity.
error code that may be returned:
FAILEDOPERATION_ERRNOTOPEN = "FailedOperation.ErrNotOpen" FAILEDOPERATION_ERROWED = "FailedOperation.ErrOwed" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetMonitorDataWithContext ¶
func (c *Client) GetMonitorDataWithContext(ctx context.Context, request *GetMonitorDataRequest) (response *GetMonitorDataResponse, err error)
GetMonitorData This API is used to get the monitoring data of Tencent Cloud services except TKE. To pull TKE’s monitoring data, use the [DescribeStatisticData](https://www.tencentcloud.com/document/product/248/39481) API.
You can get the monitoring data of a Tencent Cloud service by passing in its namespace, object dimension description, and monitoring metrics.
API call rate limit: 20 calls/second (1,200 calls/minute). A single request can get the data of up to 10 instances for up to 1,440 data points.
If you need to call a large number of APIs to pull metrics or objects at a time, some APIs may fail to be called due to the rate limit. We suggest you evenly arrange API calls at a time granularity.
error code that may be returned:
FAILEDOPERATION_ERRNOTOPEN = "FailedOperation.ErrNotOpen" FAILEDOPERATION_ERROWED = "FailedOperation.ErrOwed" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetPrometheusAgentManagementCommand ¶
func (c *Client) GetPrometheusAgentManagementCommand(request *GetPrometheusAgentManagementCommandRequest) (response *GetPrometheusAgentManagementCommandResponse, err error)
GetPrometheusAgentManagementCommand This API is used to get the command line for Prometheus agent management.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) GetPrometheusAgentManagementCommandWithContext ¶
func (c *Client) GetPrometheusAgentManagementCommandWithContext(ctx context.Context, request *GetPrometheusAgentManagementCommandRequest) (response *GetPrometheusAgentManagementCommandResponse, err error)
GetPrometheusAgentManagementCommand This API is used to get the command line for Prometheus agent management.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) InstallPlugins ¶
func (c *Client) InstallPlugins(request *InstallPluginsRequest) (response *InstallPluginsResponse, err error)
InstallPlugins This API is used to install a Grafana plugin.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) InstallPluginsWithContext ¶
func (c *Client) InstallPluginsWithContext(ctx context.Context, request *InstallPluginsRequest) (response *InstallPluginsResponse, err error)
InstallPlugins This API is used to install a Grafana plugin.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyAlarmNotice ¶
func (c *Client) ModifyAlarmNotice(request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
ModifyAlarmNotice This API is used to edit an alarm notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmNoticeWithContext ¶
func (c *Client) ModifyAlarmNoticeWithContext(ctx context.Context, request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
ModifyAlarmNotice This API is used to edit an alarm notification template.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyCondition ¶
func (c *Client) ModifyAlarmPolicyCondition(request *ModifyAlarmPolicyConditionRequest) (response *ModifyAlarmPolicyConditionResponse, err error)
ModifyAlarmPolicyCondition This API is used to modify the trigger condition of an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyConditionWithContext ¶
func (c *Client) ModifyAlarmPolicyConditionWithContext(ctx context.Context, request *ModifyAlarmPolicyConditionRequest) (response *ModifyAlarmPolicyConditionResponse, err error)
ModifyAlarmPolicyCondition This API is used to modify the trigger condition of an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyInfo ¶
func (c *Client) ModifyAlarmPolicyInfo(request *ModifyAlarmPolicyInfoRequest) (response *ModifyAlarmPolicyInfoResponse, err error)
ModifyAlarmPolicyInfo This API is used to edit the basic information of a v2.0 alarm policy, including policy name and remarks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyInfoWithContext ¶
func (c *Client) ModifyAlarmPolicyInfoWithContext(ctx context.Context, request *ModifyAlarmPolicyInfoRequest) (response *ModifyAlarmPolicyInfoResponse, err error)
ModifyAlarmPolicyInfo This API is used to edit the basic information of a v2.0 alarm policy, including policy name and remarks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyNotice ¶
func (c *Client) ModifyAlarmPolicyNotice(request *ModifyAlarmPolicyNoticeRequest) (response *ModifyAlarmPolicyNoticeResponse, err error)
ModifyAlarmPolicyNotice This API is used to modify the alarm notification template bound to an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAlarmPolicyNoticeWithContext ¶
func (c *Client) ModifyAlarmPolicyNoticeWithContext(ctx context.Context, request *ModifyAlarmPolicyNoticeRequest) (response *ModifyAlarmPolicyNoticeResponse, err error)
ModifyAlarmPolicyNotice This API is used to modify the alarm notification template bound to an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAlarmPolicyStatus ¶
func (c *Client) ModifyAlarmPolicyStatus(request *ModifyAlarmPolicyStatusRequest) (response *ModifyAlarmPolicyStatusResponse, err error)
ModifyAlarmPolicyStatus This API is used to enable/disable an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyStatusWithContext ¶
func (c *Client) ModifyAlarmPolicyStatusWithContext(ctx context.Context, request *ModifyAlarmPolicyStatusRequest) (response *ModifyAlarmPolicyStatusResponse, err error)
ModifyAlarmPolicyStatus This API is used to enable/disable an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarmPolicyTasks ¶
func (c *Client) ModifyAlarmPolicyTasks(request *ModifyAlarmPolicyTasksRequest) (response *ModifyAlarmPolicyTasksResponse, err error)
ModifyAlarmPolicyTasks This API is used to modify the task triggered by an alarm policy. The `TriggerTasks` field contains the list of triggered tasks. If an empty array is passed in for `TriggerTasks`, it indicates to unbind all the triggered tasks from this policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAlarmPolicyTasksWithContext ¶
func (c *Client) ModifyAlarmPolicyTasksWithContext(ctx context.Context, request *ModifyAlarmPolicyTasksRequest) (response *ModifyAlarmPolicyTasksResponse, err error)
ModifyAlarmPolicyTasks This API is used to modify the task triggered by an alarm policy. The `TriggerTasks` field contains the list of triggered tasks. If an empty array is passed in for `TriggerTasks`, it indicates to unbind all the triggered tasks from this policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAlarmReceivers ¶
func (c *Client) ModifyAlarmReceivers(request *ModifyAlarmReceiversRequest) (response *ModifyAlarmReceiversResponse, err error)
ModifyAlarmReceivers This API is used to modify alarm recipients.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAlarmReceiversWithContext ¶
func (c *Client) ModifyAlarmReceiversWithContext(ctx context.Context, request *ModifyAlarmReceiversRequest) (response *ModifyAlarmReceiversResponse, err error)
ModifyAlarmReceivers This API is used to modify alarm recipients.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyGrafanaInstance ¶
func (c *Client) ModifyGrafanaInstance(request *ModifyGrafanaInstanceRequest) (response *ModifyGrafanaInstanceResponse, err error)
ModifyGrafanaInstance This API is used to modify the attributes of a Grafana instance.
error code that may be returned:
FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) ModifyGrafanaInstanceWithContext ¶
func (c *Client) ModifyGrafanaInstanceWithContext(ctx context.Context, request *ModifyGrafanaInstanceRequest) (response *ModifyGrafanaInstanceResponse, err error)
ModifyGrafanaInstance This API is used to modify the attributes of a Grafana instance.
error code that may be returned:
FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) ModifyPolicyGroup ¶
func (c *Client) ModifyPolicyGroup(request *ModifyPolicyGroupRequest) (response *ModifyPolicyGroupResponse, err error)
ModifyPolicyGroup This API is used to update policy group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPolicyGroupWithContext ¶
func (c *Client) ModifyPolicyGroupWithContext(ctx context.Context, request *ModifyPolicyGroupRequest) (response *ModifyPolicyGroupResponse, err error)
ModifyPolicyGroup This API is used to update policy group.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPrometheusInstanceAttributes ¶
func (c *Client) ModifyPrometheusInstanceAttributes(request *ModifyPrometheusInstanceAttributesRequest) (response *ModifyPrometheusInstanceAttributesResponse, err error)
ModifyPrometheusInstanceAttributes This API is used to modify the attributes of a Prometheus instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" MISSINGPARAMETER = "MissingParameter"
func (*Client) ModifyPrometheusInstanceAttributesWithContext ¶
func (c *Client) ModifyPrometheusInstanceAttributesWithContext(ctx context.Context, request *ModifyPrometheusInstanceAttributesRequest) (response *ModifyPrometheusInstanceAttributesResponse, err error)
ModifyPrometheusInstanceAttributes This API is used to modify the attributes of a Prometheus instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" MISSINGPARAMETER = "MissingParameter"
func (*Client) PutMonitorData ¶
func (c *Client) PutMonitorData(request *PutMonitorDataRequest) (response *PutMonitorDataResponse, err error)
PutMonitorData The default API request rate limit is 50 requests/sec.
The default upper limit on metrics of a single tenant is 100.
A maximum of 30 metric/value pairs can be reported at a time. When an error is returned for a request, no metrics/values in the request will be saved.
The reporting timestamp is the timestamp when you want to save the data. We recommend that you construct a timestamp at integer minutes.
The time range of a timestamp is from 300 seconds before the current time to the current time.
The data of the same IP metric/value pair must be reported by minute in chronological order.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) PutMonitorDataWithContext ¶
func (c *Client) PutMonitorDataWithContext(ctx context.Context, request *PutMonitorDataRequest) (response *PutMonitorDataResponse, err error)
PutMonitorData The default API request rate limit is 50 requests/sec.
The default upper limit on metrics of a single tenant is 100.
A maximum of 30 metric/value pairs can be reported at a time. When an error is returned for a request, no metrics/values in the request will be saved.
The reporting timestamp is the timestamp when you want to save the data. We recommend that you construct a timestamp at integer minutes.
The time range of a timestamp is from 300 seconds before the current time to the current time.
The data of the same IP metric/value pair must be reported by minute in chronological order.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ResumeGrafanaInstance ¶
func (c *Client) ResumeGrafanaInstance(request *ResumeGrafanaInstanceRequest) (response *ResumeGrafanaInstanceResponse, err error)
ResumeGrafanaInstance This API is used to restore a Grafana instance.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ResumeGrafanaInstanceWithContext ¶
func (c *Client) ResumeGrafanaInstanceWithContext(ctx context.Context, request *ResumeGrafanaInstanceRequest) (response *ResumeGrafanaInstanceResponse, err error)
ResumeGrafanaInstance This API is used to restore a Grafana instance.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SendCustomAlarmMsg ¶
func (c *Client) SendCustomAlarmMsg(request *SendCustomAlarmMsgRequest) (response *SendCustomAlarmMsgResponse, err error)
SendCustomAlarmMsg This API is used to send a custom alarm notification.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SendCustomAlarmMsgWithContext ¶
func (c *Client) SendCustomAlarmMsgWithContext(ctx context.Context, request *SendCustomAlarmMsgRequest) (response *SendCustomAlarmMsgResponse, err error)
SendCustomAlarmMsg This API is used to send a custom alarm notification.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetDefaultAlarmPolicy ¶
func (c *Client) SetDefaultAlarmPolicy(request *SetDefaultAlarmPolicyRequest) (response *SetDefaultAlarmPolicyResponse, err error)
SetDefaultAlarmPolicy This API is used to set an alarm policy as the default policy in the current policy type under the current project.
Alarm policies in the same type under the project will be set as non-default.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetDefaultAlarmPolicyWithContext ¶
func (c *Client) SetDefaultAlarmPolicyWithContext(ctx context.Context, request *SetDefaultAlarmPolicyRequest) (response *SetDefaultAlarmPolicyResponse, err error)
SetDefaultAlarmPolicy This API is used to set an alarm policy as the default policy in the current policy type under the current project.
Alarm policies in the same type under the project will be set as non-default.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) TerminatePrometheusInstances ¶
func (c *Client) TerminatePrometheusInstances(request *TerminatePrometheusInstancesRequest) (response *TerminatePrometheusInstancesResponse, err error)
TerminatePrometheusInstances This API is used to terminate a pay-as-you-go Prometheus instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTSNOTINUNINSTALLSTAGE = "FailedOperation.AgentsNotInUninstallStage" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) TerminatePrometheusInstancesWithContext ¶
func (c *Client) TerminatePrometheusInstancesWithContext(ctx context.Context, request *TerminatePrometheusInstancesRequest) (response *TerminatePrometheusInstancesResponse, err error)
TerminatePrometheusInstances This API is used to terminate a pay-as-you-go Prometheus instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTSNOTINUNINSTALLSTAGE = "FailedOperation.AgentsNotInUninstallStage" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UnBindingAllPolicyObject ¶
func (c *Client) UnBindingAllPolicyObject(request *UnBindingAllPolicyObjectRequest) (response *UnBindingAllPolicyObjectResponse, err error)
UnBindingAllPolicyObject This API is used to delete all bound objects.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnBindingAllPolicyObjectWithContext ¶
func (c *Client) UnBindingAllPolicyObjectWithContext(ctx context.Context, request *UnBindingAllPolicyObjectRequest) (response *UnBindingAllPolicyObjectResponse, err error)
UnBindingAllPolicyObject This API is used to delete all bound objects.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnBindingPolicyObject ¶
func (c *Client) UnBindingPolicyObject(request *UnBindingPolicyObjectRequest) (response *UnBindingPolicyObjectResponse, err error)
UnBindingPolicyObject This API is used to delete an object that is bound to a policy.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOTEXISTTASK = "ResourceNotFound.NotExistTask" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnBindingPolicyObjectWithContext ¶
func (c *Client) UnBindingPolicyObjectWithContext(ctx context.Context, request *UnBindingPolicyObjectRequest) (response *UnBindingPolicyObjectResponse, err error)
UnBindingPolicyObject This API is used to delete an object that is bound to a policy.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ALERTFILTERRULEDELETEFAILED = "FailedOperation.AlertFilterRuleDeleteFailed" FAILEDOPERATION_ALERTPOLICYCREATEFAILED = "FailedOperation.AlertPolicyCreateFailed" FAILEDOPERATION_ALERTPOLICYDELETEFAILED = "FailedOperation.AlertPolicyDeleteFailed" FAILEDOPERATION_ALERTPOLICYDESCRIBEFAILED = "FailedOperation.AlertPolicyDescribeFailed" FAILEDOPERATION_ALERTPOLICYMODIFYFAILED = "FailedOperation.AlertPolicyModifyFailed" FAILEDOPERATION_ALERTTRIGGERRULEDELETEFAILED = "FailedOperation.AlertTriggerRuleDeleteFailed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_DBTRANSACTIONBEGINFAILED = "FailedOperation.DbTransactionBeginFailed" FAILEDOPERATION_DBTRANSACTIONCOMMITFAILED = "FailedOperation.DbTransactionCommitFailed" FAILEDOPERATION_DIMQUERYREQUESTFAILED = "FailedOperation.DimQueryRequestFailed" FAILEDOPERATION_DRUIDQUERYFAILED = "FailedOperation.DruidQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_SERVICENOTENABLED = "FailedOperation.ServiceNotEnabled" INTERNALERROR = "InternalError" INTERNALERROR_EXETIMEOUT = "InternalError.ExeTimeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERPARAM = "InvalidParameter.InvalidParameterParam" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_METRICQUOTAEXCEEDED = "LimitExceeded.MetricQuotaExceeded" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOTEXISTTASK = "ResourceNotFound.NotExistTask" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnbindPrometheusManagedGrafana ¶
func (c *Client) UnbindPrometheusManagedGrafana(request *UnbindPrometheusManagedGrafanaRequest) (response *UnbindPrometheusManagedGrafanaResponse, err error)
UnbindPrometheusManagedGrafana This API is used to unbind a Grafana instance from an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UnbindPrometheusManagedGrafanaWithContext ¶
func (c *Client) UnbindPrometheusManagedGrafanaWithContext(ctx context.Context, request *UnbindPrometheusManagedGrafanaRequest) (response *UnbindPrometheusManagedGrafanaResponse, err error)
UnbindPrometheusManagedGrafana This API is used to unbind a Grafana instance from an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UninstallGrafanaDashboard ¶
func (c *Client) UninstallGrafanaDashboard(request *UninstallGrafanaDashboardRequest) (response *UninstallGrafanaDashboardResponse, err error)
UninstallGrafanaDashboard This API is used to delete a Grafana dashboard.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UninstallGrafanaDashboardWithContext ¶
func (c *Client) UninstallGrafanaDashboardWithContext(ctx context.Context, request *UninstallGrafanaDashboardRequest) (response *UninstallGrafanaDashboardResponse, err error)
UninstallGrafanaDashboard This API is used to delete a Grafana dashboard.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UninstallGrafanaPlugins ¶
func (c *Client) UninstallGrafanaPlugins(request *UninstallGrafanaPluginsRequest) (response *UninstallGrafanaPluginsResponse, err error)
UninstallGrafanaPlugins This API is used to delete installed plugins.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UninstallGrafanaPluginsWithContext ¶
func (c *Client) UninstallGrafanaPluginsWithContext(ctx context.Context, request *UninstallGrafanaPluginsRequest) (response *UninstallGrafanaPluginsResponse, err error)
UninstallGrafanaPlugins This API is used to delete installed plugins.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateAlertRule ¶
func (c *Client) UpdateAlertRule(request *UpdateAlertRuleRequest) (response *UpdateAlertRuleResponse, err error)
UpdateAlertRule This API is used to update a Prometheus alerting rule.
Note that alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. For more information, see [Alerting rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateAlertRuleState ¶
func (c *Client) UpdateAlertRuleState(request *UpdateAlertRuleStateRequest) (response *UpdateAlertRuleStateResponse, err error)
UpdateAlertRuleState This API is used to update the status of a Prometheus alerting rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateAlertRuleStateWithContext ¶
func (c *Client) UpdateAlertRuleStateWithContext(ctx context.Context, request *UpdateAlertRuleStateRequest) (response *UpdateAlertRuleStateResponse, err error)
UpdateAlertRuleState This API is used to update the status of a Prometheus alerting rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateAlertRuleWithContext ¶
func (c *Client) UpdateAlertRuleWithContext(ctx context.Context, request *UpdateAlertRuleRequest) (response *UpdateAlertRuleResponse, err error)
UpdateAlertRule This API is used to update a Prometheus alerting rule.
Note that alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. For more information, see [Alerting rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateDNSConfig ¶
func (c *Client) UpdateDNSConfig(request *UpdateDNSConfigRequest) (response *UpdateDNSConfigResponse, err error)
UpdateDNSConfig This API is used to update the Grafana DNS configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateDNSConfigWithContext ¶
func (c *Client) UpdateDNSConfigWithContext(ctx context.Context, request *UpdateDNSConfigRequest) (response *UpdateDNSConfigResponse, err error)
UpdateDNSConfig This API is used to update the Grafana DNS configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateExporterIntegration ¶
func (c *Client) UpdateExporterIntegration(request *UpdateExporterIntegrationRequest) (response *UpdateExporterIntegrationResponse, err error)
UpdateExporterIntegration This API is used to update the exporter integration configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_AGENTNOTALLOWED = "FailedOperation.AgentNotAllowed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateExporterIntegrationWithContext ¶
func (c *Client) UpdateExporterIntegrationWithContext(ctx context.Context, request *UpdateExporterIntegrationRequest) (response *UpdateExporterIntegrationResponse, err error)
UpdateExporterIntegration This API is used to update the exporter integration configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTKEFAIL = "FailedOperation.AccessTKEFail" FAILEDOPERATION_AGENTNOTALLOWED = "FailedOperation.AgentNotAllowed" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INSTANCENOTRUNNING = "FailedOperation.InstanceNotRunning" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_RESOURCEOPERATING = "FailedOperation.ResourceOperating" FAILEDOPERATION_TKERESOURCECONFLICT = "FailedOperation.TKEResourceConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateGrafanaConfig ¶
func (c *Client) UpdateGrafanaConfig(request *UpdateGrafanaConfigRequest) (response *UpdateGrafanaConfigResponse, err error)
UpdateGrafanaConfig This API is used to update the Grafana configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaConfigWithContext ¶
func (c *Client) UpdateGrafanaConfigWithContext(ctx context.Context, request *UpdateGrafanaConfigRequest) (response *UpdateGrafanaConfigResponse, err error)
UpdateGrafanaConfig This API is used to update the Grafana configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaEnvironments ¶
func (c *Client) UpdateGrafanaEnvironments(request *UpdateGrafanaEnvironmentsRequest) (response *UpdateGrafanaEnvironmentsResponse, err error)
UpdateGrafanaEnvironments This API is used to update Grafana environment variables.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaEnvironmentsWithContext ¶
func (c *Client) UpdateGrafanaEnvironmentsWithContext(ctx context.Context, request *UpdateGrafanaEnvironmentsRequest) (response *UpdateGrafanaEnvironmentsResponse, err error)
UpdateGrafanaEnvironments This API is used to update Grafana environment variables.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaIntegration ¶
func (c *Client) UpdateGrafanaIntegration(request *UpdateGrafanaIntegrationRequest) (response *UpdateGrafanaIntegrationResponse, err error)
UpdateGrafanaIntegration This API is used to update the Grafana integration configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaIntegrationWithContext ¶
func (c *Client) UpdateGrafanaIntegrationWithContext(ctx context.Context, request *UpdateGrafanaIntegrationRequest) (response *UpdateGrafanaIntegrationResponse, err error)
UpdateGrafanaIntegration This API is used to update the Grafana integration configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaNotificationChannel ¶
func (c *Client) UpdateGrafanaNotificationChannel(request *UpdateGrafanaNotificationChannelRequest) (response *UpdateGrafanaNotificationChannelResponse, err error)
UpdateGrafanaNotificationChannel This API is used to update the Grafana notification channel.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaNotificationChannelWithContext ¶
func (c *Client) UpdateGrafanaNotificationChannelWithContext(ctx context.Context, request *UpdateGrafanaNotificationChannelRequest) (response *UpdateGrafanaNotificationChannelResponse, err error)
UpdateGrafanaNotificationChannel This API is used to update the Grafana notification channel.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaWhiteList ¶
func (c *Client) UpdateGrafanaWhiteList(request *UpdateGrafanaWhiteListRequest) (response *UpdateGrafanaWhiteListResponse, err error)
UpdateGrafanaWhiteList This API is used to update the Grafana allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdateGrafanaWhiteListWithContext ¶
func (c *Client) UpdateGrafanaWhiteListWithContext(ctx context.Context, request *UpdateGrafanaWhiteListRequest) (response *UpdateGrafanaWhiteListResponse, err error)
UpdateGrafanaWhiteList This API is used to update the Grafana allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UpdatePrometheusAgentStatus ¶
func (c *Client) UpdatePrometheusAgentStatus(request *UpdatePrometheusAgentStatusRequest) (response *UpdatePrometheusAgentStatusResponse, err error)
UpdatePrometheusAgentStatus This API is used to update the status of a Prometheus CVM agent.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdatePrometheusAgentStatusWithContext ¶
func (c *Client) UpdatePrometheusAgentStatusWithContext(ctx context.Context, request *UpdatePrometheusAgentStatusRequest) (response *UpdatePrometheusAgentStatusResponse, err error)
UpdatePrometheusAgentStatus This API is used to update the status of a Prometheus CVM agent.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdatePrometheusScrapeJob ¶
func (c *Client) UpdatePrometheusScrapeJob(request *UpdatePrometheusScrapeJobRequest) (response *UpdatePrometheusScrapeJobResponse, err error)
UpdatePrometheusScrapeJob This API is used to update a Prometheus scrape task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdatePrometheusScrapeJobWithContext ¶
func (c *Client) UpdatePrometheusScrapeJobWithContext(ctx context.Context, request *UpdatePrometheusScrapeJobRequest) (response *UpdatePrometheusScrapeJobResponse, err error)
UpdatePrometheusScrapeJob This API is used to update a Prometheus scrape task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateRecordingRule ¶
func (c *Client) UpdateRecordingRule(request *UpdateRecordingRuleRequest) (response *UpdateRecordingRuleResponse, err error)
UpdateRecordingRule This API is used to update a Prometheus recording rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateRecordingRuleWithContext ¶
func (c *Client) UpdateRecordingRuleWithContext(ctx context.Context, request *UpdateRecordingRuleRequest) (response *UpdateRecordingRuleResponse, err error)
UpdateRecordingRule This API is used to update a Prometheus recording rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BADYAMLFORMAT = "FailedOperation.BadYamlFormat" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDDELETEFAILED = "FailedOperation.DbRecordDeleteFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_GENERATEINSTANCEIDFAILED = "FailedOperation.GenerateInstanceIDFailed" FAILEDOPERATION_RESOURCEEXIST = "FailedOperation.ResourceExist" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) UpdateSSOAccount ¶
func (c *Client) UpdateSSOAccount(request *UpdateSSOAccountRequest) (response *UpdateSSOAccountResponse, err error)
UpdateSSOAccount This API is used to update the remarks and permission information of an authorized account in an overwriting manner.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpdateSSOAccountWithContext ¶
func (c *Client) UpdateSSOAccountWithContext(ctx context.Context, request *UpdateSSOAccountRequest) (response *UpdateSSOAccountResponse, err error)
UpdateSSOAccount This API is used to update the remarks and permission information of an authorized account in an overwriting manner.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpgradeGrafanaDashboard ¶
func (c *Client) UpgradeGrafanaDashboard(request *UpgradeGrafanaDashboardRequest) (response *UpgradeGrafanaDashboardResponse, err error)
UpgradeGrafanaDashboard This API is used to update a Grafana dashboard.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpgradeGrafanaDashboardWithContext ¶
func (c *Client) UpgradeGrafanaDashboardWithContext(ctx context.Context, request *UpgradeGrafanaDashboardRequest) (response *UpgradeGrafanaDashboardResponse, err error)
UpgradeGrafanaDashboard This API is used to update a Grafana dashboard.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpgradeGrafanaInstance ¶
func (c *Client) UpgradeGrafanaInstance(request *UpgradeGrafanaInstanceRequest) (response *UpgradeGrafanaInstanceResponse, err error)
UpgradeGrafanaInstance This API is used to upgrade a Grafana instance.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpgradeGrafanaInstanceWithContext ¶
func (c *Client) UpgradeGrafanaInstanceWithContext(ctx context.Context, request *UpgradeGrafanaInstanceRequest) (response *UpgradeGrafanaInstanceResponse, err error)
UpgradeGrafanaInstance This API is used to upgrade a Grafana instance.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
type CommonNamespace ¶
type CommonNamespace struct { // Namespace ID Id *string `json:"Id,omitempty" name:"Id"` // Namespace name Name *string `json:"Name,omitempty" name:"Name"` // Namespace value Value *string `json:"Value,omitempty" name:"Value"` // Product name ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // Configuration information Config *string `json:"Config,omitempty" name:"Config"` // List of supported regions AvailableRegions []*string `json:"AvailableRegions,omitempty" name:"AvailableRegions"` // Sort ID SortId *int64 `json:"SortId,omitempty" name:"SortId"` // Unique ID in Dashboard DashboardId *string `json:"DashboardId,omitempty" name:"DashboardId"` }
type CommonNamespaceNew ¶
type CommonNamespaceNew struct { // Namespace ID Id *string `json:"Id,omitempty" name:"Id"` // Namespace name Name *string `json:"Name,omitempty" name:"Name"` // Monitoring type MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Dimension information Dimensions []*DimensionNew `json:"Dimensions,omitempty" name:"Dimensions"` }
type Condition ¶
type Condition struct { // Alarm notification frequency. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Predefined repeated notification policy. `0`: One-time alarm; `1`: exponential alarm; `2`: consecutive alarm. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Detection method. // Note: This field may return `null`, indicating that no valid values can be obtained. CalcType *string `json:"CalcType,omitempty" name:"CalcType"` // Detection value. // Note: This field may return `null`, indicating that no valid values can be obtained. CalcValue *string `json:"CalcValue,omitempty" name:"CalcValue"` // Duration in seconds. // Note: This field may return null, indicating that no valid values can be obtained. ContinueTime *string `json:"ContinueTime,omitempty" name:"ContinueTime"` // Metric ID. MetricID *int64 `json:"MetricID,omitempty" name:"MetricID"` // Displayed metric name. MetricDisplayName *string `json:"MetricDisplayName,omitempty" name:"MetricDisplayName"` // Statistical period. Period *int64 `json:"Period,omitempty" name:"Period"` // Rule ID. RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"` // Metric unit. Unit *string `json:"Unit,omitempty" name:"Unit"` // Whether it is an advanced metric. Valid values: `0` (no), `1` (yes). IsAdvanced *int64 `json:"IsAdvanced,omitempty" name:"IsAdvanced"` // Whether the advance metric feature is enabled. Valid values: `0` (no), `1` (yes). IsOpen *int64 `json:"IsOpen,omitempty" name:"IsOpen"` // Product ID. // Note: This field may return null, indicating that no valid values can be obtained. ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
type ConditionsTemp ¶
type ConditionsTemp struct { // Template name // Note: this field may return null, indicating that no valid values can be obtained. TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` // Metric trigger condition // Note: this field may return null, indicating that no valid values can be obtained. Condition *AlarmPolicyCondition `json:"Condition,omitempty" name:"Condition"` // Event trigger condition // Note: this field may return null, indicating that no valid values can be obtained. EventCondition *AlarmPolicyEventCondition `json:"EventCondition,omitempty" name:"EventCondition"` }
type CreateAlarmNoticeRequest ¶
type CreateAlarmNoticeRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Notification template name, which can contain up to 60 characters Name *string `json:"Name,omitempty" name:"Name"` // Notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms) NoticeType *string `json:"NoticeType,omitempty" name:"NoticeType"` // Notification language. Valid values: zh-CN (Chinese), en-US (English) NoticeLanguage *string `json:"NoticeLanguage,omitempty" name:"NoticeLanguage"` // User notifications (up to 5) UserNotices []*UserNotice `json:"UserNotices,omitempty" name:"UserNotices"` // Callback notifications (up to 3) URLNotices []*URLNotice `json:"URLNotices,omitempty" name:"URLNotices"` // The operation of pushing alarm notifications to CLS. Up to one CLS log topic can be configured. CLSNotices []*CLSNotice `json:"CLSNotices,omitempty" name:"CLSNotices"` // Tags bound to a template Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateAlarmNoticeRequest ¶
func NewCreateAlarmNoticeRequest() (request *CreateAlarmNoticeRequest)
func (*CreateAlarmNoticeRequest) FromJsonString ¶
func (r *CreateAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmNoticeRequest) ToJsonString ¶
func (r *CreateAlarmNoticeRequest) ToJsonString() string
type CreateAlarmNoticeRequestParams ¶
type CreateAlarmNoticeRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Notification template name, which can contain up to 60 characters Name *string `json:"Name,omitempty" name:"Name"` // Notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms) NoticeType *string `json:"NoticeType,omitempty" name:"NoticeType"` // Notification language. Valid values: zh-CN (Chinese), en-US (English) NoticeLanguage *string `json:"NoticeLanguage,omitempty" name:"NoticeLanguage"` // User notifications (up to 5) UserNotices []*UserNotice `json:"UserNotices,omitempty" name:"UserNotices"` // Callback notifications (up to 3) URLNotices []*URLNotice `json:"URLNotices,omitempty" name:"URLNotices"` // The operation of pushing alarm notifications to CLS. Up to one CLS log topic can be configured. CLSNotices []*CLSNotice `json:"CLSNotices,omitempty" name:"CLSNotices"` // Tags bound to a template Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreateAlarmNoticeResponse ¶
type CreateAlarmNoticeResponse struct { *tchttp.BaseResponse Response *CreateAlarmNoticeResponseParams `json:"Response"` }
func NewCreateAlarmNoticeResponse ¶
func NewCreateAlarmNoticeResponse() (response *CreateAlarmNoticeResponse)
func (*CreateAlarmNoticeResponse) FromJsonString ¶
func (r *CreateAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmNoticeResponse) ToJsonString ¶
func (r *CreateAlarmNoticeResponse) ToJsonString() string
type CreateAlarmNoticeResponseParams ¶
type CreateAlarmNoticeResponseParams struct { // Alarm notification template ID NoticeId *string `json:"NoticeId,omitempty" name:"NoticeId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAlarmPolicyRequest ¶
type CreateAlarmPolicyRequest struct { *tchttp.BaseRequest // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Policy name, which can contain up to 20 characters PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring) MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Type of alarm policy, which can be obtained via [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1). For the monitoring of Tencent Cloud services, the value of this parameter is `QceNamespacesNew.N.Id` of the output parameter of `DescribeAllNamespaces`, for example, `cvm_device`. Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Remarks with up to 100 letters, digits, underscores, and hyphens Remark *string `json:"Remark,omitempty" name:"Remark"` // Whether to enable. Valid values: 0 (no), 1 (yes). Default value: 1. This parameter can be left empty Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Project ID. For products with different projects, a value other than `-1` must be passed in. `-1`: no project; `0`: default project. If no value is passed in, `-1` will be used. The supported project IDs can be viewed on the [**Account Center** > **Project Management**](https://console.cloud.tencent.com/project) page of the console. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Trigger condition template ID. Pass in this parameter if the policy is associated with the trigger condition template; otherwise, pass in the `Condition` parameter. The trigger condition template ID can be obtained via [`DescribeConditionsTemplateList`](https://intl.cloud.tencent.com/document/api/248/70250?from_cn_redirect=1). ConditionTemplateId *int64 `json:"ConditionTemplateId,omitempty" name:"ConditionTemplateId"` // Metric trigger condition. The supported metrics can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1). Condition *AlarmPolicyCondition `json:"Condition,omitempty" name:"Condition"` // Event trigger condition. The supported events can be queried via [DescribeAlarmEvents](https://intl.cloud.tencent.com/document/product/248/51284?from_cn_redirect=1). EventCondition *AlarmPolicyEventCondition `json:"EventCondition,omitempty" name:"EventCondition"` // List of notification rule IDs, which can be obtained via [DescribeAlarmNotices](https://intl.cloud.tencent.com/document/product/248/51280?from_cn_redirect=1) NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Triggered task list TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` // Global filter. Filter *AlarmPolicyFilter `json:"Filter,omitempty" name:"Filter"` // Aggregation dimension list, which is used to specify which dimension keys data is grouped by. GroupBy []*string `json:"GroupBy,omitempty" name:"GroupBy"` // Tags bound to a template Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Log alarm information LogAlarmReqInfo *LogAlarmReq `json:"LogAlarmReqInfo,omitempty" name:"LogAlarmReqInfo"` // Notification rules for different alarm levels HierarchicalNotices []*AlarmHierarchicalNotice `json:"HierarchicalNotices,omitempty" name:"HierarchicalNotices"` // A dedicated field for migration policies. 0: Implement authentication logic; 1: Skip authentication logic. MigrateFlag *int64 `json:"MigrateFlag,omitempty" name:"MigrateFlag"` }
func NewCreateAlarmPolicyRequest ¶
func NewCreateAlarmPolicyRequest() (request *CreateAlarmPolicyRequest)
func (*CreateAlarmPolicyRequest) FromJsonString ¶
func (r *CreateAlarmPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmPolicyRequest) ToJsonString ¶
func (r *CreateAlarmPolicyRequest) ToJsonString() string
type CreateAlarmPolicyRequestParams ¶
type CreateAlarmPolicyRequestParams struct { // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Policy name, which can contain up to 20 characters PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring) MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Type of alarm policy, which can be obtained via [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1). For the monitoring of Tencent Cloud services, the value of this parameter is `QceNamespacesNew.N.Id` of the output parameter of `DescribeAllNamespaces`, for example, `cvm_device`. Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Remarks with up to 100 letters, digits, underscores, and hyphens Remark *string `json:"Remark,omitempty" name:"Remark"` // Whether to enable. Valid values: 0 (no), 1 (yes). Default value: 1. This parameter can be left empty Enable *int64 `json:"Enable,omitempty" name:"Enable"` // Project ID. For products with different projects, a value other than `-1` must be passed in. `-1`: no project; `0`: default project. If no value is passed in, `-1` will be used. The supported project IDs can be viewed on the [**Account Center** > **Project Management**](https://console.cloud.tencent.com/project) page of the console. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Trigger condition template ID. Pass in this parameter if the policy is associated with the trigger condition template; otherwise, pass in the `Condition` parameter. The trigger condition template ID can be obtained via [`DescribeConditionsTemplateList`](https://intl.cloud.tencent.com/document/api/248/70250?from_cn_redirect=1). ConditionTemplateId *int64 `json:"ConditionTemplateId,omitempty" name:"ConditionTemplateId"` // Metric trigger condition. The supported metrics can be queried via [DescribeAlarmMetrics](https://intl.cloud.tencent.com/document/product/248/51283?from_cn_redirect=1). Condition *AlarmPolicyCondition `json:"Condition,omitempty" name:"Condition"` // Event trigger condition. The supported events can be queried via [DescribeAlarmEvents](https://intl.cloud.tencent.com/document/product/248/51284?from_cn_redirect=1). EventCondition *AlarmPolicyEventCondition `json:"EventCondition,omitempty" name:"EventCondition"` // List of notification rule IDs, which can be obtained via [DescribeAlarmNotices](https://intl.cloud.tencent.com/document/product/248/51280?from_cn_redirect=1) NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Triggered task list TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` // Global filter. Filter *AlarmPolicyFilter `json:"Filter,omitempty" name:"Filter"` // Aggregation dimension list, which is used to specify which dimension keys data is grouped by. GroupBy []*string `json:"GroupBy,omitempty" name:"GroupBy"` // Tags bound to a template Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Log alarm information LogAlarmReqInfo *LogAlarmReq `json:"LogAlarmReqInfo,omitempty" name:"LogAlarmReqInfo"` // Notification rules for different alarm levels HierarchicalNotices []*AlarmHierarchicalNotice `json:"HierarchicalNotices,omitempty" name:"HierarchicalNotices"` // A dedicated field for migration policies. 0: Implement authentication logic; 1: Skip authentication logic. MigrateFlag *int64 `json:"MigrateFlag,omitempty" name:"MigrateFlag"` }
Predefined struct for user
type CreateAlarmPolicyResponse ¶
type CreateAlarmPolicyResponse struct { *tchttp.BaseResponse Response *CreateAlarmPolicyResponseParams `json:"Response"` }
func NewCreateAlarmPolicyResponse ¶
func NewCreateAlarmPolicyResponse() (response *CreateAlarmPolicyResponse)
func (*CreateAlarmPolicyResponse) FromJsonString ¶
func (r *CreateAlarmPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmPolicyResponse) ToJsonString ¶
func (r *CreateAlarmPolicyResponse) ToJsonString() string
type CreateAlarmPolicyResponseParams ¶
type CreateAlarmPolicyResponseParams struct { // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Alarm policy ID, which can be used when you call APIs ([BindingPolicyObject](https://intl.cloud.tencent.com/document/product/248/40421?from_cn_redirect=1), [UnBindingAllPolicyObject](https://intl.cloud.tencent.com/document/product/248/40568?from_cn_redirect=1), [UnBindingPolicyObject](https://intl.cloud.tencent.com/document/product/248/40567?from_cn_redirect=1)) to bind/unbind instances or instance groups to/from an alarm policy OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAlertRuleRequest ¶
type CreateAlertRuleRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Rule expression Expr *string `json:"Expr,omitempty" name:"Expr"` // List of alert notification template IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Rule status code. Valid values: // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule alert duration Duration *string `json:"Duration,omitempty" name:"Duration"` // List of tags Labels []*PrometheusRuleKV `json:"Labels,omitempty" name:"Labels"` // List of annotations. // // Alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. Annotations []*PrometheusRuleKV `json:"Annotations,omitempty" name:"Annotations"` // Alerting rule template category Type *string `json:"Type,omitempty" name:"Type"` }
func NewCreateAlertRuleRequest ¶
func NewCreateAlertRuleRequest() (request *CreateAlertRuleRequest)
func (*CreateAlertRuleRequest) FromJsonString ¶
func (r *CreateAlertRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlertRuleRequest) ToJsonString ¶
func (r *CreateAlertRuleRequest) ToJsonString() string
type CreateAlertRuleRequestParams ¶
type CreateAlertRuleRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Rule expression Expr *string `json:"Expr,omitempty" name:"Expr"` // List of alert notification template IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Rule status code. Valid values: // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule alert duration Duration *string `json:"Duration,omitempty" name:"Duration"` // List of tags Labels []*PrometheusRuleKV `json:"Labels,omitempty" name:"Labels"` // List of annotations. // // Alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. Annotations []*PrometheusRuleKV `json:"Annotations,omitempty" name:"Annotations"` // Alerting rule template category Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type CreateAlertRuleResponse ¶
type CreateAlertRuleResponse struct { *tchttp.BaseResponse Response *CreateAlertRuleResponseParams `json:"Response"` }
func NewCreateAlertRuleResponse ¶
func NewCreateAlertRuleResponse() (response *CreateAlertRuleResponse)
func (*CreateAlertRuleResponse) FromJsonString ¶
func (r *CreateAlertRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlertRuleResponse) ToJsonString ¶
func (r *CreateAlertRuleResponse) ToJsonString() string
type CreateAlertRuleResponseParams ¶
type CreateAlertRuleResponseParams struct { // Rule ID // Note: This field may return null, indicating that no valid values can be obtained. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateExporterIntegrationRequest ¶
type CreateExporterIntegrationRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Integrated configuration Content *string `json:"Content,omitempty" name:"Content"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewCreateExporterIntegrationRequest ¶
func NewCreateExporterIntegrationRequest() (request *CreateExporterIntegrationRequest)
func (*CreateExporterIntegrationRequest) FromJsonString ¶
func (r *CreateExporterIntegrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExporterIntegrationRequest) ToJsonString ¶
func (r *CreateExporterIntegrationRequest) ToJsonString() string
type CreateExporterIntegrationRequestParams ¶
type CreateExporterIntegrationRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Integrated configuration Content *string `json:"Content,omitempty" name:"Content"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
Predefined struct for user
type CreateExporterIntegrationResponse ¶
type CreateExporterIntegrationResponse struct { *tchttp.BaseResponse Response *CreateExporterIntegrationResponseParams `json:"Response"` }
func NewCreateExporterIntegrationResponse ¶
func NewCreateExporterIntegrationResponse() (response *CreateExporterIntegrationResponse)
func (*CreateExporterIntegrationResponse) FromJsonString ¶
func (r *CreateExporterIntegrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExporterIntegrationResponse) ToJsonString ¶
func (r *CreateExporterIntegrationResponse) ToJsonString() string
type CreateExporterIntegrationResponseParams ¶
type CreateExporterIntegrationResponseParams struct { // The list of successfully created integrations. Names []*string `json:"Names,omitempty" name:"Names"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGrafanaInstanceRequest ¶
type CreateGrafanaInstanceRequest struct { *tchttp.BaseRequest // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Array of subnet IDs SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Initial Grafana password GrafanaInitPassword *string `json:"GrafanaInitPassword,omitempty" name:"GrafanaInitPassword"` // Whether to enable public network access EnableInternet *bool `json:"EnableInternet,omitempty" name:"EnableInternet"` // Tag TagSpecification []*PrometheusTag `json:"TagSpecification,omitempty" name:"TagSpecification"` }
func NewCreateGrafanaInstanceRequest ¶
func NewCreateGrafanaInstanceRequest() (request *CreateGrafanaInstanceRequest)
func (*CreateGrafanaInstanceRequest) FromJsonString ¶
func (r *CreateGrafanaInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGrafanaInstanceRequest) ToJsonString ¶
func (r *CreateGrafanaInstanceRequest) ToJsonString() string
type CreateGrafanaInstanceRequestParams ¶
type CreateGrafanaInstanceRequestParams struct { // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Array of subnet IDs SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Initial Grafana password GrafanaInitPassword *string `json:"GrafanaInitPassword,omitempty" name:"GrafanaInitPassword"` // Whether to enable public network access EnableInternet *bool `json:"EnableInternet,omitempty" name:"EnableInternet"` // Tag TagSpecification []*PrometheusTag `json:"TagSpecification,omitempty" name:"TagSpecification"` }
Predefined struct for user
type CreateGrafanaInstanceResponse ¶
type CreateGrafanaInstanceResponse struct { *tchttp.BaseResponse Response *CreateGrafanaInstanceResponseParams `json:"Response"` }
func NewCreateGrafanaInstanceResponse ¶
func NewCreateGrafanaInstanceResponse() (response *CreateGrafanaInstanceResponse)
func (*CreateGrafanaInstanceResponse) FromJsonString ¶
func (r *CreateGrafanaInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGrafanaInstanceResponse) ToJsonString ¶
func (r *CreateGrafanaInstanceResponse) ToJsonString() string
type CreateGrafanaInstanceResponseParams ¶
type CreateGrafanaInstanceResponseParams struct { // Instance name InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGrafanaIntegrationRequest ¶
type CreateGrafanaIntegrationRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Configuration Content *string `json:"Content,omitempty" name:"Content"` }
func NewCreateGrafanaIntegrationRequest ¶
func NewCreateGrafanaIntegrationRequest() (request *CreateGrafanaIntegrationRequest)
func (*CreateGrafanaIntegrationRequest) FromJsonString ¶
func (r *CreateGrafanaIntegrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGrafanaIntegrationRequest) ToJsonString ¶
func (r *CreateGrafanaIntegrationRequest) ToJsonString() string
type CreateGrafanaIntegrationRequestParams ¶
type CreateGrafanaIntegrationRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Configuration Content *string `json:"Content,omitempty" name:"Content"` }
Predefined struct for user
type CreateGrafanaIntegrationResponse ¶
type CreateGrafanaIntegrationResponse struct { *tchttp.BaseResponse Response *CreateGrafanaIntegrationResponseParams `json:"Response"` }
func NewCreateGrafanaIntegrationResponse ¶
func NewCreateGrafanaIntegrationResponse() (response *CreateGrafanaIntegrationResponse)
func (*CreateGrafanaIntegrationResponse) FromJsonString ¶
func (r *CreateGrafanaIntegrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGrafanaIntegrationResponse) ToJsonString ¶
func (r *CreateGrafanaIntegrationResponse) ToJsonString() string
type CreateGrafanaIntegrationResponseParams ¶
type CreateGrafanaIntegrationResponseParams struct { // Integration ID // Note: This field may return null, indicating that no valid values can be obtained. IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGrafanaNotificationChannelRequest ¶
type CreateGrafanaNotificationChannelRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Default value: `1`. This parameter has been deprecated. Please use `OrganizationIds` instead. OrgId *int64 `json:"OrgId,omitempty" name:"OrgId"` // Array of notification channel IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Array of extra organization IDs. This parameter has been deprecated. Please use `OrganizationIds` instead. ExtraOrgIds []*string `json:"ExtraOrgIds,omitempty" name:"ExtraOrgIds"` // Array of all valid organization IDs. Default value: `1`. OrganizationIds []*string `json:"OrganizationIds,omitempty" name:"OrganizationIds"` }
func NewCreateGrafanaNotificationChannelRequest ¶
func NewCreateGrafanaNotificationChannelRequest() (request *CreateGrafanaNotificationChannelRequest)
func (*CreateGrafanaNotificationChannelRequest) FromJsonString ¶
func (r *CreateGrafanaNotificationChannelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGrafanaNotificationChannelRequest) ToJsonString ¶
func (r *CreateGrafanaNotificationChannelRequest) ToJsonString() string
type CreateGrafanaNotificationChannelRequestParams ¶
type CreateGrafanaNotificationChannelRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Default value: `1`. This parameter has been deprecated. Please use `OrganizationIds` instead. OrgId *int64 `json:"OrgId,omitempty" name:"OrgId"` // Array of notification channel IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Array of extra organization IDs. This parameter has been deprecated. Please use `OrganizationIds` instead. ExtraOrgIds []*string `json:"ExtraOrgIds,omitempty" name:"ExtraOrgIds"` // Array of all valid organization IDs. Default value: `1`. OrganizationIds []*string `json:"OrganizationIds,omitempty" name:"OrganizationIds"` }
Predefined struct for user
type CreateGrafanaNotificationChannelResponse ¶
type CreateGrafanaNotificationChannelResponse struct { *tchttp.BaseResponse Response *CreateGrafanaNotificationChannelResponseParams `json:"Response"` }
func NewCreateGrafanaNotificationChannelResponse ¶
func NewCreateGrafanaNotificationChannelResponse() (response *CreateGrafanaNotificationChannelResponse)
func (*CreateGrafanaNotificationChannelResponse) FromJsonString ¶
func (r *CreateGrafanaNotificationChannelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGrafanaNotificationChannelResponse) ToJsonString ¶
func (r *CreateGrafanaNotificationChannelResponse) ToJsonString() string
type CreateGrafanaNotificationChannelResponseParams ¶
type CreateGrafanaNotificationChannelResponseParams struct { // Channel ID. // Note: This field may return null, indicating that no valid values can be obtained. ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePolicyGroupCondition ¶
type CreatePolicyGroupCondition struct { // Metric ID. MetricId *int64 `json:"MetricId,omitempty" name:"MetricId"` // Alarm sending and converging type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Alarm sending period in seconds. The value <0 indicates that no alarm will be triggered. The value 0 indicates that an alarm is triggered only once. The value >0 indicates that an alarm is triggered at the interval of triggerTime. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Comparative type. The value 1 indicates greater than. The value 2 indicates greater than or equal to. The value 3 indicates smaller than. The value 4 indicates smaller than or equal to. The value 5 indicates equal to. The value 6 indicates not equal to. This parameter is optional if a default comparative type is configured for the metric. CalcType *int64 `json:"CalcType,omitempty" name:"CalcType"` // Comparative value. This parameter is optional if the metric has no requirement. CalcValue *float64 `json:"CalcValue,omitempty" name:"CalcValue"` // Data aggregation period in seconds. This parameter is optional if the metric has a default value. CalcPeriod *int64 `json:"CalcPeriod,omitempty" name:"CalcPeriod"` // Number of consecutive periods after which an alarm will be triggered. ContinuePeriod *int64 `json:"ContinuePeriod,omitempty" name:"ContinuePeriod"` // If a metric is created based on a template, the RuleId of the metric in the template must be passed in. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` }
type CreatePolicyGroupEventCondition ¶
type CreatePolicyGroupEventCondition struct { // Alarm event ID. EventId *int64 `json:"EventId,omitempty" name:"EventId"` // Alarm sending and converging type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Alarm sending period in seconds. The value <0 indicates that no alarm will be triggered. The value 0 indicates that an alarm is triggered only once. The value >0 indicates that an alarm is triggered at the interval of triggerTime. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // If a metric is created based on a template, the RuleId of the metric in the template must be passed in. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` }
type CreatePolicyGroupRequest ¶
type CreatePolicyGroupRequest struct { *tchttp.BaseRequest // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Name of the view to which the policy group belongs. If the policy group is created based on a template, this parameter is optional. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // ID of the project to which the policy group belongs, which will be used for authentication. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // ID of a template-based policy group. This parameter is required only when the policy group is created based on a template. ConditionTempGroupId *int64 `json:"ConditionTempGroupId,omitempty" name:"ConditionTempGroupId"` // Whether the policy group is shielded. The value 0 indicates that the policy group is not shielded. The value 1 indicates that the policy group is shielded. The default value is 0. IsShielded *int64 `json:"IsShielded,omitempty" name:"IsShielded"` // Remarks of the policy group. Remark *string `json:"Remark,omitempty" name:"Remark"` // Insertion time in the format of Unix timestamp. If this parameter is not configured, the backend processing time is used. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Alarm threshold rules in the policy group. Conditions []*CreatePolicyGroupCondition `json:"Conditions,omitempty" name:"Conditions"` // Event alarm rules in the policy group. EventConditions []*CreatePolicyGroupEventCondition `json:"EventConditions,omitempty" name:"EventConditions"` // Whether it is a backend call. If the value is 1, rules from the policy template will be used to fill in the `Conditions` and `EventConditions` fields. BackEndCall *int64 `json:"BackEndCall,omitempty" name:"BackEndCall"` // The 'AND' and 'OR' rules for alarm metrics. The value 0 indicates 'OR', which means that an alarm will be triggered when any rule is met. The value 1 indicates 'AND', which means that an alarm will be triggered only when all rules are met. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` }
func NewCreatePolicyGroupRequest ¶
func NewCreatePolicyGroupRequest() (request *CreatePolicyGroupRequest)
func (*CreatePolicyGroupRequest) FromJsonString ¶
func (r *CreatePolicyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePolicyGroupRequest) ToJsonString ¶
func (r *CreatePolicyGroupRequest) ToJsonString() string
type CreatePolicyGroupRequestParams ¶
type CreatePolicyGroupRequestParams struct { // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Name of the view to which the policy group belongs. If the policy group is created based on a template, this parameter is optional. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // ID of the project to which the policy group belongs, which will be used for authentication. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // ID of a template-based policy group. This parameter is required only when the policy group is created based on a template. ConditionTempGroupId *int64 `json:"ConditionTempGroupId,omitempty" name:"ConditionTempGroupId"` // Whether the policy group is shielded. The value 0 indicates that the policy group is not shielded. The value 1 indicates that the policy group is shielded. The default value is 0. IsShielded *int64 `json:"IsShielded,omitempty" name:"IsShielded"` // Remarks of the policy group. Remark *string `json:"Remark,omitempty" name:"Remark"` // Insertion time in the format of Unix timestamp. If this parameter is not configured, the backend processing time is used. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Alarm threshold rules in the policy group. Conditions []*CreatePolicyGroupCondition `json:"Conditions,omitempty" name:"Conditions"` // Event alarm rules in the policy group. EventConditions []*CreatePolicyGroupEventCondition `json:"EventConditions,omitempty" name:"EventConditions"` // Whether it is a backend call. If the value is 1, rules from the policy template will be used to fill in the `Conditions` and `EventConditions` fields. BackEndCall *int64 `json:"BackEndCall,omitempty" name:"BackEndCall"` // The 'AND' and 'OR' rules for alarm metrics. The value 0 indicates 'OR', which means that an alarm will be triggered when any rule is met. The value 1 indicates 'AND', which means that an alarm will be triggered only when all rules are met. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` }
Predefined struct for user
type CreatePolicyGroupResponse ¶
type CreatePolicyGroupResponse struct { *tchttp.BaseResponse Response *CreatePolicyGroupResponseParams `json:"Response"` }
func NewCreatePolicyGroupResponse ¶
func NewCreatePolicyGroupResponse() (response *CreatePolicyGroupResponse)
func (*CreatePolicyGroupResponse) FromJsonString ¶
func (r *CreatePolicyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePolicyGroupResponse) ToJsonString ¶
func (r *CreatePolicyGroupResponse) ToJsonString() string
type CreatePolicyGroupResponseParams ¶
type CreatePolicyGroupResponseParams struct { // ID of the created policy group. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePrometheusAgentRequest ¶
type CreatePrometheusAgentRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent name Name *string `json:"Name,omitempty" name:"Name"` }
func NewCreatePrometheusAgentRequest ¶
func NewCreatePrometheusAgentRequest() (request *CreatePrometheusAgentRequest)
func (*CreatePrometheusAgentRequest) FromJsonString ¶
func (r *CreatePrometheusAgentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusAgentRequest) ToJsonString ¶
func (r *CreatePrometheusAgentRequest) ToJsonString() string
type CreatePrometheusAgentRequestParams ¶
type CreatePrometheusAgentRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type CreatePrometheusAgentResponse ¶
type CreatePrometheusAgentResponse struct { *tchttp.BaseResponse Response *CreatePrometheusAgentResponseParams `json:"Response"` }
func NewCreatePrometheusAgentResponse ¶
func NewCreatePrometheusAgentResponse() (response *CreatePrometheusAgentResponse)
func (*CreatePrometheusAgentResponse) FromJsonString ¶
func (r *CreatePrometheusAgentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusAgentResponse) ToJsonString ¶
func (r *CreatePrometheusAgentResponse) ToJsonString() string
type CreatePrometheusAgentResponseParams ¶
type CreatePrometheusAgentResponseParams struct { // ID of a successfully created agent. AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePrometheusMultiTenantInstancePostPayModeRequest ¶
type CreatePrometheusMultiTenantInstancePostPayModeRequest struct { *tchttp.BaseRequest // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Data retention period in days. Valid values: 15, 30, 45. DataRetentionTime *int64 `json:"DataRetentionTime,omitempty" name:"DataRetentionTime"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance tag TagSpecification []*PrometheusTag `json:"TagSpecification,omitempty" name:"TagSpecification"` // The Grafana instance to be associated GrafanaInstanceId *string `json:"GrafanaInstanceId,omitempty" name:"GrafanaInstanceId"` }
func NewCreatePrometheusMultiTenantInstancePostPayModeRequest ¶
func NewCreatePrometheusMultiTenantInstancePostPayModeRequest() (request *CreatePrometheusMultiTenantInstancePostPayModeRequest)
func (*CreatePrometheusMultiTenantInstancePostPayModeRequest) FromJsonString ¶
func (r *CreatePrometheusMultiTenantInstancePostPayModeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusMultiTenantInstancePostPayModeRequest) ToJsonString ¶
func (r *CreatePrometheusMultiTenantInstancePostPayModeRequest) ToJsonString() string
type CreatePrometheusMultiTenantInstancePostPayModeRequestParams ¶
type CreatePrometheusMultiTenantInstancePostPayModeRequestParams struct { // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Data retention period in days. Valid values: 15, 30, 45. DataRetentionTime *int64 `json:"DataRetentionTime,omitempty" name:"DataRetentionTime"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance tag TagSpecification []*PrometheusTag `json:"TagSpecification,omitempty" name:"TagSpecification"` // The Grafana instance to be associated GrafanaInstanceId *string `json:"GrafanaInstanceId,omitempty" name:"GrafanaInstanceId"` }
Predefined struct for user
type CreatePrometheusMultiTenantInstancePostPayModeResponse ¶
type CreatePrometheusMultiTenantInstancePostPayModeResponse struct { *tchttp.BaseResponse Response *CreatePrometheusMultiTenantInstancePostPayModeResponseParams `json:"Response"` }
func NewCreatePrometheusMultiTenantInstancePostPayModeResponse ¶
func NewCreatePrometheusMultiTenantInstancePostPayModeResponse() (response *CreatePrometheusMultiTenantInstancePostPayModeResponse)
func (*CreatePrometheusMultiTenantInstancePostPayModeResponse) FromJsonString ¶
func (r *CreatePrometheusMultiTenantInstancePostPayModeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusMultiTenantInstancePostPayModeResponse) ToJsonString ¶
func (r *CreatePrometheusMultiTenantInstancePostPayModeResponse) ToJsonString() string
type CreatePrometheusMultiTenantInstancePostPayModeResponseParams ¶
type CreatePrometheusMultiTenantInstancePostPayModeResponseParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePrometheusScrapeJobRequest ¶
type CreatePrometheusScrapeJobRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Task content Config *string `json:"Config,omitempty" name:"Config"` }
func NewCreatePrometheusScrapeJobRequest ¶
func NewCreatePrometheusScrapeJobRequest() (request *CreatePrometheusScrapeJobRequest)
func (*CreatePrometheusScrapeJobRequest) FromJsonString ¶
func (r *CreatePrometheusScrapeJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusScrapeJobRequest) ToJsonString ¶
func (r *CreatePrometheusScrapeJobRequest) ToJsonString() string
type CreatePrometheusScrapeJobRequestParams ¶
type CreatePrometheusScrapeJobRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Task content Config *string `json:"Config,omitempty" name:"Config"` }
Predefined struct for user
type CreatePrometheusScrapeJobResponse ¶
type CreatePrometheusScrapeJobResponse struct { *tchttp.BaseResponse Response *CreatePrometheusScrapeJobResponseParams `json:"Response"` }
func NewCreatePrometheusScrapeJobResponse ¶
func NewCreatePrometheusScrapeJobResponse() (response *CreatePrometheusScrapeJobResponse)
func (*CreatePrometheusScrapeJobResponse) FromJsonString ¶
func (r *CreatePrometheusScrapeJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusScrapeJobResponse) ToJsonString ¶
func (r *CreatePrometheusScrapeJobResponse) ToJsonString() string
type CreatePrometheusScrapeJobResponseParams ¶
type CreatePrometheusScrapeJobResponseParams struct { // ID of a successfully created scrape task. JobId *string `json:"JobId,omitempty" name:"JobId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRecordingRuleRequest ¶
type CreateRecordingRuleRequest struct { *tchttp.BaseRequest // Recording rule name Name *string `json:"Name,omitempty" name:"Name"` // Recording rule group content in YAML format Group *string `json:"Group,omitempty" name:"Group"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` }
func NewCreateRecordingRuleRequest ¶
func NewCreateRecordingRuleRequest() (request *CreateRecordingRuleRequest)
func (*CreateRecordingRuleRequest) FromJsonString ¶
func (r *CreateRecordingRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordingRuleRequest) ToJsonString ¶
func (r *CreateRecordingRuleRequest) ToJsonString() string
type CreateRecordingRuleRequestParams ¶
type CreateRecordingRuleRequestParams struct { // Recording rule name Name *string `json:"Name,omitempty" name:"Name"` // Recording rule group content in YAML format Group *string `json:"Group,omitempty" name:"Group"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` }
Predefined struct for user
type CreateRecordingRuleResponse ¶
type CreateRecordingRuleResponse struct { *tchttp.BaseResponse Response *CreateRecordingRuleResponseParams `json:"Response"` }
func NewCreateRecordingRuleResponse ¶
func NewCreateRecordingRuleResponse() (response *CreateRecordingRuleResponse)
func (*CreateRecordingRuleResponse) FromJsonString ¶
func (r *CreateRecordingRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordingRuleResponse) ToJsonString ¶
func (r *CreateRecordingRuleResponse) ToJsonString() string
type CreateRecordingRuleResponseParams ¶
type CreateRecordingRuleResponseParams struct { // Rule ID // Note: This field may return null, indicating that no valid values can be obtained. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSSOAccountRequest ¶
type CreateSSOAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Permission Role []*GrafanaAccountRole `json:"Role,omitempty" name:"Role"` // Remarks Notes *string `json:"Notes,omitempty" name:"Notes"` }
func NewCreateSSOAccountRequest ¶
func NewCreateSSOAccountRequest() (request *CreateSSOAccountRequest)
func (*CreateSSOAccountRequest) FromJsonString ¶
func (r *CreateSSOAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSSOAccountRequest) ToJsonString ¶
func (r *CreateSSOAccountRequest) ToJsonString() string
type CreateSSOAccountRequestParams ¶
type CreateSSOAccountRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Permission Role []*GrafanaAccountRole `json:"Role,omitempty" name:"Role"` // Remarks Notes *string `json:"Notes,omitempty" name:"Notes"` }
Predefined struct for user
type CreateSSOAccountResponse ¶
type CreateSSOAccountResponse struct { *tchttp.BaseResponse Response *CreateSSOAccountResponseParams `json:"Response"` }
func NewCreateSSOAccountResponse ¶
func NewCreateSSOAccountResponse() (response *CreateSSOAccountResponse)
func (*CreateSSOAccountResponse) FromJsonString ¶
func (r *CreateSSOAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSSOAccountResponse) ToJsonString ¶
func (r *CreateSSOAccountResponse) ToJsonString() string
type CreateSSOAccountResponseParams ¶
type CreateSSOAccountResponseParams struct { // The added user UIN UserId *string `json:"UserId,omitempty" name:"UserId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateServiceDiscoveryRequest ¶
type CreateServiceDiscoveryRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // <li>TKE: ID of the integrated TKE cluster</li> KubeClusterId *string `json:"KubeClusterId,omitempty" name:"KubeClusterId"` // Kubernetes cluster type: // <li> 1 = TKE </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Scrape configuration type. Valid values: // <li> 1 = ServiceMonitor</li> // <li> 2 = PodMonitor</li> // <li> 3 = JobMonitor</li> Type *int64 `json:"Type,omitempty" name:"Type"` // Scrape configuration information Yaml *string `json:"Yaml,omitempty" name:"Yaml"` }
func NewCreateServiceDiscoveryRequest ¶
func NewCreateServiceDiscoveryRequest() (request *CreateServiceDiscoveryRequest)
func (*CreateServiceDiscoveryRequest) FromJsonString ¶
func (r *CreateServiceDiscoveryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServiceDiscoveryRequest) ToJsonString ¶
func (r *CreateServiceDiscoveryRequest) ToJsonString() string
type CreateServiceDiscoveryRequestParams ¶
type CreateServiceDiscoveryRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // <li>TKE: ID of the integrated TKE cluster</li> KubeClusterId *string `json:"KubeClusterId,omitempty" name:"KubeClusterId"` // Kubernetes cluster type: // <li> 1 = TKE </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Scrape configuration type. Valid values: // <li> 1 = ServiceMonitor</li> // <li> 2 = PodMonitor</li> // <li> 3 = JobMonitor</li> Type *int64 `json:"Type,omitempty" name:"Type"` // Scrape configuration information Yaml *string `json:"Yaml,omitempty" name:"Yaml"` }
Predefined struct for user
type CreateServiceDiscoveryResponse ¶
type CreateServiceDiscoveryResponse struct { *tchttp.BaseResponse Response *CreateServiceDiscoveryResponseParams `json:"Response"` }
func NewCreateServiceDiscoveryResponse ¶
func NewCreateServiceDiscoveryResponse() (response *CreateServiceDiscoveryResponse)
func (*CreateServiceDiscoveryResponse) FromJsonString ¶
func (r *CreateServiceDiscoveryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServiceDiscoveryResponse) ToJsonString ¶
func (r *CreateServiceDiscoveryResponse) ToJsonString() string
type CreateServiceDiscoveryResponseParams ¶
type CreateServiceDiscoveryResponseParams struct { // The scrape configuration information returned after successful creation ServiceDiscovery *ServiceDiscoveryItem `json:"ServiceDiscovery,omitempty" name:"ServiceDiscovery"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DataPoint ¶
type DataPoint struct { // Combination of instance object dimensions Dimensions []*Dimension `json:"Dimensions,omitempty" name:"Dimensions"` // The array of timestamps indicating at which points in time there is data. Missing timestamps have no data points (i.e., missed) Timestamps []*float64 `json:"Timestamps,omitempty" name:"Timestamps"` // The array of monitoring values, which is in one-to-one correspondence to Timestamps Values []*float64 `json:"Values,omitempty" name:"Values"` }
type DeleteAlarmNoticesRequest ¶
type DeleteAlarmNoticesRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm notification template ID list NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` }
func NewDeleteAlarmNoticesRequest ¶
func NewDeleteAlarmNoticesRequest() (request *DeleteAlarmNoticesRequest)
func (*DeleteAlarmNoticesRequest) FromJsonString ¶
func (r *DeleteAlarmNoticesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmNoticesRequest) ToJsonString ¶
func (r *DeleteAlarmNoticesRequest) ToJsonString() string
type DeleteAlarmNoticesRequestParams ¶
type DeleteAlarmNoticesRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm notification template ID list NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` }
Predefined struct for user
type DeleteAlarmNoticesResponse ¶
type DeleteAlarmNoticesResponse struct { *tchttp.BaseResponse Response *DeleteAlarmNoticesResponseParams `json:"Response"` }
func NewDeleteAlarmNoticesResponse ¶
func NewDeleteAlarmNoticesResponse() (response *DeleteAlarmNoticesResponse)
func (*DeleteAlarmNoticesResponse) FromJsonString ¶
func (r *DeleteAlarmNoticesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmNoticesResponse) ToJsonString ¶
func (r *DeleteAlarmNoticesResponse) ToJsonString() string
type DeleteAlarmNoticesResponseParams ¶
type DeleteAlarmNoticesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAlarmPolicyRequest ¶
type DeleteAlarmPolicyRequest struct { *tchttp.BaseRequest // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID list PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` }
func NewDeleteAlarmPolicyRequest ¶
func NewDeleteAlarmPolicyRequest() (request *DeleteAlarmPolicyRequest)
func (*DeleteAlarmPolicyRequest) FromJsonString ¶
func (r *DeleteAlarmPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmPolicyRequest) ToJsonString ¶
func (r *DeleteAlarmPolicyRequest) ToJsonString() string
type DeleteAlarmPolicyRequestParams ¶
type DeleteAlarmPolicyRequestParams struct { // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID list PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` }
Predefined struct for user
type DeleteAlarmPolicyResponse ¶
type DeleteAlarmPolicyResponse struct { *tchttp.BaseResponse Response *DeleteAlarmPolicyResponseParams `json:"Response"` }
func NewDeleteAlarmPolicyResponse ¶
func NewDeleteAlarmPolicyResponse() (response *DeleteAlarmPolicyResponse)
func (*DeleteAlarmPolicyResponse) FromJsonString ¶
func (r *DeleteAlarmPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmPolicyResponse) ToJsonString ¶
func (r *DeleteAlarmPolicyResponse) ToJsonString() string
type DeleteAlarmPolicyResponseParams ¶
type DeleteAlarmPolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAlertRulesRequest ¶
type DeleteAlertRulesRequest struct { *tchttp.BaseRequest // List of rule IDs RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDeleteAlertRulesRequest ¶
func NewDeleteAlertRulesRequest() (request *DeleteAlertRulesRequest)
func (*DeleteAlertRulesRequest) FromJsonString ¶
func (r *DeleteAlertRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlertRulesRequest) ToJsonString ¶
func (r *DeleteAlertRulesRequest) ToJsonString() string
type DeleteAlertRulesRequestParams ¶
type DeleteAlertRulesRequestParams struct { // List of rule IDs RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteAlertRulesResponse ¶
type DeleteAlertRulesResponse struct { *tchttp.BaseResponse Response *DeleteAlertRulesResponseParams `json:"Response"` }
func NewDeleteAlertRulesResponse ¶
func NewDeleteAlertRulesResponse() (response *DeleteAlertRulesResponse)
func (*DeleteAlertRulesResponse) FromJsonString ¶
func (r *DeleteAlertRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlertRulesResponse) ToJsonString ¶
func (r *DeleteAlertRulesResponse) ToJsonString() string
type DeleteAlertRulesResponseParams ¶
type DeleteAlertRulesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteExporterIntegrationRequest ¶
type DeleteExporterIntegrationRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Name Name *string `json:"Name,omitempty" name:"Name"` }
func NewDeleteExporterIntegrationRequest ¶
func NewDeleteExporterIntegrationRequest() (request *DeleteExporterIntegrationRequest)
func (*DeleteExporterIntegrationRequest) FromJsonString ¶
func (r *DeleteExporterIntegrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExporterIntegrationRequest) ToJsonString ¶
func (r *DeleteExporterIntegrationRequest) ToJsonString() string
type DeleteExporterIntegrationRequestParams ¶
type DeleteExporterIntegrationRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type DeleteExporterIntegrationResponse ¶
type DeleteExporterIntegrationResponse struct { *tchttp.BaseResponse Response *DeleteExporterIntegrationResponseParams `json:"Response"` }
func NewDeleteExporterIntegrationResponse ¶
func NewDeleteExporterIntegrationResponse() (response *DeleteExporterIntegrationResponse)
func (*DeleteExporterIntegrationResponse) FromJsonString ¶
func (r *DeleteExporterIntegrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExporterIntegrationResponse) ToJsonString ¶
func (r *DeleteExporterIntegrationResponse) ToJsonString() string
type DeleteExporterIntegrationResponseParams ¶
type DeleteExporterIntegrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGrafanaInstanceRequest ¶
type DeleteGrafanaInstanceRequest struct { *tchttp.BaseRequest // Array of instance names InstanceIDs []*string `json:"InstanceIDs,omitempty" name:"InstanceIDs"` }
func NewDeleteGrafanaInstanceRequest ¶
func NewDeleteGrafanaInstanceRequest() (request *DeleteGrafanaInstanceRequest)
func (*DeleteGrafanaInstanceRequest) FromJsonString ¶
func (r *DeleteGrafanaInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGrafanaInstanceRequest) ToJsonString ¶
func (r *DeleteGrafanaInstanceRequest) ToJsonString() string
type DeleteGrafanaInstanceRequestParams ¶
type DeleteGrafanaInstanceRequestParams struct { // Array of instance names InstanceIDs []*string `json:"InstanceIDs,omitempty" name:"InstanceIDs"` }
Predefined struct for user
type DeleteGrafanaInstanceResponse ¶
type DeleteGrafanaInstanceResponse struct { *tchttp.BaseResponse Response *DeleteGrafanaInstanceResponseParams `json:"Response"` }
func NewDeleteGrafanaInstanceResponse ¶
func NewDeleteGrafanaInstanceResponse() (response *DeleteGrafanaInstanceResponse)
func (*DeleteGrafanaInstanceResponse) FromJsonString ¶
func (r *DeleteGrafanaInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGrafanaInstanceResponse) ToJsonString ¶
func (r *DeleteGrafanaInstanceResponse) ToJsonString() string
type DeleteGrafanaInstanceResponseParams ¶
type DeleteGrafanaInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGrafanaIntegrationRequest ¶
type DeleteGrafanaIntegrationRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` }
func NewDeleteGrafanaIntegrationRequest ¶
func NewDeleteGrafanaIntegrationRequest() (request *DeleteGrafanaIntegrationRequest)
func (*DeleteGrafanaIntegrationRequest) FromJsonString ¶
func (r *DeleteGrafanaIntegrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGrafanaIntegrationRequest) ToJsonString ¶
func (r *DeleteGrafanaIntegrationRequest) ToJsonString() string
type DeleteGrafanaIntegrationRequestParams ¶
type DeleteGrafanaIntegrationRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` }
Predefined struct for user
type DeleteGrafanaIntegrationResponse ¶
type DeleteGrafanaIntegrationResponse struct { *tchttp.BaseResponse Response *DeleteGrafanaIntegrationResponseParams `json:"Response"` }
func NewDeleteGrafanaIntegrationResponse ¶
func NewDeleteGrafanaIntegrationResponse() (response *DeleteGrafanaIntegrationResponse)
func (*DeleteGrafanaIntegrationResponse) FromJsonString ¶
func (r *DeleteGrafanaIntegrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGrafanaIntegrationResponse) ToJsonString ¶
func (r *DeleteGrafanaIntegrationResponse) ToJsonString() string
type DeleteGrafanaIntegrationResponseParams ¶
type DeleteGrafanaIntegrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGrafanaNotificationChannelRequest ¶
type DeleteGrafanaNotificationChannelRequest struct { *tchttp.BaseRequest // Array of channel IDs ChannelIDs []*string `json:"ChannelIDs,omitempty" name:"ChannelIDs"` // Instance name InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDeleteGrafanaNotificationChannelRequest ¶
func NewDeleteGrafanaNotificationChannelRequest() (request *DeleteGrafanaNotificationChannelRequest)
func (*DeleteGrafanaNotificationChannelRequest) FromJsonString ¶
func (r *DeleteGrafanaNotificationChannelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGrafanaNotificationChannelRequest) ToJsonString ¶
func (r *DeleteGrafanaNotificationChannelRequest) ToJsonString() string
type DeleteGrafanaNotificationChannelRequestParams ¶
type DeleteGrafanaNotificationChannelRequestParams struct { // Array of channel IDs ChannelIDs []*string `json:"ChannelIDs,omitempty" name:"ChannelIDs"` // Instance name InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteGrafanaNotificationChannelResponse ¶
type DeleteGrafanaNotificationChannelResponse struct { *tchttp.BaseResponse Response *DeleteGrafanaNotificationChannelResponseParams `json:"Response"` }
func NewDeleteGrafanaNotificationChannelResponse ¶
func NewDeleteGrafanaNotificationChannelResponse() (response *DeleteGrafanaNotificationChannelResponse)
func (*DeleteGrafanaNotificationChannelResponse) FromJsonString ¶
func (r *DeleteGrafanaNotificationChannelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGrafanaNotificationChannelResponse) ToJsonString ¶
func (r *DeleteGrafanaNotificationChannelResponse) ToJsonString() string
type DeleteGrafanaNotificationChannelResponseParams ¶
type DeleteGrafanaNotificationChannelResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePolicyGroupRequest ¶
type DeletePolicyGroupRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. GroupId []*int64 `json:"GroupId,omitempty" name:"GroupId"` }
func NewDeletePolicyGroupRequest ¶
func NewDeletePolicyGroupRequest() (request *DeletePolicyGroupRequest)
func (*DeletePolicyGroupRequest) FromJsonString ¶
func (r *DeletePolicyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePolicyGroupRequest) ToJsonString ¶
func (r *DeletePolicyGroupRequest) ToJsonString() string
type DeletePolicyGroupRequestParams ¶
type DeletePolicyGroupRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. GroupId []*int64 `json:"GroupId,omitempty" name:"GroupId"` }
Predefined struct for user
type DeletePolicyGroupResponse ¶
type DeletePolicyGroupResponse struct { *tchttp.BaseResponse Response *DeletePolicyGroupResponseParams `json:"Response"` }
func NewDeletePolicyGroupResponse ¶
func NewDeletePolicyGroupResponse() (response *DeletePolicyGroupResponse)
func (*DeletePolicyGroupResponse) FromJsonString ¶
func (r *DeletePolicyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePolicyGroupResponse) ToJsonString ¶
func (r *DeletePolicyGroupResponse) ToJsonString() string
type DeletePolicyGroupResponseParams ¶
type DeletePolicyGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePrometheusScrapeJobsRequest ¶
type DeletePrometheusScrapeJobsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // List of task IDs JobIds []*string `json:"JobIds,omitempty" name:"JobIds"` }
func NewDeletePrometheusScrapeJobsRequest ¶
func NewDeletePrometheusScrapeJobsRequest() (request *DeletePrometheusScrapeJobsRequest)
func (*DeletePrometheusScrapeJobsRequest) FromJsonString ¶
func (r *DeletePrometheusScrapeJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrometheusScrapeJobsRequest) ToJsonString ¶
func (r *DeletePrometheusScrapeJobsRequest) ToJsonString() string
type DeletePrometheusScrapeJobsRequestParams ¶
type DeletePrometheusScrapeJobsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // List of task IDs JobIds []*string `json:"JobIds,omitempty" name:"JobIds"` }
Predefined struct for user
type DeletePrometheusScrapeJobsResponse ¶
type DeletePrometheusScrapeJobsResponse struct { *tchttp.BaseResponse Response *DeletePrometheusScrapeJobsResponseParams `json:"Response"` }
func NewDeletePrometheusScrapeJobsResponse ¶
func NewDeletePrometheusScrapeJobsResponse() (response *DeletePrometheusScrapeJobsResponse)
func (*DeletePrometheusScrapeJobsResponse) FromJsonString ¶
func (r *DeletePrometheusScrapeJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrometheusScrapeJobsResponse) ToJsonString ¶
func (r *DeletePrometheusScrapeJobsResponse) ToJsonString() string
type DeletePrometheusScrapeJobsResponseParams ¶
type DeletePrometheusScrapeJobsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRecordingRulesRequest ¶
type DeleteRecordingRulesRequest struct { *tchttp.BaseRequest // List of rule IDs RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDeleteRecordingRulesRequest ¶
func NewDeleteRecordingRulesRequest() (request *DeleteRecordingRulesRequest)
func (*DeleteRecordingRulesRequest) FromJsonString ¶
func (r *DeleteRecordingRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordingRulesRequest) ToJsonString ¶
func (r *DeleteRecordingRulesRequest) ToJsonString() string
type DeleteRecordingRulesRequestParams ¶
type DeleteRecordingRulesRequestParams struct { // List of rule IDs RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteRecordingRulesResponse ¶
type DeleteRecordingRulesResponse struct { *tchttp.BaseResponse Response *DeleteRecordingRulesResponseParams `json:"Response"` }
func NewDeleteRecordingRulesResponse ¶
func NewDeleteRecordingRulesResponse() (response *DeleteRecordingRulesResponse)
func (*DeleteRecordingRulesResponse) FromJsonString ¶
func (r *DeleteRecordingRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordingRulesResponse) ToJsonString ¶
func (r *DeleteRecordingRulesResponse) ToJsonString() string
type DeleteRecordingRulesResponseParams ¶
type DeleteRecordingRulesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSSOAccountRequest ¶
type DeleteSSOAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` }
func NewDeleteSSOAccountRequest ¶
func NewDeleteSSOAccountRequest() (request *DeleteSSOAccountRequest)
func (*DeleteSSOAccountRequest) FromJsonString ¶
func (r *DeleteSSOAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSSOAccountRequest) ToJsonString ¶
func (r *DeleteSSOAccountRequest) ToJsonString() string
type DeleteSSOAccountRequestParams ¶
type DeleteSSOAccountRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` }
Predefined struct for user
type DeleteSSOAccountResponse ¶
type DeleteSSOAccountResponse struct { *tchttp.BaseResponse Response *DeleteSSOAccountResponseParams `json:"Response"` }
func NewDeleteSSOAccountResponse ¶
func NewDeleteSSOAccountResponse() (response *DeleteSSOAccountResponse)
func (*DeleteSSOAccountResponse) FromJsonString ¶
func (r *DeleteSSOAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSSOAccountResponse) ToJsonString ¶
func (r *DeleteSSOAccountResponse) ToJsonString() string
type DeleteSSOAccountResponseParams ¶
type DeleteSSOAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccidentEventListAlarms ¶
type DescribeAccidentEventListAlarms struct { // Event type. // Note: This field may return null, indicating that no valid value was found. BusinessTypeDesc *string `json:"BusinessTypeDesc,omitempty" name:"BusinessTypeDesc"` // Event type. // Note: This field may return null, indicating that no valid value was found. AccidentTypeDesc *string `json:"AccidentTypeDesc,omitempty" name:"AccidentTypeDesc"` // ID of the event type. The value 1 indicates service issues. The value 2 indicates other subscriptions. // Note: This field may return null, indicating that no valid value was found. BusinessID *int64 `json:"BusinessID,omitempty" name:"BusinessID"` // Event status ID. The value 0 indicates that the event has been recovered. The value 1 indicates that the event has not been recovered. // Note: This field may return null, indicating that no valid value was found. EventStatus *int64 `json:"EventStatus,omitempty" name:"EventStatus"` // Affected object. // Note: This field may return null, indicating that no valid value was found. AffectResource *string `json:"AffectResource,omitempty" name:"AffectResource"` // Region where the event occurs. // Note: This field may return null, indicating that no valid value was found. Region *string `json:"Region,omitempty" name:"Region"` // Time when the event occurs. // Note: This field may return null, indicating that no valid value was found. OccurTime *string `json:"OccurTime,omitempty" name:"OccurTime"` // Update time. // Note: This field may return null, indicating that no valid value was found. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type DescribeAccidentEventListRequest ¶
type DescribeAccidentEventListRequest struct { *tchttp.BaseRequest // API component name. The value for the current API is monitor. Module *string `json:"Module,omitempty" name:"Module"` // Start time, which is the timestamp one day prior by default. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp by default. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Number of parameters that can be returned on each page. Value range: 1 - 100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Parameter offset on each page. The value starts from 0 and the default value is 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting rule by UpdateTime. Valid values: asc and desc. UpdateTimeOrder *string `json:"UpdateTimeOrder,omitempty" name:"UpdateTimeOrder"` // Sorting rule by OccurTime. Valid values: asc or desc. Sorting by UpdateTimeOrder takes priority. OccurTimeOrder *string `json:"OccurTimeOrder,omitempty" name:"OccurTimeOrder"` // Filter by event type. The value 1 indicates service issues. The value 2 indicates other subscriptions. AccidentType []*int64 `json:"AccidentType,omitempty" name:"AccidentType"` // Filter by event. The value 1 indicates CVM storage issues. The value 2 indicates CVM network connection issues. The value 3 indicates that the CVM has an exception. The value 202 indicates that an ISP network jitter occurs. AccidentEvent []*int64 `json:"AccidentEvent,omitempty" name:"AccidentEvent"` // Filter by event status. The value 0 indicates that the event has been recovered. The value 1 indicates that the event has not been recovered. AccidentStatus []*int64 `json:"AccidentStatus,omitempty" name:"AccidentStatus"` // Filter by region where the event occurs. The value gz indicates Guangzhou. The value sh indicates Shanghai. AccidentRegion []*string `json:"AccidentRegion,omitempty" name:"AccidentRegion"` // Filter by affected resource, such as ins-19a06bka. AffectResource *string `json:"AffectResource,omitempty" name:"AffectResource"` }
func NewDescribeAccidentEventListRequest ¶
func NewDescribeAccidentEventListRequest() (request *DescribeAccidentEventListRequest)
func (*DescribeAccidentEventListRequest) FromJsonString ¶
func (r *DescribeAccidentEventListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccidentEventListRequest) ToJsonString ¶
func (r *DescribeAccidentEventListRequest) ToJsonString() string
type DescribeAccidentEventListRequestParams ¶
type DescribeAccidentEventListRequestParams struct { // API component name. The value for the current API is monitor. Module *string `json:"Module,omitempty" name:"Module"` // Start time, which is the timestamp one day prior by default. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp by default. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Number of parameters that can be returned on each page. Value range: 1 - 100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Parameter offset on each page. The value starts from 0 and the default value is 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting rule by UpdateTime. Valid values: asc and desc. UpdateTimeOrder *string `json:"UpdateTimeOrder,omitempty" name:"UpdateTimeOrder"` // Sorting rule by OccurTime. Valid values: asc or desc. Sorting by UpdateTimeOrder takes priority. OccurTimeOrder *string `json:"OccurTimeOrder,omitempty" name:"OccurTimeOrder"` // Filter by event type. The value 1 indicates service issues. The value 2 indicates other subscriptions. AccidentType []*int64 `json:"AccidentType,omitempty" name:"AccidentType"` // Filter by event. The value 1 indicates CVM storage issues. The value 2 indicates CVM network connection issues. The value 3 indicates that the CVM has an exception. The value 202 indicates that an ISP network jitter occurs. AccidentEvent []*int64 `json:"AccidentEvent,omitempty" name:"AccidentEvent"` // Filter by event status. The value 0 indicates that the event has been recovered. The value 1 indicates that the event has not been recovered. AccidentStatus []*int64 `json:"AccidentStatus,omitempty" name:"AccidentStatus"` // Filter by region where the event occurs. The value gz indicates Guangzhou. The value sh indicates Shanghai. AccidentRegion []*string `json:"AccidentRegion,omitempty" name:"AccidentRegion"` // Filter by affected resource, such as ins-19a06bka. AffectResource *string `json:"AffectResource,omitempty" name:"AffectResource"` }
Predefined struct for user
type DescribeAccidentEventListResponse ¶
type DescribeAccidentEventListResponse struct { *tchttp.BaseResponse Response *DescribeAccidentEventListResponseParams `json:"Response"` }
func NewDescribeAccidentEventListResponse ¶
func NewDescribeAccidentEventListResponse() (response *DescribeAccidentEventListResponse)
func (*DescribeAccidentEventListResponse) FromJsonString ¶
func (r *DescribeAccidentEventListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccidentEventListResponse) ToJsonString ¶
func (r *DescribeAccidentEventListResponse) ToJsonString() string
type DescribeAccidentEventListResponseParams ¶
type DescribeAccidentEventListResponseParams struct { // Platform event list. // Note: This field may return null, indicating that no valid value was found. Alarms []*DescribeAccidentEventListAlarms `json:"Alarms,omitempty" name:"Alarms"` // Total number of platform events. // Note: This field may return null, indicating that no valid value was found. Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmEventsRequest ¶
type DescribeAlarmEventsRequest struct { *tchttp.BaseRequest // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy type such as cvm_device, which is obtained through the `DescribeAllNamespaces` API Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Monitoring type, such as `MT_QCE`, which is set to default. MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` }
func NewDescribeAlarmEventsRequest ¶
func NewDescribeAlarmEventsRequest() (request *DescribeAlarmEventsRequest)
func (*DescribeAlarmEventsRequest) FromJsonString ¶
func (r *DescribeAlarmEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmEventsRequest) ToJsonString ¶
func (r *DescribeAlarmEventsRequest) ToJsonString() string
type DescribeAlarmEventsRequestParams ¶
type DescribeAlarmEventsRequestParams struct { // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy type such as cvm_device, which is obtained through the `DescribeAllNamespaces` API Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Monitoring type, such as `MT_QCE`, which is set to default. MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` }
Predefined struct for user
type DescribeAlarmEventsResponse ¶
type DescribeAlarmEventsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmEventsResponseParams `json:"Response"` }
func NewDescribeAlarmEventsResponse ¶
func NewDescribeAlarmEventsResponse() (response *DescribeAlarmEventsResponse)
func (*DescribeAlarmEventsResponse) FromJsonString ¶
func (r *DescribeAlarmEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmEventsResponse) ToJsonString ¶
func (r *DescribeAlarmEventsResponse) ToJsonString() string
type DescribeAlarmEventsResponseParams ¶
type DescribeAlarmEventsResponseParams struct { // Alarm event list Events []*AlarmEvent `json:"Events,omitempty" name:"Events"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmHistoriesRequest ¶
type DescribeAlarmHistoriesRequest struct { *tchttp.BaseRequest // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Page number starting from 1. Default value: 1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Number of entries per page. Value range: 1–100. Default value: 20 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Sort by the first occurrence time in descending order by default. Valid values: ASC (ascending), DESC (descending) Order *string `json:"Order,omitempty" name:"Order"` // Start time, which is the timestamp one day ago by default and the time when the alarm `FirstOccurTime` first occurs. An alarm record can be searched only if its `FirstOccurTime` is later than the `StartTime`. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp and the time when the alarm `FirstOccurTime` first occurs. An alarm record can be searched only if its `FirstOccurTime` is earlier than the `EndTime`. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Filter by monitor type. Valid values: "MT_QCE" (Tencent Cloud service monitoring), "MT_TAW" (application performance monitoring), "MT_RUM" (frontend performance monitoring), "MT_PROBE" (cloud automated testing). If this parameter is left empty, all types will be queried by default. MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Filter by alarm object. Fuzzy search with string is supported AlarmObject *string `json:"AlarmObject,omitempty" name:"AlarmObject"` // Filter by alarm status. Valid values: ALARM (not resolved), OK (resolved), NO_CONF (expired), NO_DATA (insufficient data). If this parameter is left empty, all will be queried by default AlarmStatus []*string `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // Filter by project ID. Valid values: `-1` (no project), `0` (default project) ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // Filter by instance group ID InstanceGroupIds []*int64 `json:"InstanceGroupIds,omitempty" name:"InstanceGroupIds"` // Filter by policy type. Monitoring type and policy type are first-level and second-level filters respectively and both need to be passed in. For example, `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` Namespaces []*MonitorTypeNamespace `json:"Namespaces,omitempty" name:"Namespaces"` // Filter by metric name MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Fuzzy search by policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Fuzzy search by alarm content Content *string `json:"Content,omitempty" name:"Content"` // Search by recipient ReceiverUids []*int64 `json:"ReceiverUids,omitempty" name:"ReceiverUids"` // Search by recipient group ReceiverGroups []*int64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"` // Search by alarm policy ID list PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` }
func NewDescribeAlarmHistoriesRequest ¶
func NewDescribeAlarmHistoriesRequest() (request *DescribeAlarmHistoriesRequest)
func (*DescribeAlarmHistoriesRequest) FromJsonString ¶
func (r *DescribeAlarmHistoriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmHistoriesRequest) ToJsonString ¶
func (r *DescribeAlarmHistoriesRequest) ToJsonString() string
type DescribeAlarmHistoriesRequestParams ¶
type DescribeAlarmHistoriesRequestParams struct { // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Page number starting from 1. Default value: 1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Number of entries per page. Value range: 1–100. Default value: 20 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Sort by the first occurrence time in descending order by default. Valid values: ASC (ascending), DESC (descending) Order *string `json:"Order,omitempty" name:"Order"` // Start time, which is the timestamp one day ago by default and the time when the alarm `FirstOccurTime` first occurs. An alarm record can be searched only if its `FirstOccurTime` is later than the `StartTime`. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp and the time when the alarm `FirstOccurTime` first occurs. An alarm record can be searched only if its `FirstOccurTime` is earlier than the `EndTime`. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Filter by monitor type. Valid values: "MT_QCE" (Tencent Cloud service monitoring), "MT_TAW" (application performance monitoring), "MT_RUM" (frontend performance monitoring), "MT_PROBE" (cloud automated testing). If this parameter is left empty, all types will be queried by default. MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Filter by alarm object. Fuzzy search with string is supported AlarmObject *string `json:"AlarmObject,omitempty" name:"AlarmObject"` // Filter by alarm status. Valid values: ALARM (not resolved), OK (resolved), NO_CONF (expired), NO_DATA (insufficient data). If this parameter is left empty, all will be queried by default AlarmStatus []*string `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // Filter by project ID. Valid values: `-1` (no project), `0` (default project) ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // Filter by instance group ID InstanceGroupIds []*int64 `json:"InstanceGroupIds,omitempty" name:"InstanceGroupIds"` // Filter by policy type. Monitoring type and policy type are first-level and second-level filters respectively and both need to be passed in. For example, `[{"MonitorType": "MT_QCE", "Namespace": "cvm_device"}]` Namespaces []*MonitorTypeNamespace `json:"Namespaces,omitempty" name:"Namespaces"` // Filter by metric name MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Fuzzy search by policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Fuzzy search by alarm content Content *string `json:"Content,omitempty" name:"Content"` // Search by recipient ReceiverUids []*int64 `json:"ReceiverUids,omitempty" name:"ReceiverUids"` // Search by recipient group ReceiverGroups []*int64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"` // Search by alarm policy ID list PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` }
Predefined struct for user
type DescribeAlarmHistoriesResponse ¶
type DescribeAlarmHistoriesResponse struct { *tchttp.BaseResponse Response *DescribeAlarmHistoriesResponseParams `json:"Response"` }
func NewDescribeAlarmHistoriesResponse ¶
func NewDescribeAlarmHistoriesResponse() (response *DescribeAlarmHistoriesResponse)
func (*DescribeAlarmHistoriesResponse) FromJsonString ¶
func (r *DescribeAlarmHistoriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmHistoriesResponse) ToJsonString ¶
func (r *DescribeAlarmHistoriesResponse) ToJsonString() string
type DescribeAlarmHistoriesResponseParams ¶
type DescribeAlarmHistoriesResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Alarm record list Histories []*AlarmHistory `json:"Histories,omitempty" name:"Histories"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmMetricsRequest ¶
type DescribeAlarmMetricsRequest struct { *tchttp.BaseRequest // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Monitor type filter. Valid values: MT_QCE (Tencent Cloud service monitoring) MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Alarm policy type such as cvm_device, which is obtained through the `DescribeAllNamespaces` API Namespace *string `json:"Namespace,omitempty" name:"Namespace"` }
func NewDescribeAlarmMetricsRequest ¶
func NewDescribeAlarmMetricsRequest() (request *DescribeAlarmMetricsRequest)
func (*DescribeAlarmMetricsRequest) FromJsonString ¶
func (r *DescribeAlarmMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmMetricsRequest) ToJsonString ¶
func (r *DescribeAlarmMetricsRequest) ToJsonString() string
type DescribeAlarmMetricsRequestParams ¶
type DescribeAlarmMetricsRequestParams struct { // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Monitor type filter. Valid values: MT_QCE (Tencent Cloud service monitoring) MonitorType *string `json:"MonitorType,omitempty" name:"MonitorType"` // Alarm policy type such as cvm_device, which is obtained through the `DescribeAllNamespaces` API Namespace *string `json:"Namespace,omitempty" name:"Namespace"` }
Predefined struct for user
type DescribeAlarmMetricsResponse ¶
type DescribeAlarmMetricsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmMetricsResponseParams `json:"Response"` }
func NewDescribeAlarmMetricsResponse ¶
func NewDescribeAlarmMetricsResponse() (response *DescribeAlarmMetricsResponse)
func (*DescribeAlarmMetricsResponse) FromJsonString ¶
func (r *DescribeAlarmMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmMetricsResponse) ToJsonString ¶
func (r *DescribeAlarmMetricsResponse) ToJsonString() string
type DescribeAlarmMetricsResponseParams ¶
type DescribeAlarmMetricsResponseParams struct { // Alarm metric list Metrics []*Metric `json:"Metrics,omitempty" name:"Metrics"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmNoticeCallbacksRequest ¶
type DescribeAlarmNoticeCallbacksRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` }
func NewDescribeAlarmNoticeCallbacksRequest ¶
func NewDescribeAlarmNoticeCallbacksRequest() (request *DescribeAlarmNoticeCallbacksRequest)
func (*DescribeAlarmNoticeCallbacksRequest) FromJsonString ¶
func (r *DescribeAlarmNoticeCallbacksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticeCallbacksRequest) ToJsonString ¶
func (r *DescribeAlarmNoticeCallbacksRequest) ToJsonString() string
type DescribeAlarmNoticeCallbacksRequestParams ¶
type DescribeAlarmNoticeCallbacksRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` }
Predefined struct for user
type DescribeAlarmNoticeCallbacksResponse ¶
type DescribeAlarmNoticeCallbacksResponse struct { *tchttp.BaseResponse Response *DescribeAlarmNoticeCallbacksResponseParams `json:"Response"` }
func NewDescribeAlarmNoticeCallbacksResponse ¶
func NewDescribeAlarmNoticeCallbacksResponse() (response *DescribeAlarmNoticeCallbacksResponse)
func (*DescribeAlarmNoticeCallbacksResponse) FromJsonString ¶
func (r *DescribeAlarmNoticeCallbacksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticeCallbacksResponse) ToJsonString ¶
func (r *DescribeAlarmNoticeCallbacksResponse) ToJsonString() string
type DescribeAlarmNoticeCallbacksResponseParams ¶
type DescribeAlarmNoticeCallbacksResponseParams struct { // Alarm callback notification // Note: this field may return null, indicating that no valid values can be obtained. URLNotices []*URLNotice `json:"URLNotices,omitempty" name:"URLNotices"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmNoticeRequest ¶
type DescribeAlarmNoticeRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm notification template ID NoticeId *string `json:"NoticeId,omitempty" name:"NoticeId"` }
func NewDescribeAlarmNoticeRequest ¶
func NewDescribeAlarmNoticeRequest() (request *DescribeAlarmNoticeRequest)
func (*DescribeAlarmNoticeRequest) FromJsonString ¶
func (r *DescribeAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticeRequest) ToJsonString ¶
func (r *DescribeAlarmNoticeRequest) ToJsonString() string
type DescribeAlarmNoticeRequestParams ¶
type DescribeAlarmNoticeRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm notification template ID NoticeId *string `json:"NoticeId,omitempty" name:"NoticeId"` }
Predefined struct for user
type DescribeAlarmNoticeResponse ¶
type DescribeAlarmNoticeResponse struct { *tchttp.BaseResponse Response *DescribeAlarmNoticeResponseParams `json:"Response"` }
func NewDescribeAlarmNoticeResponse ¶
func NewDescribeAlarmNoticeResponse() (response *DescribeAlarmNoticeResponse)
func (*DescribeAlarmNoticeResponse) FromJsonString ¶
func (r *DescribeAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticeResponse) ToJsonString ¶
func (r *DescribeAlarmNoticeResponse) ToJsonString() string
type DescribeAlarmNoticeResponseParams ¶
type DescribeAlarmNoticeResponseParams struct { // Alarm notification template details Notice *AlarmNotice `json:"Notice,omitempty" name:"Notice"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmNoticesRequest ¶
type DescribeAlarmNoticesRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Page number. Minimum value: 1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Number of entries per page. Value range: 1–200 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Sort by update time. Valid values: ASC (ascending), DESC (descending) Order *string `json:"Order,omitempty" name:"Order"` // Root account `uid`, which is used to create preset notifications OwnerUid *int64 `json:"OwnerUid,omitempty" name:"OwnerUid"` // Alarm notification template name, which is used for fuzzy search Name *string `json:"Name,omitempty" name:"Name"` // Filter by recipient. The type of notified users should be selected for the alarm notification template. Valid values: USER (user), GROUP (user group). If this parameter is left empty, no filter by recipient will be performed ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Recipient object list UserIds []*int64 `json:"UserIds,omitempty" name:"UserIds"` // Recipient group list GroupIds []*int64 `json:"GroupIds,omitempty" name:"GroupIds"` // Filter by notification template ID. If an empty array is passed in or if this parameter is left empty, the filter operation will not be performed. NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Filter templates by tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewDescribeAlarmNoticesRequest ¶
func NewDescribeAlarmNoticesRequest() (request *DescribeAlarmNoticesRequest)
func (*DescribeAlarmNoticesRequest) FromJsonString ¶
func (r *DescribeAlarmNoticesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticesRequest) ToJsonString ¶
func (r *DescribeAlarmNoticesRequest) ToJsonString() string
type DescribeAlarmNoticesRequestParams ¶
type DescribeAlarmNoticesRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Page number. Minimum value: 1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Number of entries per page. Value range: 1–200 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Sort by update time. Valid values: ASC (ascending), DESC (descending) Order *string `json:"Order,omitempty" name:"Order"` // Root account `uid`, which is used to create preset notifications OwnerUid *int64 `json:"OwnerUid,omitempty" name:"OwnerUid"` // Alarm notification template name, which is used for fuzzy search Name *string `json:"Name,omitempty" name:"Name"` // Filter by recipient. The type of notified users should be selected for the alarm notification template. Valid values: USER (user), GROUP (user group). If this parameter is left empty, no filter by recipient will be performed ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Recipient object list UserIds []*int64 `json:"UserIds,omitempty" name:"UserIds"` // Recipient group list GroupIds []*int64 `json:"GroupIds,omitempty" name:"GroupIds"` // Filter by notification template ID. If an empty array is passed in or if this parameter is left empty, the filter operation will not be performed. NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Filter templates by tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeAlarmNoticesResponse ¶
type DescribeAlarmNoticesResponse struct { *tchttp.BaseResponse Response *DescribeAlarmNoticesResponseParams `json:"Response"` }
func NewDescribeAlarmNoticesResponse ¶
func NewDescribeAlarmNoticesResponse() (response *DescribeAlarmNoticesResponse)
func (*DescribeAlarmNoticesResponse) FromJsonString ¶
func (r *DescribeAlarmNoticesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticesResponse) ToJsonString ¶
func (r *DescribeAlarmNoticesResponse) ToJsonString() string
type DescribeAlarmNoticesResponseParams ¶
type DescribeAlarmNoticesResponseParams struct { // Total number of alarm notification templates TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Alarm notification template list Notices []*AlarmNotice `json:"Notices,omitempty" name:"Notices"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmPoliciesRequest ¶
type DescribeAlarmPoliciesRequest struct { *tchttp.BaseRequest // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Page number starting from 1. Default value: 1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Number of entries per page. Value range: 1–100. Default value: 20 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Fuzzy search by policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Filter by monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring). If this parameter is left empty, all will be queried by default MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Filter by namespace. For the values of different policy types, please see: // [Policy Type List](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1) Namespaces []*string `json:"Namespaces,omitempty" name:"Namespaces"` // The alarm object list, which is a JSON string. The outer array corresponds to multiple instances, and the inner array is the dimension of an object. For example, “CVM - Basic Monitor” can be written as: // `[ {"Dimensions": {"unInstanceId": "ins-qr8d555g"}}, {"Dimensions": {"unInstanceId": "ins-qr8d555h"}} ]` // You can also refer to the “Example 2” below. // // For more information on the parameter samples of different Tencent Cloud services, see [Product Policy Type and Dimension Information](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1). // // Note: If `1` is passed in for `NeedCorrespondence`, the relationship between a policy and an instance needs to be returned. You can pass in up to 20 alarm object dimensions to avoid request timeout. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Search by recipient. You can get the user list with the API [ListUsers](https://intl.cloud.tencent.com/document/product/598/34587?from_cn_redirect=1) in “Cloud Access Management” or query the sub-user information with the API [GetUser](https://intl.cloud.tencent.com/document/product/598/34590?from_cn_redirect=1). The `Uid` field in the returned result should be entered here. ReceiverUids []*int64 `json:"ReceiverUids,omitempty" name:"ReceiverUids"` // Search by recipient group. You can get the user group list with the API [ListGroups](https://intl.cloud.tencent.com/document/product/598/34589?from_cn_redirect=1) in “Cloud Access Management” or query the user group list where a sub-user is in with the API [ListGroupsForUser](https://intl.cloud.tencent.com/document/product/598/34588?from_cn_redirect=1). The `GroupId` field in the returned result should be entered here. ReceiverGroups []*int64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"` // Filter by default policy. Valid values: DEFAULT (display default policy), NOT_DEFAULT (display non-default policies). If this parameter is left empty, all policies will be displayed PolicyType []*string `json:"PolicyType,omitempty" name:"PolicyType"` // Sort by field. For example, to sort by the last modification time, use Field: "UpdateTime". Field *string `json:"Field,omitempty" name:"Field"` // Sort order. Valid values: ASC (ascending), DESC (descending) Order *string `json:"Order,omitempty" name:"Order"` // ID array of the policy project, which can be viewed on the following page: // [Project Management](https://console.cloud.tencent.com/project) ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // ID list of the notification template, which can be obtained by querying the notification template list. // It can be queried with the API [DescribeAlarmNotices](https://intl.cloud.tencent.com/document/product/248/51280?from_cn_redirect=1). NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Filter by trigger condition. Valid values: STATIC (display policies with static threshold), DYNAMIC (display policies with dynamic threshold). If this parameter is left empty, all policies will be displayed RuleTypes []*string `json:"RuleTypes,omitempty" name:"RuleTypes"` // Filter by alarm status. Valid values: [1]: enabled; [0]: disabled; [0, 1]: all Enable []*int64 `json:"Enable,omitempty" name:"Enable"` // If `1` is passed in, alarm policies with no notification rules configured are queried. If it is left empty or other values are passed in, all alarm policies are queried. NotBindingNoticeRule *int64 `json:"NotBindingNoticeRule,omitempty" name:"NotBindingNoticeRule"` // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Whether the relationship between a policy and the input parameter filter dimension is required. `1`: Yes. `0`: No. Default value: `0`. NeedCorrespondence *int64 `json:"NeedCorrespondence,omitempty" name:"NeedCorrespondence"` // Filter alarm policy by triggered task (such as auto scaling task). Up to 10 tasks can be specified. TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` // Filter by quick alarm policy. If this parameter is left empty, all policies are displayed. `ONECLICK`: Display quick alarm policies; `NOT_ONECLICK`: Display non-quick alarm policies. OneClickPolicyType []*string `json:"OneClickPolicyType,omitempty" name:"OneClickPolicyType"` // Whether the returned result filters policies associated with all objects. Valid values: `1` (Yes), `0` (No). NotBindAll *int64 `json:"NotBindAll,omitempty" name:"NotBindAll"` // Whether the returned result filters policies associated with instance groups. Valid values: `1` (Yes), `0` (No). NotInstanceGroup *int64 `json:"NotInstanceGroup,omitempty" name:"NotInstanceGroup"` // Filter policies by tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewDescribeAlarmPoliciesRequest ¶
func NewDescribeAlarmPoliciesRequest() (request *DescribeAlarmPoliciesRequest)
func (*DescribeAlarmPoliciesRequest) FromJsonString ¶
func (r *DescribeAlarmPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmPoliciesRequest) ToJsonString ¶
func (r *DescribeAlarmPoliciesRequest) ToJsonString() string
type DescribeAlarmPoliciesRequestParams ¶
type DescribeAlarmPoliciesRequestParams struct { // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Page number starting from 1. Default value: 1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // Number of entries per page. Value range: 1–100. Default value: 20 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Fuzzy search by policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Filter by monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring). If this parameter is left empty, all will be queried by default MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Filter by namespace. For the values of different policy types, please see: // [Policy Type List](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1) Namespaces []*string `json:"Namespaces,omitempty" name:"Namespaces"` // The alarm object list, which is a JSON string. The outer array corresponds to multiple instances, and the inner array is the dimension of an object. For example, “CVM - Basic Monitor” can be written as: // `[ {"Dimensions": {"unInstanceId": "ins-qr8d555g"}}, {"Dimensions": {"unInstanceId": "ins-qr8d555h"}} ]` // You can also refer to the “Example 2” below. // // For more information on the parameter samples of different Tencent Cloud services, see [Product Policy Type and Dimension Information](https://intl.cloud.tencent.com/document/product/248/50397?from_cn_redirect=1). // // Note: If `1` is passed in for `NeedCorrespondence`, the relationship between a policy and an instance needs to be returned. You can pass in up to 20 alarm object dimensions to avoid request timeout. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Search by recipient. You can get the user list with the API [ListUsers](https://intl.cloud.tencent.com/document/product/598/34587?from_cn_redirect=1) in “Cloud Access Management” or query the sub-user information with the API [GetUser](https://intl.cloud.tencent.com/document/product/598/34590?from_cn_redirect=1). The `Uid` field in the returned result should be entered here. ReceiverUids []*int64 `json:"ReceiverUids,omitempty" name:"ReceiverUids"` // Search by recipient group. You can get the user group list with the API [ListGroups](https://intl.cloud.tencent.com/document/product/598/34589?from_cn_redirect=1) in “Cloud Access Management” or query the user group list where a sub-user is in with the API [ListGroupsForUser](https://intl.cloud.tencent.com/document/product/598/34588?from_cn_redirect=1). The `GroupId` field in the returned result should be entered here. ReceiverGroups []*int64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"` // Filter by default policy. Valid values: DEFAULT (display default policy), NOT_DEFAULT (display non-default policies). If this parameter is left empty, all policies will be displayed PolicyType []*string `json:"PolicyType,omitempty" name:"PolicyType"` // Sort by field. For example, to sort by the last modification time, use Field: "UpdateTime". Field *string `json:"Field,omitempty" name:"Field"` // Sort order. Valid values: ASC (ascending), DESC (descending) Order *string `json:"Order,omitempty" name:"Order"` // ID array of the policy project, which can be viewed on the following page: // [Project Management](https://console.cloud.tencent.com/project) ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // ID list of the notification template, which can be obtained by querying the notification template list. // It can be queried with the API [DescribeAlarmNotices](https://intl.cloud.tencent.com/document/product/248/51280?from_cn_redirect=1). NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Filter by trigger condition. Valid values: STATIC (display policies with static threshold), DYNAMIC (display policies with dynamic threshold). If this parameter is left empty, all policies will be displayed RuleTypes []*string `json:"RuleTypes,omitempty" name:"RuleTypes"` // Filter by alarm status. Valid values: [1]: enabled; [0]: disabled; [0, 1]: all Enable []*int64 `json:"Enable,omitempty" name:"Enable"` // If `1` is passed in, alarm policies with no notification rules configured are queried. If it is left empty or other values are passed in, all alarm policies are queried. NotBindingNoticeRule *int64 `json:"NotBindingNoticeRule,omitempty" name:"NotBindingNoticeRule"` // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Whether the relationship between a policy and the input parameter filter dimension is required. `1`: Yes. `0`: No. Default value: `0`. NeedCorrespondence *int64 `json:"NeedCorrespondence,omitempty" name:"NeedCorrespondence"` // Filter alarm policy by triggered task (such as auto scaling task). Up to 10 tasks can be specified. TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` // Filter by quick alarm policy. If this parameter is left empty, all policies are displayed. `ONECLICK`: Display quick alarm policies; `NOT_ONECLICK`: Display non-quick alarm policies. OneClickPolicyType []*string `json:"OneClickPolicyType,omitempty" name:"OneClickPolicyType"` // Whether the returned result filters policies associated with all objects. Valid values: `1` (Yes), `0` (No). NotBindAll *int64 `json:"NotBindAll,omitempty" name:"NotBindAll"` // Whether the returned result filters policies associated with instance groups. Valid values: `1` (Yes), `0` (No). NotInstanceGroup *int64 `json:"NotInstanceGroup,omitempty" name:"NotInstanceGroup"` // Filter policies by tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeAlarmPoliciesResponse ¶
type DescribeAlarmPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeAlarmPoliciesResponseParams `json:"Response"` }
func NewDescribeAlarmPoliciesResponse ¶
func NewDescribeAlarmPoliciesResponse() (response *DescribeAlarmPoliciesResponse)
func (*DescribeAlarmPoliciesResponse) FromJsonString ¶
func (r *DescribeAlarmPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmPoliciesResponse) ToJsonString ¶
func (r *DescribeAlarmPoliciesResponse) ToJsonString() string
type DescribeAlarmPoliciesResponseParams ¶
type DescribeAlarmPoliciesResponseParams struct { // Total number of policies TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Policy array Policies []*AlarmPolicy `json:"Policies,omitempty" name:"Policies"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmPolicyRequest ¶
type DescribeAlarmPolicyRequest struct { *tchttp.BaseRequest // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
func NewDescribeAlarmPolicyRequest ¶
func NewDescribeAlarmPolicyRequest() (request *DescribeAlarmPolicyRequest)
func (*DescribeAlarmPolicyRequest) FromJsonString ¶
func (r *DescribeAlarmPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmPolicyRequest) ToJsonString ¶
func (r *DescribeAlarmPolicyRequest) ToJsonString() string
type DescribeAlarmPolicyRequestParams ¶
type DescribeAlarmPolicyRequestParams struct { // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
Predefined struct for user
type DescribeAlarmPolicyResponse ¶
type DescribeAlarmPolicyResponse struct { *tchttp.BaseResponse Response *DescribeAlarmPolicyResponseParams `json:"Response"` }
func NewDescribeAlarmPolicyResponse ¶
func NewDescribeAlarmPolicyResponse() (response *DescribeAlarmPolicyResponse)
func (*DescribeAlarmPolicyResponse) FromJsonString ¶
func (r *DescribeAlarmPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmPolicyResponse) ToJsonString ¶
func (r *DescribeAlarmPolicyResponse) ToJsonString() string
type DescribeAlarmPolicyResponseParams ¶
type DescribeAlarmPolicyResponseParams struct { // Policy details Policy *AlarmPolicy `json:"Policy,omitempty" name:"Policy"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlertRulesRequest ¶
type DescribeAlertRulesRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code. Valid values: // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Alerting rule template category Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeAlertRulesRequest ¶
func NewDescribeAlertRulesRequest() (request *DescribeAlertRulesRequest)
func (*DescribeAlertRulesRequest) FromJsonString ¶
func (r *DescribeAlertRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRulesRequest) ToJsonString ¶
func (r *DescribeAlertRulesRequest) ToJsonString() string
type DescribeAlertRulesRequestParams ¶
type DescribeAlertRulesRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code. Valid values: // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Alerting rule template category Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeAlertRulesResponse ¶
type DescribeAlertRulesResponse struct { *tchttp.BaseResponse Response *DescribeAlertRulesResponseParams `json:"Response"` }
func NewDescribeAlertRulesResponse ¶
func NewDescribeAlertRulesResponse() (response *DescribeAlertRulesResponse)
func (*DescribeAlertRulesResponse) FromJsonString ¶
func (r *DescribeAlertRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRulesResponse) ToJsonString ¶
func (r *DescribeAlertRulesResponse) ToJsonString() string
type DescribeAlertRulesResponseParams ¶
type DescribeAlertRulesResponseParams struct { // Number of alerting rules TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Alerting rule details // Note: This field may return null, indicating that no valid values can be obtained. AlertRuleSet []*PrometheusRuleSet `json:"AlertRuleSet,omitempty" name:"AlertRuleSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAllNamespacesRequest ¶
type DescribeAllNamespacesRequest struct { *tchttp.BaseRequest // Filter by use case. Currently, the only valid value is `ST_ALARM` (alarm type). SceneType *string `json:"SceneType,omitempty" name:"SceneType"` // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Filter by monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring). If this parameter is left empty, all will be queried by default MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Filter by namespace ID. If this parameter is left empty, all will be queried Ids []*string `json:"Ids,omitempty" name:"Ids"` }
func NewDescribeAllNamespacesRequest ¶
func NewDescribeAllNamespacesRequest() (request *DescribeAllNamespacesRequest)
func (*DescribeAllNamespacesRequest) FromJsonString ¶
func (r *DescribeAllNamespacesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllNamespacesRequest) ToJsonString ¶
func (r *DescribeAllNamespacesRequest) ToJsonString() string
type DescribeAllNamespacesRequestParams ¶
type DescribeAllNamespacesRequestParams struct { // Filter by use case. Currently, the only valid value is `ST_ALARM` (alarm type). SceneType *string `json:"SceneType,omitempty" name:"SceneType"` // Value fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Filter by monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring). If this parameter is left empty, all will be queried by default MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Filter by namespace ID. If this parameter is left empty, all will be queried Ids []*string `json:"Ids,omitempty" name:"Ids"` }
Predefined struct for user
type DescribeAllNamespacesResponse ¶
type DescribeAllNamespacesResponse struct { *tchttp.BaseResponse Response *DescribeAllNamespacesResponseParams `json:"Response"` }
func NewDescribeAllNamespacesResponse ¶
func NewDescribeAllNamespacesResponse() (response *DescribeAllNamespacesResponse)
func (*DescribeAllNamespacesResponse) FromJsonString ¶
func (r *DescribeAllNamespacesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllNamespacesResponse) ToJsonString ¶
func (r *DescribeAllNamespacesResponse) ToJsonString() string
type DescribeAllNamespacesResponseParams ¶
type DescribeAllNamespacesResponseParams struct { // Alarm policy type of Tencent Cloud service (disused) QceNamespaces *CommonNamespace `json:"QceNamespaces,omitempty" name:"QceNamespaces"` // Other alarm policy type (disused) CustomNamespaces *CommonNamespace `json:"CustomNamespaces,omitempty" name:"CustomNamespaces"` // Alarm policy type of Tencent Cloud service QceNamespacesNew []*CommonNamespace `json:"QceNamespacesNew,omitempty" name:"QceNamespacesNew"` // Other alarm policy type (not supported currently) CustomNamespacesNew []*CommonNamespace `json:"CustomNamespacesNew,omitempty" name:"CustomNamespacesNew"` // General alarm policy type, including TAPM, RUM, and CAT. // Note: This field may return null, indicating that no valid values can be obtained. CommonNamespaces []*CommonNamespaceNew `json:"CommonNamespaces,omitempty" name:"CommonNamespaces"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBaseMetricsRequest ¶
type DescribeBaseMetricsRequest struct { *tchttp.BaseRequest // Service namespace. Tencent Cloud services have different namespaces. For more information on service namespaces, see the monitoring metric documentation of each service. For example, see [CVM Monitoring Metrics](https://intl.cloud.tencent.com/document/product/248/6843?from_cn_redirect=1) for the namespace of CVM Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name. Tencent Cloud services have different metric names. For more information on metric names, see the monitoring metric documentation of each service. For example, see [CVM Monitoring Metrics](https://intl.cloud.tencent.com/document/product/248/6843?from_cn_redirect=1) for the metric names of CVM MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Filter by dimension. This parameter is optional. Dimensions []*string `json:"Dimensions,omitempty" name:"Dimensions"` }
func NewDescribeBaseMetricsRequest ¶
func NewDescribeBaseMetricsRequest() (request *DescribeBaseMetricsRequest)
func (*DescribeBaseMetricsRequest) FromJsonString ¶
func (r *DescribeBaseMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaseMetricsRequest) ToJsonString ¶
func (r *DescribeBaseMetricsRequest) ToJsonString() string
type DescribeBaseMetricsRequestParams ¶
type DescribeBaseMetricsRequestParams struct { // Service namespace. Tencent Cloud services have different namespaces. For more information on service namespaces, see the monitoring metric documentation of each service. For example, see [CVM Monitoring Metrics](https://intl.cloud.tencent.com/document/product/248/6843?from_cn_redirect=1) for the namespace of CVM Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name. Tencent Cloud services have different metric names. For more information on metric names, see the monitoring metric documentation of each service. For example, see [CVM Monitoring Metrics](https://intl.cloud.tencent.com/document/product/248/6843?from_cn_redirect=1) for the metric names of CVM MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Filter by dimension. This parameter is optional. Dimensions []*string `json:"Dimensions,omitempty" name:"Dimensions"` }
Predefined struct for user
type DescribeBaseMetricsResponse ¶
type DescribeBaseMetricsResponse struct { *tchttp.BaseResponse Response *DescribeBaseMetricsResponseParams `json:"Response"` }
func NewDescribeBaseMetricsResponse ¶
func NewDescribeBaseMetricsResponse() (response *DescribeBaseMetricsResponse)
func (*DescribeBaseMetricsResponse) FromJsonString ¶
func (r *DescribeBaseMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaseMetricsResponse) ToJsonString ¶
func (r *DescribeBaseMetricsResponse) ToJsonString() string
type DescribeBaseMetricsResponseParams ¶
type DescribeBaseMetricsResponseParams struct { // Listed of queried metric descriptions MetricSet []*MetricSet `json:"MetricSet,omitempty" name:"MetricSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBasicAlarmListAlarms ¶
type DescribeBasicAlarmListAlarms struct { // Alarm ID. Id *uint64 `json:"Id,omitempty" name:"Id"` // Project ID. // Note: This field may return null, indicating that no valid value was found. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Project name. // Note: This field may return null, indicating that no valid value was found. ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // Alarm status ID. Valid values: 0 (not resolved), 1 (resolved), 2/3/5 (insufficient data), 4 (expired) // Note: this field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitempty" name:"Status"` // Alarm status. Valid values: ALARM (not resolved), OK (resolved), NO_DATA (insufficient data), NO_CONF (expired) // Note: this field may return null, indicating that no valid values can be obtained. AlarmStatus *string `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // Policy group ID. // Note: This field may return null, indicating that no valid value was found. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Policy group name. // Note: This field may return null, indicating that no valid value was found. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Occurrence time. // Note: This field may return null, indicating that no valid value was found. FirstOccurTime *string `json:"FirstOccurTime,omitempty" name:"FirstOccurTime"` // Duration in seconds. // Note: This field may return null, indicating that no valid value was found. Duration *int64 `json:"Duration,omitempty" name:"Duration"` // End time. // Note: This field may return null, indicating that no valid value was found. LastOccurTime *string `json:"LastOccurTime,omitempty" name:"LastOccurTime"` // Alarm content. // Note: This field may return null, indicating that no valid value was found. Content *string `json:"Content,omitempty" name:"Content"` // Alarm object. // Note: This field may return null, indicating that no valid value was found. ObjName *string `json:"ObjName,omitempty" name:"ObjName"` // Alarm object ID. // Note: This field may return null, indicating that no valid value was found. ObjId *string `json:"ObjId,omitempty" name:"ObjId"` // Policy type. // Note: This field may return null, indicating that no valid value was found. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // VPC, which is unique to CVM. // Note: This field may return null, indicating that no valid value was found. Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // Metric ID. // Note: This field may return null, indicating that no valid value was found. MetricId *int64 `json:"MetricId,omitempty" name:"MetricId"` // Metric name. // Note: This field may return null, indicating that no valid value was found. MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Alarm type. The value 0 indicates metric alarms. The value 2 indicates product event alarms. The value 3 indicates platform event alarms. // Note: This field may return null, indicating that no valid value was found. AlarmType *int64 `json:"AlarmType,omitempty" name:"AlarmType"` // Region. // Note: This field may return null, indicating that no valid value was found. Region *string `json:"Region,omitempty" name:"Region"` // Dimensions of an alarm object. // Note: This field may return null, indicating that no valid value was found. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Notification method. // Note: This field may return null, indicating that no valid value was found. NotifyWay []*string `json:"NotifyWay,omitempty" name:"NotifyWay"` // Instance group information. // Note: This field may return null, indicating that no valid value was found. InstanceGroup []*InstanceGroup `json:"InstanceGroup,omitempty" name:"InstanceGroup"` }
type DescribeBasicAlarmListRequest ¶
type DescribeBasicAlarmListRequest struct { *tchttp.BaseRequest // API component name. The value for the current API is monitor. Module *string `json:"Module,omitempty" name:"Module"` // Start time, which is the timestamp one day prior by default. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp by default. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Number of parameters that can be returned on each page. Value range: 1 - 100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Parameter offset on each page. The value starts from 0 and the default value is 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting by occurrence time. Valid values: asc and desc. OccurTimeOrder *string `json:"OccurTimeOrder,omitempty" name:"OccurTimeOrder"` // Filter by project ID. ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // Filter by policy type. ViewNames []*string `json:"ViewNames,omitempty" name:"ViewNames"` // Filter by alarm status. AlarmStatus []*int64 `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // Filter by alarm object. ObjLike *string `json:"ObjLike,omitempty" name:"ObjLike"` // Filter by instance group ID. InstanceGroupIds []*int64 `json:"InstanceGroupIds,omitempty" name:"InstanceGroupIds"` // Filtering by metric names MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` }
func NewDescribeBasicAlarmListRequest ¶
func NewDescribeBasicAlarmListRequest() (request *DescribeBasicAlarmListRequest)
func (*DescribeBasicAlarmListRequest) FromJsonString ¶
func (r *DescribeBasicAlarmListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicAlarmListRequest) ToJsonString ¶
func (r *DescribeBasicAlarmListRequest) ToJsonString() string
type DescribeBasicAlarmListRequestParams ¶
type DescribeBasicAlarmListRequestParams struct { // API component name. The value for the current API is monitor. Module *string `json:"Module,omitempty" name:"Module"` // Start time, which is the timestamp one day prior by default. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp by default. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Number of parameters that can be returned on each page. Value range: 1 - 100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Parameter offset on each page. The value starts from 0 and the default value is 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting by occurrence time. Valid values: asc and desc. OccurTimeOrder *string `json:"OccurTimeOrder,omitempty" name:"OccurTimeOrder"` // Filter by project ID. ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // Filter by policy type. ViewNames []*string `json:"ViewNames,omitempty" name:"ViewNames"` // Filter by alarm status. AlarmStatus []*int64 `json:"AlarmStatus,omitempty" name:"AlarmStatus"` // Filter by alarm object. ObjLike *string `json:"ObjLike,omitempty" name:"ObjLike"` // Filter by instance group ID. InstanceGroupIds []*int64 `json:"InstanceGroupIds,omitempty" name:"InstanceGroupIds"` // Filtering by metric names MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` }
Predefined struct for user
type DescribeBasicAlarmListResponse ¶
type DescribeBasicAlarmListResponse struct { *tchttp.BaseResponse Response *DescribeBasicAlarmListResponseParams `json:"Response"` }
func NewDescribeBasicAlarmListResponse ¶
func NewDescribeBasicAlarmListResponse() (response *DescribeBasicAlarmListResponse)
func (*DescribeBasicAlarmListResponse) FromJsonString ¶
func (r *DescribeBasicAlarmListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBasicAlarmListResponse) ToJsonString ¶
func (r *DescribeBasicAlarmListResponse) ToJsonString() string
type DescribeBasicAlarmListResponseParams ¶
type DescribeBasicAlarmListResponseParams struct { // Alarm list. // Note: This field may return null, indicating that no valid value was found. Alarms []*DescribeBasicAlarmListAlarms `json:"Alarms,omitempty" name:"Alarms"` // Total number. // Note: This field may return null, indicating that no valid value was found. Total *int64 `json:"Total,omitempty" name:"Total"` // Remarks // Note: This field may return null, indicating that no valid values can be obtained. Warning *string `json:"Warning,omitempty" name:"Warning"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBindingPolicyObjectListDimension ¶
type DescribeBindingPolicyObjectListDimension struct { // Region ID. RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Region abbreviation. Region *string `json:"Region,omitempty" name:"Region"` // Combined JSON string of dimensions. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Combined JSON string of event dimensions. EventDimensions *string `json:"EventDimensions,omitempty" name:"EventDimensions"` }
type DescribeBindingPolicyObjectListInstance ¶
type DescribeBindingPolicyObjectListInstance struct { // Unique ID of the object. UniqueId *string `json:"UniqueId,omitempty" name:"UniqueId"` // Dimension set of an object instance, which is a jsonObj string. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Whether the object is shielded. The value 0 indicates that the object is not shielded. The value 1 indicates that the object is shielded. IsShielded *int64 `json:"IsShielded,omitempty" name:"IsShielded"` // Region where the object resides. Region *string `json:"Region,omitempty" name:"Region"` }
type DescribeBindingPolicyObjectListInstanceGroup ¶
type DescribeBindingPolicyObjectListInstanceGroup struct { // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Alarm policy type name. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Uin that was last edited. LastEditUin *string `json:"LastEditUin,omitempty" name:"LastEditUin"` // Instance group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Number of instances. InstanceSum *int64 `json:"InstanceSum,omitempty" name:"InstanceSum"` // Update time. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Regions where the instances reside. // Note: This field may return null, indicating that no valid value was found. Regions []*string `json:"Regions,omitempty" name:"Regions"` }
type DescribeBindingPolicyObjectListRequest ¶
type DescribeBindingPolicyObjectListRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. If the ID is in the format of “policy-xxxx”, please enter it in the `PolicyId` field. Enter 0 in this field. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm policy ID in the format of “policy-xxxx”. If a value has been entered in this field, you can enter 0 in the `GroupId` field. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // The number of alarm objects returned each time. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset, which starts from 0 and is set to 0 by default. For example, the parameter `Offset=0&Limit=20` returns the zeroth to 19th alarm objects, and `Offset=20&Limit=20` returns the 20th to 39th alarm objects, and so on. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Dimensions of filtering objects. Dimensions []*DescribeBindingPolicyObjectListDimension `json:"Dimensions,omitempty" name:"Dimensions"` }
func NewDescribeBindingPolicyObjectListRequest ¶
func NewDescribeBindingPolicyObjectListRequest() (request *DescribeBindingPolicyObjectListRequest)
func (*DescribeBindingPolicyObjectListRequest) FromJsonString ¶
func (r *DescribeBindingPolicyObjectListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindingPolicyObjectListRequest) ToJsonString ¶
func (r *DescribeBindingPolicyObjectListRequest) ToJsonString() string
type DescribeBindingPolicyObjectListRequestParams ¶
type DescribeBindingPolicyObjectListRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. If the ID is in the format of “policy-xxxx”, please enter it in the `PolicyId` field. Enter 0 in this field. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm policy ID in the format of “policy-xxxx”. If a value has been entered in this field, you can enter 0 in the `GroupId` field. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // The number of alarm objects returned each time. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset, which starts from 0 and is set to 0 by default. For example, the parameter `Offset=0&Limit=20` returns the zeroth to 19th alarm objects, and `Offset=20&Limit=20` returns the 20th to 39th alarm objects, and so on. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Dimensions of filtering objects. Dimensions []*DescribeBindingPolicyObjectListDimension `json:"Dimensions,omitempty" name:"Dimensions"` }
Predefined struct for user
type DescribeBindingPolicyObjectListResponse ¶
type DescribeBindingPolicyObjectListResponse struct { *tchttp.BaseResponse Response *DescribeBindingPolicyObjectListResponseParams `json:"Response"` }
func NewDescribeBindingPolicyObjectListResponse ¶
func NewDescribeBindingPolicyObjectListResponse() (response *DescribeBindingPolicyObjectListResponse)
func (*DescribeBindingPolicyObjectListResponse) FromJsonString ¶
func (r *DescribeBindingPolicyObjectListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindingPolicyObjectListResponse) ToJsonString ¶
func (r *DescribeBindingPolicyObjectListResponse) ToJsonString() string
type DescribeBindingPolicyObjectListResponseParams ¶
type DescribeBindingPolicyObjectListResponseParams struct { // List of bound object instances. // Note: This field may return null, indicating that no valid value was found. List []*DescribeBindingPolicyObjectListInstance `json:"List,omitempty" name:"List"` // Total number of bound object instances. Total *int64 `json:"Total,omitempty" name:"Total"` // Number of object instances that are not shielded. NoShieldedSum *int64 `json:"NoShieldedSum,omitempty" name:"NoShieldedSum"` // Bound instance group information. This parameter is not configured if no instance group is bound. // Note: This field may return null, indicating that no valid value was found. InstanceGroup *DescribeBindingPolicyObjectListInstanceGroup `json:"InstanceGroup,omitempty" name:"InstanceGroup"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConditionsTemplateListRequest ¶
type DescribeConditionsTemplateListRequest struct { *tchttp.BaseRequest // The value is fixed to `monitor`. Module *string `json:"Module,omitempty" name:"Module"` // View name, which can be obtained via [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1). For the monitoring of Tencent Cloud services, the value of this parameter is `QceNamespacesNew.N.Id` of the output parameter of `DescribeAllNamespaces`, for example, `cvm_device`. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Filter by trigger condition template name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Filter by trigger condition template ID. GroupID *string `json:"GroupID,omitempty" name:"GroupID"` // Pagination parameter, which specifies the number of returned results per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset starting from 0. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting method by update time. `asc`: Ascending order; `desc`: Descending order. UpdateTimeOrder *string `json:"UpdateTimeOrder,omitempty" name:"UpdateTimeOrder"` // Sorting order based on the number of associated policies. Valid values: `asc` (ascending order), `desc` (descending order). PolicyCountOrder *string `json:"PolicyCountOrder,omitempty" name:"PolicyCountOrder"` }
func NewDescribeConditionsTemplateListRequest ¶
func NewDescribeConditionsTemplateListRequest() (request *DescribeConditionsTemplateListRequest)
func (*DescribeConditionsTemplateListRequest) FromJsonString ¶
func (r *DescribeConditionsTemplateListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConditionsTemplateListRequest) ToJsonString ¶
func (r *DescribeConditionsTemplateListRequest) ToJsonString() string
type DescribeConditionsTemplateListRequestParams ¶
type DescribeConditionsTemplateListRequestParams struct { // The value is fixed to `monitor`. Module *string `json:"Module,omitempty" name:"Module"` // View name, which can be obtained via [DescribeAllNamespaces](https://intl.cloud.tencent.com/document/product/248/48683?from_cn_redirect=1). For the monitoring of Tencent Cloud services, the value of this parameter is `QceNamespacesNew.N.Id` of the output parameter of `DescribeAllNamespaces`, for example, `cvm_device`. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Filter by trigger condition template name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Filter by trigger condition template ID. GroupID *string `json:"GroupID,omitempty" name:"GroupID"` // Pagination parameter, which specifies the number of returned results per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset starting from 0. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Sorting method by update time. `asc`: Ascending order; `desc`: Descending order. UpdateTimeOrder *string `json:"UpdateTimeOrder,omitempty" name:"UpdateTimeOrder"` // Sorting order based on the number of associated policies. Valid values: `asc` (ascending order), `desc` (descending order). PolicyCountOrder *string `json:"PolicyCountOrder,omitempty" name:"PolicyCountOrder"` }
Predefined struct for user
type DescribeConditionsTemplateListResponse ¶
type DescribeConditionsTemplateListResponse struct { *tchttp.BaseResponse Response *DescribeConditionsTemplateListResponseParams `json:"Response"` }
func NewDescribeConditionsTemplateListResponse ¶
func NewDescribeConditionsTemplateListResponse() (response *DescribeConditionsTemplateListResponse)
func (*DescribeConditionsTemplateListResponse) FromJsonString ¶
func (r *DescribeConditionsTemplateListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConditionsTemplateListResponse) ToJsonString ¶
func (r *DescribeConditionsTemplateListResponse) ToJsonString() string
type DescribeConditionsTemplateListResponseParams ¶
type DescribeConditionsTemplateListResponseParams struct { // Total number of templates. Total *int64 `json:"Total,omitempty" name:"Total"` // Template list. // Note: This field may return `null`, indicating that no valid values can be obtained. TemplateGroupList []*TemplateGroup `json:"TemplateGroupList,omitempty" name:"TemplateGroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDNSConfigRequest ¶
type DescribeDNSConfigRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDNSConfigRequest ¶
func NewDescribeDNSConfigRequest() (request *DescribeDNSConfigRequest)
func (*DescribeDNSConfigRequest) FromJsonString ¶
func (r *DescribeDNSConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDNSConfigRequest) ToJsonString ¶
func (r *DescribeDNSConfigRequest) ToJsonString() string
type DescribeDNSConfigRequestParams ¶
type DescribeDNSConfigRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDNSConfigResponse ¶
type DescribeDNSConfigResponse struct { *tchttp.BaseResponse Response *DescribeDNSConfigResponseParams `json:"Response"` }
func NewDescribeDNSConfigResponse ¶
func NewDescribeDNSConfigResponse() (response *DescribeDNSConfigResponse)
func (*DescribeDNSConfigResponse) FromJsonString ¶
func (r *DescribeDNSConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDNSConfigResponse) ToJsonString ¶
func (r *DescribeDNSConfigResponse) ToJsonString() string
type DescribeDNSConfigResponseParams ¶
type DescribeDNSConfigResponseParams struct { // Array of DNS servers NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExporterIntegrationsRequest ¶
type DescribeExporterIntegrationsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Name Name *string `json:"Name,omitempty" name:"Name"` }
func NewDescribeExporterIntegrationsRequest ¶
func NewDescribeExporterIntegrationsRequest() (request *DescribeExporterIntegrationsRequest)
func (*DescribeExporterIntegrationsRequest) FromJsonString ¶
func (r *DescribeExporterIntegrationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExporterIntegrationsRequest) ToJsonString ¶
func (r *DescribeExporterIntegrationsRequest) ToJsonString() string
type DescribeExporterIntegrationsRequestParams ¶
type DescribeExporterIntegrationsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type DescribeExporterIntegrationsResponse ¶
type DescribeExporterIntegrationsResponse struct { *tchttp.BaseResponse Response *DescribeExporterIntegrationsResponseParams `json:"Response"` }
func NewDescribeExporterIntegrationsResponse ¶
func NewDescribeExporterIntegrationsResponse() (response *DescribeExporterIntegrationsResponse)
func (*DescribeExporterIntegrationsResponse) FromJsonString ¶
func (r *DescribeExporterIntegrationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExporterIntegrationsResponse) ToJsonString ¶
func (r *DescribeExporterIntegrationsResponse) ToJsonString() string
type DescribeExporterIntegrationsResponseParams ¶
type DescribeExporterIntegrationsResponseParams struct { // List of integration configurations IntegrationSet []*IntegrationConfiguration `json:"IntegrationSet,omitempty" name:"IntegrationSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaChannelsRequest ¶
type DescribeGrafanaChannelsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of items to be queried Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Channel ID. ChannelIds []*string `json:"ChannelIds,omitempty" name:"ChannelIds"` // Channel status ChannelState *int64 `json:"ChannelState,omitempty" name:"ChannelState"` }
func NewDescribeGrafanaChannelsRequest ¶
func NewDescribeGrafanaChannelsRequest() (request *DescribeGrafanaChannelsRequest)
func (*DescribeGrafanaChannelsRequest) FromJsonString ¶
func (r *DescribeGrafanaChannelsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaChannelsRequest) ToJsonString ¶
func (r *DescribeGrafanaChannelsRequest) ToJsonString() string
type DescribeGrafanaChannelsRequestParams ¶
type DescribeGrafanaChannelsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of items to be queried Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Channel ID. ChannelIds []*string `json:"ChannelIds,omitempty" name:"ChannelIds"` // Channel status ChannelState *int64 `json:"ChannelState,omitempty" name:"ChannelState"` }
Predefined struct for user
type DescribeGrafanaChannelsResponse ¶
type DescribeGrafanaChannelsResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaChannelsResponseParams `json:"Response"` }
func NewDescribeGrafanaChannelsResponse ¶
func NewDescribeGrafanaChannelsResponse() (response *DescribeGrafanaChannelsResponse)
func (*DescribeGrafanaChannelsResponse) FromJsonString ¶
func (r *DescribeGrafanaChannelsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaChannelsResponse) ToJsonString ¶
func (r *DescribeGrafanaChannelsResponse) ToJsonString() string
type DescribeGrafanaChannelsResponseParams ¶
type DescribeGrafanaChannelsResponseParams struct { // Array of alert channels NotificationChannelSet []*GrafanaChannel `json:"NotificationChannelSet,omitempty" name:"NotificationChannelSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaConfigRequest ¶
type DescribeGrafanaConfigRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeGrafanaConfigRequest ¶
func NewDescribeGrafanaConfigRequest() (request *DescribeGrafanaConfigRequest)
func (*DescribeGrafanaConfigRequest) FromJsonString ¶
func (r *DescribeGrafanaConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaConfigRequest) ToJsonString ¶
func (r *DescribeGrafanaConfigRequest) ToJsonString() string
type DescribeGrafanaConfigRequestParams ¶
type DescribeGrafanaConfigRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeGrafanaConfigResponse ¶
type DescribeGrafanaConfigResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaConfigResponseParams `json:"Response"` }
func NewDescribeGrafanaConfigResponse ¶
func NewDescribeGrafanaConfigResponse() (response *DescribeGrafanaConfigResponse)
func (*DescribeGrafanaConfigResponse) FromJsonString ¶
func (r *DescribeGrafanaConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaConfigResponse) ToJsonString ¶
func (r *DescribeGrafanaConfigResponse) ToJsonString() string
type DescribeGrafanaConfigResponseParams ¶
type DescribeGrafanaConfigResponseParams struct { // JSON-encoded string Config *string `json:"Config,omitempty" name:"Config"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaEnvironmentsRequest ¶
type DescribeGrafanaEnvironmentsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeGrafanaEnvironmentsRequest ¶
func NewDescribeGrafanaEnvironmentsRequest() (request *DescribeGrafanaEnvironmentsRequest)
func (*DescribeGrafanaEnvironmentsRequest) FromJsonString ¶
func (r *DescribeGrafanaEnvironmentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaEnvironmentsRequest) ToJsonString ¶
func (r *DescribeGrafanaEnvironmentsRequest) ToJsonString() string
type DescribeGrafanaEnvironmentsRequestParams ¶
type DescribeGrafanaEnvironmentsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeGrafanaEnvironmentsResponse ¶
type DescribeGrafanaEnvironmentsResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaEnvironmentsResponseParams `json:"Response"` }
func NewDescribeGrafanaEnvironmentsResponse ¶
func NewDescribeGrafanaEnvironmentsResponse() (response *DescribeGrafanaEnvironmentsResponse)
func (*DescribeGrafanaEnvironmentsResponse) FromJsonString ¶
func (r *DescribeGrafanaEnvironmentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaEnvironmentsResponse) ToJsonString ¶
func (r *DescribeGrafanaEnvironmentsResponse) ToJsonString() string
type DescribeGrafanaEnvironmentsResponseParams ¶
type DescribeGrafanaEnvironmentsResponseParams struct { // Environment variable string Envs *string `json:"Envs,omitempty" name:"Envs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaInstancesRequest ¶
type DescribeGrafanaInstancesRequest struct { *tchttp.BaseRequest // Offset for query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of items to be queried Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Array of instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Instance name, which supports fuzzy search by prefix. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Query status InstanceStatus []*int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Array of tag filters TagFilters []*PrometheusTag `json:"TagFilters,omitempty" name:"TagFilters"` }
func NewDescribeGrafanaInstancesRequest ¶
func NewDescribeGrafanaInstancesRequest() (request *DescribeGrafanaInstancesRequest)
func (*DescribeGrafanaInstancesRequest) FromJsonString ¶
func (r *DescribeGrafanaInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaInstancesRequest) ToJsonString ¶
func (r *DescribeGrafanaInstancesRequest) ToJsonString() string
type DescribeGrafanaInstancesRequestParams ¶
type DescribeGrafanaInstancesRequestParams struct { // Offset for query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of items to be queried Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Array of instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Instance name, which supports fuzzy search by prefix. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Query status InstanceStatus []*int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Array of tag filters TagFilters []*PrometheusTag `json:"TagFilters,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeGrafanaInstancesResponse ¶
type DescribeGrafanaInstancesResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaInstancesResponseParams `json:"Response"` }
func NewDescribeGrafanaInstancesResponse ¶
func NewDescribeGrafanaInstancesResponse() (response *DescribeGrafanaInstancesResponse)
func (*DescribeGrafanaInstancesResponse) FromJsonString ¶
func (r *DescribeGrafanaInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaInstancesResponse) ToJsonString ¶
func (r *DescribeGrafanaInstancesResponse) ToJsonString() string
type DescribeGrafanaInstancesResponseParams ¶
type DescribeGrafanaInstancesResponseParams struct { // This parameter has been disused. Use `Instances` instead. InstanceSet []*GrafanaInstanceInfo `json:"InstanceSet,omitempty" name:"InstanceSet"` // Number of eligible instances TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of instances Instances []*GrafanaInstanceInfo `json:"Instances,omitempty" name:"Instances"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaIntegrationsRequest ¶
type DescribeGrafanaIntegrationsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` }
func NewDescribeGrafanaIntegrationsRequest ¶
func NewDescribeGrafanaIntegrationsRequest() (request *DescribeGrafanaIntegrationsRequest)
func (*DescribeGrafanaIntegrationsRequest) FromJsonString ¶
func (r *DescribeGrafanaIntegrationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaIntegrationsRequest) ToJsonString ¶
func (r *DescribeGrafanaIntegrationsRequest) ToJsonString() string
type DescribeGrafanaIntegrationsRequestParams ¶
type DescribeGrafanaIntegrationsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` }
Predefined struct for user
type DescribeGrafanaIntegrationsResponse ¶
type DescribeGrafanaIntegrationsResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaIntegrationsResponseParams `json:"Response"` }
func NewDescribeGrafanaIntegrationsResponse ¶
func NewDescribeGrafanaIntegrationsResponse() (response *DescribeGrafanaIntegrationsResponse)
func (*DescribeGrafanaIntegrationsResponse) FromJsonString ¶
func (r *DescribeGrafanaIntegrationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaIntegrationsResponse) ToJsonString ¶
func (r *DescribeGrafanaIntegrationsResponse) ToJsonString() string
type DescribeGrafanaIntegrationsResponseParams ¶
type DescribeGrafanaIntegrationsResponseParams struct { // Array of integrations IntegrationSet []*GrafanaIntegrationConfig `json:"IntegrationSet,omitempty" name:"IntegrationSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaNotificationChannelsRequest ¶
type DescribeGrafanaNotificationChannelsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of items to be queried Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Channel ID ChannelIDs []*string `json:"ChannelIDs,omitempty" name:"ChannelIDs"` // Status ChannelState *int64 `json:"ChannelState,omitempty" name:"ChannelState"` }
func NewDescribeGrafanaNotificationChannelsRequest ¶
func NewDescribeGrafanaNotificationChannelsRequest() (request *DescribeGrafanaNotificationChannelsRequest)
func (*DescribeGrafanaNotificationChannelsRequest) FromJsonString ¶
func (r *DescribeGrafanaNotificationChannelsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaNotificationChannelsRequest) ToJsonString ¶
func (r *DescribeGrafanaNotificationChannelsRequest) ToJsonString() string
type DescribeGrafanaNotificationChannelsRequestParams ¶
type DescribeGrafanaNotificationChannelsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of items to be queried Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Channel ID ChannelIDs []*string `json:"ChannelIDs,omitempty" name:"ChannelIDs"` // Status ChannelState *int64 `json:"ChannelState,omitempty" name:"ChannelState"` }
Predefined struct for user
type DescribeGrafanaNotificationChannelsResponse ¶
type DescribeGrafanaNotificationChannelsResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaNotificationChannelsResponseParams `json:"Response"` }
func NewDescribeGrafanaNotificationChannelsResponse ¶
func NewDescribeGrafanaNotificationChannelsResponse() (response *DescribeGrafanaNotificationChannelsResponse)
func (*DescribeGrafanaNotificationChannelsResponse) FromJsonString ¶
func (r *DescribeGrafanaNotificationChannelsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaNotificationChannelsResponse) ToJsonString ¶
func (r *DescribeGrafanaNotificationChannelsResponse) ToJsonString() string
type DescribeGrafanaNotificationChannelsResponseParams ¶
type DescribeGrafanaNotificationChannelsResponseParams struct { // Array of notification channels NotificationChannelSet []*GrafanaNotificationChannel `json:"NotificationChannelSet,omitempty" name:"NotificationChannelSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGrafanaWhiteListRequest ¶
type DescribeGrafanaWhiteListRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeGrafanaWhiteListRequest ¶
func NewDescribeGrafanaWhiteListRequest() (request *DescribeGrafanaWhiteListRequest)
func (*DescribeGrafanaWhiteListRequest) FromJsonString ¶
func (r *DescribeGrafanaWhiteListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaWhiteListRequest) ToJsonString ¶
func (r *DescribeGrafanaWhiteListRequest) ToJsonString() string
type DescribeGrafanaWhiteListRequestParams ¶
type DescribeGrafanaWhiteListRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeGrafanaWhiteListResponse ¶
type DescribeGrafanaWhiteListResponse struct { *tchttp.BaseResponse Response *DescribeGrafanaWhiteListResponseParams `json:"Response"` }
func NewDescribeGrafanaWhiteListResponse ¶
func NewDescribeGrafanaWhiteListResponse() (response *DescribeGrafanaWhiteListResponse)
func (*DescribeGrafanaWhiteListResponse) FromJsonString ¶
func (r *DescribeGrafanaWhiteListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGrafanaWhiteListResponse) ToJsonString ¶
func (r *DescribeGrafanaWhiteListResponse) ToJsonString() string
type DescribeGrafanaWhiteListResponseParams ¶
type DescribeGrafanaWhiteListResponseParams struct { // Array WhiteList []*string `json:"WhiteList,omitempty" name:"WhiteList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstalledPluginsRequest ¶
type DescribeInstalledPluginsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by plugin ID PluginId *string `json:"PluginId,omitempty" name:"PluginId"` }
func NewDescribeInstalledPluginsRequest ¶
func NewDescribeInstalledPluginsRequest() (request *DescribeInstalledPluginsRequest)
func (*DescribeInstalledPluginsRequest) FromJsonString ¶
func (r *DescribeInstalledPluginsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstalledPluginsRequest) ToJsonString ¶
func (r *DescribeInstalledPluginsRequest) ToJsonString() string
type DescribeInstalledPluginsRequestParams ¶
type DescribeInstalledPluginsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by plugin ID PluginId *string `json:"PluginId,omitempty" name:"PluginId"` }
Predefined struct for user
type DescribeInstalledPluginsResponse ¶
type DescribeInstalledPluginsResponse struct { *tchttp.BaseResponse Response *DescribeInstalledPluginsResponseParams `json:"Response"` }
func NewDescribeInstalledPluginsResponse ¶
func NewDescribeInstalledPluginsResponse() (response *DescribeInstalledPluginsResponse)
func (*DescribeInstalledPluginsResponse) FromJsonString ¶
func (r *DescribeInstalledPluginsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstalledPluginsResponse) ToJsonString ¶
func (r *DescribeInstalledPluginsResponse) ToJsonString() string
type DescribeInstalledPluginsResponseParams ¶
type DescribeInstalledPluginsResponseParams struct { // List of plugins PluginSet []*GrafanaPlugin `json:"PluginSet,omitempty" name:"PluginSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMonitorTypesRequest ¶
type DescribeMonitorTypesRequest struct { *tchttp.BaseRequest // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` }
func NewDescribeMonitorTypesRequest ¶
func NewDescribeMonitorTypesRequest() (request *DescribeMonitorTypesRequest)
func (*DescribeMonitorTypesRequest) FromJsonString ¶
func (r *DescribeMonitorTypesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMonitorTypesRequest) ToJsonString ¶
func (r *DescribeMonitorTypesRequest) ToJsonString() string
type DescribeMonitorTypesRequestParams ¶
type DescribeMonitorTypesRequestParams struct { // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` }
Predefined struct for user
type DescribeMonitorTypesResponse ¶
type DescribeMonitorTypesResponse struct { *tchttp.BaseResponse Response *DescribeMonitorTypesResponseParams `json:"Response"` }
func NewDescribeMonitorTypesResponse ¶
func NewDescribeMonitorTypesResponse() (response *DescribeMonitorTypesResponse)
func (*DescribeMonitorTypesResponse) FromJsonString ¶
func (r *DescribeMonitorTypesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMonitorTypesResponse) ToJsonString ¶
func (r *DescribeMonitorTypesResponse) ToJsonString() string
type DescribeMonitorTypesResponseParams ¶
type DescribeMonitorTypesResponseParams struct { // Monitor type. Valid values: MT_QCE (Tencent Cloud service monitoring) MonitorTypes []*string `json:"MonitorTypes,omitempty" name:"MonitorTypes"` // Monitoring type details MonitorTypeInfos []*MonitorTypeInfo `json:"MonitorTypeInfos,omitempty" name:"MonitorTypeInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePolicyConditionListCondition ¶
type DescribePolicyConditionListCondition struct { // Policy view name. PolicyViewName *string `json:"PolicyViewName,omitempty" name:"PolicyViewName"` // Event alarm conditions. // Note: This field may return null, indicating that no valid value was found. EventMetrics []*DescribePolicyConditionListEventMetric `json:"EventMetrics,omitempty" name:"EventMetrics"` // Whether to support multiple regions. IsSupportMultiRegion *bool `json:"IsSupportMultiRegion,omitempty" name:"IsSupportMultiRegion"` // Metric alarm conditions. // Note: This field may return null, indicating that no valid value was found. Metrics []*DescribePolicyConditionListMetric `json:"Metrics,omitempty" name:"Metrics"` // Policy type name. Name *string `json:"Name,omitempty" name:"Name"` // Sorting ID. SortId *int64 `json:"SortId,omitempty" name:"SortId"` // Whether to support default policies. SupportDefault *bool `json:"SupportDefault,omitempty" name:"SupportDefault"` // List of regions that support this policy type. // Note: This field may return null, indicating that no valid value was found. SupportRegions []*string `json:"SupportRegions,omitempty" name:"SupportRegions"` }
type DescribePolicyConditionListConfigManual ¶
type DescribePolicyConditionListConfigManual struct { // Check method. // Note: This field may return null, indicating that no valid value was found. CalcType *DescribePolicyConditionListConfigManualCalcType `json:"CalcType,omitempty" name:"CalcType"` // Threshold. // Note: This field may return null, indicating that no valid value was found. CalcValue *DescribePolicyConditionListConfigManualCalcValue `json:"CalcValue,omitempty" name:"CalcValue"` // Duration. // Note: This field may return null, indicating that no valid value was found. ContinueTime *DescribePolicyConditionListConfigManualContinueTime `json:"ContinueTime,omitempty" name:"ContinueTime"` // Data period. // Note: This field may return null, indicating that no valid value was found. Period *DescribePolicyConditionListConfigManualPeriod `json:"Period,omitempty" name:"Period"` // Number of periods. // Note: This field may return null, indicating that no valid value was found. PeriodNum *DescribePolicyConditionListConfigManualPeriodNum `json:"PeriodNum,omitempty" name:"PeriodNum"` // Statistics method. // Note: This field may return null, indicating that no valid value was found. StatType *DescribePolicyConditionListConfigManualStatType `json:"StatType,omitempty" name:"StatType"` }
type DescribePolicyConditionListConfigManualCalcValue ¶
type DescribePolicyConditionListConfigManualCalcValue struct { // Default value. // Note: This field may return null, indicating that no valid value was found. Default *string `json:"Default,omitempty" name:"Default"` // Fixed value. // Note: This field may return null, indicating that no valid value was found. Fixed *string `json:"Fixed,omitempty" name:"Fixed"` // Maximum value. // Note: This field may return null, indicating that no valid value was found. Max *string `json:"Max,omitempty" name:"Max"` // Minimum value. // Note: This field may return null, indicating that no valid value was found. Min *string `json:"Min,omitempty" name:"Min"` // Required or not. Need *bool `json:"Need,omitempty" name:"Need"` }
type DescribePolicyConditionListConfigManualContinueTime ¶
type DescribePolicyConditionListConfigManualContinueTime struct { // Default duration in seconds. // Note: This field may return null, indicating that no valid value was found. Default *int64 `json:"Default,omitempty" name:"Default"` // Custom durations in seconds. // Note: This field may return null, indicating that no valid value was found. Keys []*int64 `json:"Keys,omitempty" name:"Keys"` // Required or not. Need *bool `json:"Need,omitempty" name:"Need"` }
type DescribePolicyConditionListConfigManualPeriod ¶
type DescribePolicyConditionListConfigManualPeriod struct { // Default period in seconds. // Note: This field may return null, indicating that no valid value was found. Default *int64 `json:"Default,omitempty" name:"Default"` // Custom periods in seconds. // Note: This field may return null, indicating that no valid value was found. Keys []*int64 `json:"Keys,omitempty" name:"Keys"` // Required or not. Need *bool `json:"Need,omitempty" name:"Need"` }
type DescribePolicyConditionListConfigManualPeriodNum ¶
type DescribePolicyConditionListConfigManualPeriodNum struct { // Number of default periods. // Note: This field may return null, indicating that no valid value was found. Default *int64 `json:"Default,omitempty" name:"Default"` // Number of custom periods. // Note: This field may return null, indicating that no valid value was found. Keys []*int64 `json:"Keys,omitempty" name:"Keys"` // Required or not. Need *bool `json:"Need,omitempty" name:"Need"` }
type DescribePolicyConditionListConfigManualStatType ¶
type DescribePolicyConditionListConfigManualStatType struct { // Data aggregation method in a period of 5 seconds. // Note: This field may return null, indicating that no valid value was found. P5 *string `json:"P5,omitempty" name:"P5"` // Data aggregation method in a period of 10 seconds. // Note: This field may return null, indicating that no valid value was found. P10 *string `json:"P10,omitempty" name:"P10"` // Data aggregation method in a period of 1 minute. // Note: This field may return null, indicating that no valid value was found. P60 *string `json:"P60,omitempty" name:"P60"` // Data aggregation method in a period of 5 minutes. // Note: This field may return null, indicating that no valid value was found. P300 *string `json:"P300,omitempty" name:"P300"` // Data aggregation method in a period of 10 minutes. // Note: This field may return null, indicating that no valid value was found. P600 *string `json:"P600,omitempty" name:"P600"` // Data aggregation method in a period of 30 minutes. // Note: This field may return null, indicating that no valid value was found. P1800 *string `json:"P1800,omitempty" name:"P1800"` // Data aggregation method in a period of 1 hour. // Note: This field may return null, indicating that no valid value was found. P3600 *string `json:"P3600,omitempty" name:"P3600"` // Data aggregation method in a period of 1 day. // Note: This field may return null, indicating that no valid value was found. P86400 *string `json:"P86400,omitempty" name:"P86400"` }
type DescribePolicyConditionListEventMetric ¶
type DescribePolicyConditionListEventMetric struct { // Event ID. EventId *int64 `json:"EventId,omitempty" name:"EventId"` // Event name. EventShowName *string `json:"EventShowName,omitempty" name:"EventShowName"` // Whether to recover. NeedRecovered *bool `json:"NeedRecovered,omitempty" name:"NeedRecovered"` // Event type, which is a reserved field. Currently, it is fixed to 2. Type *int64 `json:"Type,omitempty" name:"Type"` }
type DescribePolicyConditionListMetric ¶
type DescribePolicyConditionListMetric struct { // Metric configuration. // Note: This field may return null, indicating that no valid value was found. ConfigManual *DescribePolicyConditionListConfigManual `json:"ConfigManual,omitempty" name:"ConfigManual"` // Metric ID. MetricId *int64 `json:"MetricId,omitempty" name:"MetricId"` // Metric name. MetricShowName *string `json:"MetricShowName,omitempty" name:"MetricShowName"` // Metric unit. MetricUnit *string `json:"MetricUnit,omitempty" name:"MetricUnit"` }
type DescribePolicyConditionListRequest ¶
type DescribePolicyConditionListRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` }
func NewDescribePolicyConditionListRequest ¶
func NewDescribePolicyConditionListRequest() (request *DescribePolicyConditionListRequest)
func (*DescribePolicyConditionListRequest) FromJsonString ¶
func (r *DescribePolicyConditionListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyConditionListRequest) ToJsonString ¶
func (r *DescribePolicyConditionListRequest) ToJsonString() string
type DescribePolicyConditionListRequestParams ¶
type DescribePolicyConditionListRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` }
Predefined struct for user
type DescribePolicyConditionListResponse ¶
type DescribePolicyConditionListResponse struct { *tchttp.BaseResponse Response *DescribePolicyConditionListResponseParams `json:"Response"` }
func NewDescribePolicyConditionListResponse ¶
func NewDescribePolicyConditionListResponse() (response *DescribePolicyConditionListResponse)
func (*DescribePolicyConditionListResponse) FromJsonString ¶
func (r *DescribePolicyConditionListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyConditionListResponse) ToJsonString ¶
func (r *DescribePolicyConditionListResponse) ToJsonString() string
type DescribePolicyConditionListResponseParams ¶
type DescribePolicyConditionListResponseParams struct { // List of alarm policy conditions. Conditions []*DescribePolicyConditionListCondition `json:"Conditions,omitempty" name:"Conditions"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePolicyGroupInfoCallback ¶
type DescribePolicyGroupInfoCallback struct { // URL of the user callback API. CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"` // Status of the user callback API. The value 0 indicates that the API is not verified. The value 1 indicates that the API is verified. The value 2 indicates that a URL exists but the API fails to be verified. ValidFlag *int64 `json:"ValidFlag,omitempty" name:"ValidFlag"` // Verification code of the user callback API. VerifyCode *string `json:"VerifyCode,omitempty" name:"VerifyCode"` }
type DescribePolicyGroupInfoCondition ¶
type DescribePolicyGroupInfoCondition struct { // Metric name. MetricShowName *string `json:"MetricShowName,omitempty" name:"MetricShowName"` // Data aggregation period in seconds. Period *int64 `json:"Period,omitempty" name:"Period"` // Metric ID. MetricId *int64 `json:"MetricId,omitempty" name:"MetricId"` // Threshold rule ID. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Metric unit. Unit *string `json:"Unit,omitempty" name:"Unit"` // Alarm sending and converging type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Alarm sending period in seconds. If the value is less than 0, no alarm will be triggered. If the value is 0, an alarm will be triggered only once. If the value is greater than 0, an alarm will be triggered at the interval of `triggerTime`. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Comparative type. The value 1 indicates greater than. The value 2 indicates greater than or equal to. The value 3 indicates smaller than. The value 4 indicates smaller than or equal to. The value 5 indicates equal to. The value 6 indicates not equal to. The value 7 indicates day-on-day increase. The value 8 indicates day-on-day decrease. The value 9 indicates week-on-week increase. The value 10 indicates week-on-week decrease. The value 11 indicates periodical increase. The value 12 indicates periodical decrease. CalcType *int64 `json:"CalcType,omitempty" name:"CalcType"` // Threshold. CalcValue *string `json:"CalcValue,omitempty" name:"CalcValue"` // Duration at which an alarm will be triggered in seconds. ContinueTime *int64 `json:"ContinueTime,omitempty" name:"ContinueTime"` // Alarm metric name. MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
type DescribePolicyGroupInfoConditionTpl ¶
type DescribePolicyGroupInfoConditionTpl struct { // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Policy type. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Policy group remarks. Remark *string `json:"Remark,omitempty" name:"Remark"` // Uin that was last edited. LastEditUin *string `json:"LastEditUin,omitempty" name:"LastEditUin"` // Update time. // Note: This field may return null, indicating that no valid value was found. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time. // Note: This field may return null, indicating that no valid value was found. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Whether the 'AND' rule is used. // Note: This field may return null, indicating that no valid value was found. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` }
type DescribePolicyGroupInfoEventCondition ¶
type DescribePolicyGroupInfoEventCondition struct { // Event ID. EventId *int64 `json:"EventId,omitempty" name:"EventId"` // Event alarm rule ID. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Event name. EventShowName *string `json:"EventShowName,omitempty" name:"EventShowName"` // Alarm sending period in seconds. The value <0 indicates that no alarm will be triggered. The value 0 indicates that an alarm is triggered only once. The value >0 indicates that an alarm is triggered at the interval of triggerTime. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Alarm sending and converging type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` }
type DescribePolicyGroupInfoReceiverInfo ¶
type DescribePolicyGroupInfoReceiverInfo struct { // List of alarm recipient group IDs. ReceiverGroupList []*int64 `json:"ReceiverGroupList,omitempty" name:"ReceiverGroupList"` // List of alarm recipient IDs. ReceiverUserList []*int64 `json:"ReceiverUserList,omitempty" name:"ReceiverUserList"` // Start time of the alarm period. Value range: [0,86400). Convert the Unix timestamp to Beijing time and then remove the date. For example, 7200 indicates “10:0:0”. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time of the alarm period. The meaning is the same as that of StartTime. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Recipient type. Valid values: group and user. ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Alarm notification method. Valid values: "SMS", "SITE", "EMAIL", "CALL", and "WECHAT". NotifyWay []*string `json:"NotifyWay,omitempty" name:"NotifyWay"` // Uid of the alarm call recipient. // Note: This field may return null, indicating that no valid value was found. UidList []*int64 `json:"UidList,omitempty" name:"UidList"` // Number of alarm call rounds. RoundNumber *int64 `json:"RoundNumber,omitempty" name:"RoundNumber"` // Intervals of alarm call rounds in seconds. RoundInterval *int64 `json:"RoundInterval,omitempty" name:"RoundInterval"` // Alarm call intervals for individuals in seconds. PersonInterval *int64 `json:"PersonInterval,omitempty" name:"PersonInterval"` // Whether to send an alarm call delivery notice. The value 0 indicates that no notice needs to be sent. The value 1 indicates that a notice needs to be sent. NeedSendNotice *int64 `json:"NeedSendNotice,omitempty" name:"NeedSendNotice"` // Alarm call notification time. Valid values: OCCUR (indicating that a notice is sent when the alarm is triggered) and RECOVER (indicating that a notice is sent when the alarm is recovered). SendFor []*string `json:"SendFor,omitempty" name:"SendFor"` // Notification method when an alarm is recovered. Valid value: SMS. RecoverNotify []*string `json:"RecoverNotify,omitempty" name:"RecoverNotify"` // Alarm language. // Note: This field may return null, indicating that no valid value was found. ReceiveLanguage *string `json:"ReceiveLanguage,omitempty" name:"ReceiveLanguage"` }
type DescribePolicyGroupInfoRequest ¶
type DescribePolicyGroupInfoRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` }
func NewDescribePolicyGroupInfoRequest ¶
func NewDescribePolicyGroupInfoRequest() (request *DescribePolicyGroupInfoRequest)
func (*DescribePolicyGroupInfoRequest) FromJsonString ¶
func (r *DescribePolicyGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyGroupInfoRequest) ToJsonString ¶
func (r *DescribePolicyGroupInfoRequest) ToJsonString() string
type DescribePolicyGroupInfoRequestParams ¶
type DescribePolicyGroupInfoRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribePolicyGroupInfoResponse ¶
type DescribePolicyGroupInfoResponse struct { *tchttp.BaseResponse Response *DescribePolicyGroupInfoResponseParams `json:"Response"` }
func NewDescribePolicyGroupInfoResponse ¶
func NewDescribePolicyGroupInfoResponse() (response *DescribePolicyGroupInfoResponse)
func (*DescribePolicyGroupInfoResponse) FromJsonString ¶
func (r *DescribePolicyGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyGroupInfoResponse) ToJsonString ¶
func (r *DescribePolicyGroupInfoResponse) ToJsonString() string
type DescribePolicyGroupInfoResponseParams ¶
type DescribePolicyGroupInfoResponseParams struct { // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // ID of the project to which the policy group belongs. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Whether it is the default policy. The value 0 indicates that it is not the default policy. The value 1 indicates that it is the default policy. IsDefault *int64 `json:"IsDefault,omitempty" name:"IsDefault"` // Policy type. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Policy description Remark *string `json:"Remark,omitempty" name:"Remark"` // Policy type name. ShowName *string `json:"ShowName,omitempty" name:"ShowName"` // Uin that was last edited. LastEditUin *string `json:"LastEditUin,omitempty" name:"LastEditUin"` // Last edited time. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Regions supported by this policy. Region []*string `json:"Region,omitempty" name:"Region"` // List of policy type dimensions. DimensionGroup []*string `json:"DimensionGroup,omitempty" name:"DimensionGroup"` // Threshold rule list. // Note: This field may return null, indicating that no valid value was found. ConditionsConfig []*DescribePolicyGroupInfoCondition `json:"ConditionsConfig,omitempty" name:"ConditionsConfig"` // Product event rule list. // Note: This field may return null, indicating that no valid value was found. EventConfig []*DescribePolicyGroupInfoEventCondition `json:"EventConfig,omitempty" name:"EventConfig"` // Recipient list. // Note: This field may return null, indicating that no valid value was found. ReceiverInfos []*DescribePolicyGroupInfoReceiverInfo `json:"ReceiverInfos,omitempty" name:"ReceiverInfos"` // User callback information. // Note: This field may return null, indicating that no valid value was found. Callback *DescribePolicyGroupInfoCallback `json:"Callback,omitempty" name:"Callback"` // Template-based policy group. // Note: This field may return null, indicating that no valid value was found. ConditionsTemp *DescribePolicyGroupInfoConditionTpl `json:"ConditionsTemp,omitempty" name:"ConditionsTemp"` // Whether the policy can be configured as the default policy. CanSetDefault *bool `json:"CanSetDefault,omitempty" name:"CanSetDefault"` // Whether the 'AND' rule is used. // Note: This field may return null, indicating that no valid value was found. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePolicyGroupListGroup ¶
type DescribePolicyGroupListGroup struct { // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Whether it is enabled. IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"` // Policy view name. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Uin that was last edited. LastEditUin *string `json:"LastEditUin,omitempty" name:"LastEditUin"` // Last modified time. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Number of instances that are bound to the policy group. UseSum *int64 `json:"UseSum,omitempty" name:"UseSum"` // Number of unshielded instances that are bound to the policy group. NoShieldedSum *int64 `json:"NoShieldedSum,omitempty" name:"NoShieldedSum"` // Whether it is the default policy. The value 0 indicates that it is not the default policy. The value 1 indicates that it is the default policy. IsDefault *int64 `json:"IsDefault,omitempty" name:"IsDefault"` // Whether the policy can be configured as the default policy. CanSetDefault *bool `json:"CanSetDefault,omitempty" name:"CanSetDefault"` // Parent policy group ID. ParentGroupId *int64 `json:"ParentGroupId,omitempty" name:"ParentGroupId"` // Remarks of the policy group. Remark *string `json:"Remark,omitempty" name:"Remark"` // ID of the project to which the policy group belongs. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Threshold rule list. // Note: This field may return null, indicating that no valid value was found. Conditions []*DescribePolicyGroupInfoCondition `json:"Conditions,omitempty" name:"Conditions"` // Product event rule list. // Note: This field may return null, indicating that no valid value was found. EventConditions []*DescribePolicyGroupInfoEventCondition `json:"EventConditions,omitempty" name:"EventConditions"` // Recipient list. // Note: This field may return null, indicating that no valid value was found. ReceiverInfos []*DescribePolicyGroupInfoReceiverInfo `json:"ReceiverInfos,omitempty" name:"ReceiverInfos"` // Template-based policy group. // Note: This field may return null, indicating that no valid value was found. ConditionsTemp *DescribePolicyGroupInfoConditionTpl `json:"ConditionsTemp,omitempty" name:"ConditionsTemp"` // Instance group that is bound to the policy group. // Note: This field may return null, indicating that no valid value was found. InstanceGroup *DescribePolicyGroupListGroupInstanceGroup `json:"InstanceGroup,omitempty" name:"InstanceGroup"` // The 'AND' or 'OR' rule. The value 0 indicates the 'OR' rule (indicating that an alarm will be triggered if any rule meets the threshold condition). The value 1 indicates the 'AND' rule (indicating that an alarm will be triggered when all rules meet the threshold conditions). // Note: This field may return null, indicating that no valid value was found. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` }
type DescribePolicyGroupListGroupInstanceGroup ¶
type DescribePolicyGroupListGroupInstanceGroup struct { // Instance group name ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Policy type view name. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Uin that was last edited. LastEditUin *string `json:"LastEditUin,omitempty" name:"LastEditUin"` // Instance group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Number of instances. InstanceSum *int64 `json:"InstanceSum,omitempty" name:"InstanceSum"` // Update time. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // Creation time. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` }
type DescribePolicyGroupListRequest ¶
type DescribePolicyGroupListRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Number of parameters that can be returned on each page. Value range: 1 - 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Parameter offset on each page. The value starts from 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Search by policy name. Like *string `json:"Like,omitempty" name:"Like"` // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Sort by update time. Valid values: asc and desc. UpdateTimeOrder *string `json:"UpdateTimeOrder,omitempty" name:"UpdateTimeOrder"` // Project ID list. ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // List of alarm policy types. ViewNames []*string `json:"ViewNames,omitempty" name:"ViewNames"` // Whether to filter policy groups without recipients. The value 1 indicates that policy groups without recipients will be filtered. The value 0 indicates that policy groups without recipients will not be filtered. FilterUnuseReceiver *int64 `json:"FilterUnuseReceiver,omitempty" name:"FilterUnuseReceiver"` // Filter by recipient group. Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Filter by recipient. ReceiverUserList []*string `json:"ReceiverUserList,omitempty" name:"ReceiverUserList"` // Dimension set field (json string), for example, [[{"name":"unInstanceId","value":"ins-6e4b2aaa"}]]. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Template-based policy group IDs, which are separated by commas. ConditionTempGroupId *string `json:"ConditionTempGroupId,omitempty" name:"ConditionTempGroupId"` // Filter by recipient or recipient group. The value 'user' indicates by recipient. The value 'group' indicates by recipient group. ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Filter conditions. Whether the alarm policy has been enabled or disabled IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"` }
func NewDescribePolicyGroupListRequest ¶
func NewDescribePolicyGroupListRequest() (request *DescribePolicyGroupListRequest)
func (*DescribePolicyGroupListRequest) FromJsonString ¶
func (r *DescribePolicyGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyGroupListRequest) ToJsonString ¶
func (r *DescribePolicyGroupListRequest) ToJsonString() string
type DescribePolicyGroupListRequestParams ¶
type DescribePolicyGroupListRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Number of parameters that can be returned on each page. Value range: 1 - 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Parameter offset on each page. The value starts from 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Search by policy name. Like *string `json:"Like,omitempty" name:"Like"` // Instance group ID. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Sort by update time. Valid values: asc and desc. UpdateTimeOrder *string `json:"UpdateTimeOrder,omitempty" name:"UpdateTimeOrder"` // Project ID list. ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // List of alarm policy types. ViewNames []*string `json:"ViewNames,omitempty" name:"ViewNames"` // Whether to filter policy groups without recipients. The value 1 indicates that policy groups without recipients will be filtered. The value 0 indicates that policy groups without recipients will not be filtered. FilterUnuseReceiver *int64 `json:"FilterUnuseReceiver,omitempty" name:"FilterUnuseReceiver"` // Filter by recipient group. Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Filter by recipient. ReceiverUserList []*string `json:"ReceiverUserList,omitempty" name:"ReceiverUserList"` // Dimension set field (json string), for example, [[{"name":"unInstanceId","value":"ins-6e4b2aaa"}]]. Dimensions *string `json:"Dimensions,omitempty" name:"Dimensions"` // Template-based policy group IDs, which are separated by commas. ConditionTempGroupId *string `json:"ConditionTempGroupId,omitempty" name:"ConditionTempGroupId"` // Filter by recipient or recipient group. The value 'user' indicates by recipient. The value 'group' indicates by recipient group. ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Filter conditions. Whether the alarm policy has been enabled or disabled IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"` }
Predefined struct for user
type DescribePolicyGroupListResponse ¶
type DescribePolicyGroupListResponse struct { *tchttp.BaseResponse Response *DescribePolicyGroupListResponseParams `json:"Response"` }
func NewDescribePolicyGroupListResponse ¶
func NewDescribePolicyGroupListResponse() (response *DescribePolicyGroupListResponse)
func (*DescribePolicyGroupListResponse) FromJsonString ¶
func (r *DescribePolicyGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePolicyGroupListResponse) ToJsonString ¶
func (r *DescribePolicyGroupListResponse) ToJsonString() string
type DescribePolicyGroupListResponseParams ¶
type DescribePolicyGroupListResponseParams struct { // Policy group list. // Note: This field may return null, indicating that no valid value was found. GroupList []*DescribePolicyGroupListGroup `json:"GroupList,omitempty" name:"GroupList"` // Total number of policy groups. Total *int64 `json:"Total,omitempty" name:"Total"` // Remarks // Note: This field may return null, indicating that no valid values can be obtained. Warning *string `json:"Warning,omitempty" name:"Warning"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProductEventListEvents ¶
type DescribeProductEventListEvents struct { // Event ID. // Note: This field may return null, indicating that no valid value was found. EventId *int64 `json:"EventId,omitempty" name:"EventId"` // Event name in Chinese. // Note: This field may return null, indicating that no valid value was found. EventCName *string `json:"EventCName,omitempty" name:"EventCName"` // Event name in English. // Note: This field may return null, indicating that no valid value was found. EventEName *string `json:"EventEName,omitempty" name:"EventEName"` // Event name abbreviation. // Note: This field may return null, indicating that no valid value was found. EventName *string `json:"EventName,omitempty" name:"EventName"` // Product name in Chinese. // Note: This field may return null, indicating that no valid value was found. ProductCName *string `json:"ProductCName,omitempty" name:"ProductCName"` // Product name in English. // Note: This field may return null, indicating that no valid value was found. ProductEName *string `json:"ProductEName,omitempty" name:"ProductEName"` // Product name abbreviation. // Note: This field may return null, indicating that no valid value was found. ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // Instance ID. // Note: This field may return null, indicating that no valid value was found. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name. // Note: This field may return null, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Project ID. // Note: This field may return null, indicating that no valid value was found. ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // Region. // Note: This field may return null, indicating that no valid value was found. Region *string `json:"Region,omitempty" name:"Region"` // Status. // Note: This field may return null, indicating that no valid value was found. Status *string `json:"Status,omitempty" name:"Status"` // Whether to support alarms. // Note: This field may return null, indicating that no valid value was found. SupportAlarm *int64 `json:"SupportAlarm,omitempty" name:"SupportAlarm"` // Event type. // Note: This field may return null, indicating that no valid value was found. Type *string `json:"Type,omitempty" name:"Type"` // Start time. // Note: This field may return null, indicating that no valid value was found. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // Update time. // Note: This field may return null, indicating that no valid value was found. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // Instance object information. // Note: This field may return null, indicating that no valid value was found. Dimensions []*DescribeProductEventListEventsDimensions `json:"Dimensions,omitempty" name:"Dimensions"` // Additional information of the instance object. // Note: This field may return null, indicating that no valid value was found. AdditionMsg []*DescribeProductEventListEventsDimensions `json:"AdditionMsg,omitempty" name:"AdditionMsg"` // Whether to configure alarms. // Note: This field may return null, indicating that no valid value was found. IsAlarmConfig *int64 `json:"IsAlarmConfig,omitempty" name:"IsAlarmConfig"` // Policy information. // Note: This field may return null, indicating that no valid value was found. GroupInfo []*DescribeProductEventListEventsGroupInfo `json:"GroupInfo,omitempty" name:"GroupInfo"` // Display name // Note: This field may return `null`, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` }
type DescribeProductEventListEventsDimensions ¶
type DescribeProductEventListEventsDimensions struct { // Dimension name in English. // Note: This field may return null, indicating that no valid value was found. Key *string `json:"Key,omitempty" name:"Key"` // Dimension name in Chinese. // Note: This field may return null, indicating that no valid value was found. Name *string `json:"Name,omitempty" name:"Name"` // Dimension value. // Note: This field may return null, indicating that no valid value was found. Value *string `json:"Value,omitempty" name:"Value"` }
type DescribeProductEventListEventsGroupInfo ¶
type DescribeProductEventListEventsGroupInfo struct { // Policy ID. // Note: This field may return null, indicating that no valid value was found. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Policy name. // Note: This field may return null, indicating that no valid value was found. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
type DescribeProductEventListOverView ¶
type DescribeProductEventListOverView struct { // Number of events whose statuses have changed. // Note: This field may return null, indicating that no valid value was found. StatusChangeAmount *int64 `json:"StatusChangeAmount,omitempty" name:"StatusChangeAmount"` // Number of events whose alarm statuses are not configured. // Note: This field may return null, indicating that no valid value was found. UnConfigAlarmAmount *int64 `json:"UnConfigAlarmAmount,omitempty" name:"UnConfigAlarmAmount"` // Number of events with exceptions. // Note: This field may return null, indicating that no valid value was found. UnNormalEventAmount *int64 `json:"UnNormalEventAmount,omitempty" name:"UnNormalEventAmount"` // Number of events that have not been recovered. // Note: This field may return null, indicating that no valid value was found. UnRecoverAmount *int64 `json:"UnRecoverAmount,omitempty" name:"UnRecoverAmount"` }
type DescribeProductEventListRequest ¶
type DescribeProductEventListRequest struct { *tchttp.BaseRequest // API component name. It is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Filter by product type. For example, 'cvm' indicates Cloud Virtual Machine. ProductName []*string `json:"ProductName,omitempty" name:"ProductName"` // Filter by product name. For example, "guest_reboot" indicates server restart. EventName []*string `json:"EventName,omitempty" name:"EventName"` // Affected object, such as "ins-19708ino" InstanceId []*string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by dimension, such as by public IP: 10.0.0.1. Dimensions []*DescribeProductEventListDimensions `json:"Dimensions,omitempty" name:"Dimensions"` // Region filter parameter for service events. RegionList []*string `json:"RegionList,omitempty" name:"RegionList"` // Filter by event type. Valid values: ["status_change","abnormal"], which indicate events whose statuses have changed and events with exceptions respectively. Type []*string `json:"Type,omitempty" name:"Type"` // Filter by event status. Valid values: ["recover","alarm","-"], which indicate that an event has been recovered, has not been recovered, and has no status respectively. Status []*string `json:"Status,omitempty" name:"Status"` // Filter by project ID. Project []*string `json:"Project,omitempty" name:"Project"` // Filter by alarm status configuration. The value 1 indicates that the alarm status has been configured. The value 0 indicates that the alarm status has not been configured. IsAlarmConfig *int64 `json:"IsAlarmConfig,omitempty" name:"IsAlarmConfig"` // Sorting by update time. The value ASC indicates the ascending order. The value DESC indicates the descending order. The default value is DESC. TimeOrder *string `json:"TimeOrder,omitempty" name:"TimeOrder"` // Start time, which is the timestamp one day prior by default. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp by default. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Page offset. The default value is 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The number of parameters that can be returned on each page. The default value is 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeProductEventListRequest ¶
func NewDescribeProductEventListRequest() (request *DescribeProductEventListRequest)
func (*DescribeProductEventListRequest) FromJsonString ¶
func (r *DescribeProductEventListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductEventListRequest) ToJsonString ¶
func (r *DescribeProductEventListRequest) ToJsonString() string
type DescribeProductEventListRequestParams ¶
type DescribeProductEventListRequestParams struct { // API component name. It is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Filter by product type. For example, 'cvm' indicates Cloud Virtual Machine. ProductName []*string `json:"ProductName,omitempty" name:"ProductName"` // Filter by product name. For example, "guest_reboot" indicates server restart. EventName []*string `json:"EventName,omitempty" name:"EventName"` // Affected object, such as "ins-19708ino" InstanceId []*string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by dimension, such as by public IP: 10.0.0.1. Dimensions []*DescribeProductEventListDimensions `json:"Dimensions,omitempty" name:"Dimensions"` // Region filter parameter for service events. RegionList []*string `json:"RegionList,omitempty" name:"RegionList"` // Filter by event type. Valid values: ["status_change","abnormal"], which indicate events whose statuses have changed and events with exceptions respectively. Type []*string `json:"Type,omitempty" name:"Type"` // Filter by event status. Valid values: ["recover","alarm","-"], which indicate that an event has been recovered, has not been recovered, and has no status respectively. Status []*string `json:"Status,omitempty" name:"Status"` // Filter by project ID. Project []*string `json:"Project,omitempty" name:"Project"` // Filter by alarm status configuration. The value 1 indicates that the alarm status has been configured. The value 0 indicates that the alarm status has not been configured. IsAlarmConfig *int64 `json:"IsAlarmConfig,omitempty" name:"IsAlarmConfig"` // Sorting by update time. The value ASC indicates the ascending order. The value DESC indicates the descending order. The default value is DESC. TimeOrder *string `json:"TimeOrder,omitempty" name:"TimeOrder"` // Start time, which is the timestamp one day prior by default. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current timestamp by default. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Page offset. The default value is 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The number of parameters that can be returned on each page. The default value is 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeProductEventListResponse ¶
type DescribeProductEventListResponse struct { *tchttp.BaseResponse Response *DescribeProductEventListResponseParams `json:"Response"` }
func NewDescribeProductEventListResponse ¶
func NewDescribeProductEventListResponse() (response *DescribeProductEventListResponse)
func (*DescribeProductEventListResponse) FromJsonString ¶
func (r *DescribeProductEventListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProductEventListResponse) ToJsonString ¶
func (r *DescribeProductEventListResponse) ToJsonString() string
type DescribeProductEventListResponseParams ¶
type DescribeProductEventListResponseParams struct { // Event list // Note: This field may return null, indicating that no valid value was found. Events []*DescribeProductEventListEvents `json:"Events,omitempty" name:"Events"` // Event statistics. OverView *DescribeProductEventListOverView `json:"OverView,omitempty" name:"OverView"` // Total number of events. // Note: This field may return null, indicating that no valid value was found. Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePrometheusAgentsRequest ¶
type DescribePrometheusAgentsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent name Name *string `json:"Name,omitempty" name:"Name"` // List of agent IDs AgentIds []*string `json:"AgentIds,omitempty" name:"AgentIds"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribePrometheusAgentsRequest ¶
func NewDescribePrometheusAgentsRequest() (request *DescribePrometheusAgentsRequest)
func (*DescribePrometheusAgentsRequest) FromJsonString ¶
func (r *DescribePrometheusAgentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusAgentsRequest) ToJsonString ¶
func (r *DescribePrometheusAgentsRequest) ToJsonString() string
type DescribePrometheusAgentsRequestParams ¶
type DescribePrometheusAgentsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent name Name *string `json:"Name,omitempty" name:"Name"` // List of agent IDs AgentIds []*string `json:"AgentIds,omitempty" name:"AgentIds"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribePrometheusAgentsResponse ¶
type DescribePrometheusAgentsResponse struct { *tchttp.BaseResponse Response *DescribePrometheusAgentsResponseParams `json:"Response"` }
func NewDescribePrometheusAgentsResponse ¶
func NewDescribePrometheusAgentsResponse() (response *DescribePrometheusAgentsResponse)
func (*DescribePrometheusAgentsResponse) FromJsonString ¶
func (r *DescribePrometheusAgentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusAgentsResponse) ToJsonString ¶
func (r *DescribePrometheusAgentsResponse) ToJsonString() string
type DescribePrometheusAgentsResponseParams ¶
type DescribePrometheusAgentsResponseParams struct { // List of agents // Note: This field may return null, indicating that no valid values can be obtained. AgentSet []*PrometheusAgent `json:"AgentSet,omitempty" name:"AgentSet"` // Total number of agents TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePrometheusInstancesRequest ¶
type DescribePrometheusInstancesRequest struct { *tchttp.BaseRequest // Queries by instance ID or IDs. Instance ID is in the format of `prom-xxxxxxxx`. Up to 100 instances can be queried in one request. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Filter by instance status // <ul> // <li>1: Creating</li> // <li>2: Running</li> // <li>3: Abnormal</li> // <li>4: Rebooting</li> // <li>5: Terminating</li> // <li>6: Service suspended</li> // <li>8: Suspending service for overdue payment</li> // <li>9: Service suspended for overdue payment</li> // </ul> InstanceStatus []*int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Filter by instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Filter by AZ in the format of `ap-guangzhou-1` Zones []*string `json:"Zones,omitempty" name:"Zones"` // Filter by tag key-value pair. The `tag-key` should be replaced with a specific tag key. TagFilters []*PrometheusTag `json:"TagFilters,omitempty" name:"TagFilters"` // Filter by instance IPv4 address IPv4Address []*string `json:"IPv4Address,omitempty" name:"IPv4Address"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Filter by billing mode // <li>2: Monthly subscription</li> // <li>3: Pay-as-you-go</li> InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
func NewDescribePrometheusInstancesRequest ¶
func NewDescribePrometheusInstancesRequest() (request *DescribePrometheusInstancesRequest)
func (*DescribePrometheusInstancesRequest) FromJsonString ¶
func (r *DescribePrometheusInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusInstancesRequest) ToJsonString ¶
func (r *DescribePrometheusInstancesRequest) ToJsonString() string
type DescribePrometheusInstancesRequestParams ¶
type DescribePrometheusInstancesRequestParams struct { // Queries by instance ID or IDs. Instance ID is in the format of `prom-xxxxxxxx`. Up to 100 instances can be queried in one request. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Filter by instance status // <ul> // <li>1: Creating</li> // <li>2: Running</li> // <li>3: Abnormal</li> // <li>4: Rebooting</li> // <li>5: Terminating</li> // <li>6: Service suspended</li> // <li>8: Suspending service for overdue payment</li> // <li>9: Service suspended for overdue payment</li> // </ul> InstanceStatus []*int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Filter by instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Filter by AZ in the format of `ap-guangzhou-1` Zones []*string `json:"Zones,omitempty" name:"Zones"` // Filter by tag key-value pair. The `tag-key` should be replaced with a specific tag key. TagFilters []*PrometheusTag `json:"TagFilters,omitempty" name:"TagFilters"` // Filter by instance IPv4 address IPv4Address []*string `json:"IPv4Address,omitempty" name:"IPv4Address"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Filter by billing mode // <li>2: Monthly subscription</li> // <li>3: Pay-as-you-go</li> InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
Predefined struct for user
type DescribePrometheusInstancesResponse ¶
type DescribePrometheusInstancesResponse struct { *tchttp.BaseResponse Response *DescribePrometheusInstancesResponseParams `json:"Response"` }
func NewDescribePrometheusInstancesResponse ¶
func NewDescribePrometheusInstancesResponse() (response *DescribePrometheusInstancesResponse)
func (*DescribePrometheusInstancesResponse) FromJsonString ¶
func (r *DescribePrometheusInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusInstancesResponse) ToJsonString ¶
func (r *DescribePrometheusInstancesResponse) ToJsonString() string
type DescribePrometheusInstancesResponseParams ¶
type DescribePrometheusInstancesResponseParams struct { // List of instance details. // Note: This field may return null, indicating that no valid values can be obtained. InstanceSet []*PrometheusInstancesItem `json:"InstanceSet,omitempty" name:"InstanceSet"` // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePrometheusScrapeJobsRequest ¶
type DescribePrometheusScrapeJobsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Task name Name *string `json:"Name,omitempty" name:"Name"` // List of task IDs JobIds []*string `json:"JobIds,omitempty" name:"JobIds"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribePrometheusScrapeJobsRequest ¶
func NewDescribePrometheusScrapeJobsRequest() (request *DescribePrometheusScrapeJobsRequest)
func (*DescribePrometheusScrapeJobsRequest) FromJsonString ¶
func (r *DescribePrometheusScrapeJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusScrapeJobsRequest) ToJsonString ¶
func (r *DescribePrometheusScrapeJobsRequest) ToJsonString() string
type DescribePrometheusScrapeJobsRequestParams ¶
type DescribePrometheusScrapeJobsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Task name Name *string `json:"Name,omitempty" name:"Name"` // List of task IDs JobIds []*string `json:"JobIds,omitempty" name:"JobIds"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribePrometheusScrapeJobsResponse ¶
type DescribePrometheusScrapeJobsResponse struct { *tchttp.BaseResponse Response *DescribePrometheusScrapeJobsResponseParams `json:"Response"` }
func NewDescribePrometheusScrapeJobsResponse ¶
func NewDescribePrometheusScrapeJobsResponse() (response *DescribePrometheusScrapeJobsResponse)
func (*DescribePrometheusScrapeJobsResponse) FromJsonString ¶
func (r *DescribePrometheusScrapeJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusScrapeJobsResponse) ToJsonString ¶
func (r *DescribePrometheusScrapeJobsResponse) ToJsonString() string
type DescribePrometheusScrapeJobsResponseParams ¶
type DescribePrometheusScrapeJobsResponseParams struct { // List of tasks // Note: This field may return null, indicating that no valid values can be obtained. ScrapeJobSet []*PrometheusScrapeJob `json:"ScrapeJobSet,omitempty" name:"ScrapeJobSet"` // Total number of tasks TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordingRulesRequest ¶
type DescribeRecordingRulesRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule name Name *string `json:"Name,omitempty" name:"Name"` }
func NewDescribeRecordingRulesRequest ¶
func NewDescribeRecordingRulesRequest() (request *DescribeRecordingRulesRequest)
func (*DescribeRecordingRulesRequest) FromJsonString ¶
func (r *DescribeRecordingRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordingRulesRequest) ToJsonString ¶
func (r *DescribeRecordingRulesRequest) ToJsonString() string
type DescribeRecordingRulesRequestParams ¶
type DescribeRecordingRulesRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type DescribeRecordingRulesResponse ¶
type DescribeRecordingRulesResponse struct { *tchttp.BaseResponse Response *DescribeRecordingRulesResponseParams `json:"Response"` }
func NewDescribeRecordingRulesResponse ¶
func NewDescribeRecordingRulesResponse() (response *DescribeRecordingRulesResponse)
func (*DescribeRecordingRulesResponse) FromJsonString ¶
func (r *DescribeRecordingRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordingRulesResponse) ToJsonString ¶
func (r *DescribeRecordingRulesResponse) ToJsonString() string
type DescribeRecordingRulesResponseParams ¶
type DescribeRecordingRulesResponseParams struct { // Number of rule groups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Rule group details // Note: This field may return null, indicating that no valid values can be obtained. RecordingRuleSet []*RecordingRuleSet `json:"RecordingRuleSet,omitempty" name:"RecordingRuleSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSSOAccountRequest ¶
type DescribeSSOAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by account UIN UserId *string `json:"UserId,omitempty" name:"UserId"` }
func NewDescribeSSOAccountRequest ¶
func NewDescribeSSOAccountRequest() (request *DescribeSSOAccountRequest)
func (*DescribeSSOAccountRequest) FromJsonString ¶
func (r *DescribeSSOAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSSOAccountRequest) ToJsonString ¶
func (r *DescribeSSOAccountRequest) ToJsonString() string
type DescribeSSOAccountRequestParams ¶
type DescribeSSOAccountRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Filter by account UIN UserId *string `json:"UserId,omitempty" name:"UserId"` }
Predefined struct for user
type DescribeSSOAccountResponse ¶
type DescribeSSOAccountResponse struct { *tchttp.BaseResponse Response *DescribeSSOAccountResponseParams `json:"Response"` }
func NewDescribeSSOAccountResponse ¶
func NewDescribeSSOAccountResponse() (response *DescribeSSOAccountResponse)
func (*DescribeSSOAccountResponse) FromJsonString ¶
func (r *DescribeSSOAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSSOAccountResponse) ToJsonString ¶
func (r *DescribeSSOAccountResponse) ToJsonString() string
type DescribeSSOAccountResponseParams ¶
type DescribeSSOAccountResponseParams struct { // List of authorized accounts // Note: This field may return null, indicating that no valid values can be obtained. AccountSet []*GrafanaAccountInfo `json:"AccountSet,omitempty" name:"AccountSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServiceDiscoveryRequest ¶
type DescribeServiceDiscoveryRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // <li>TKE: ID of the integrated TKE cluster</li> KubeClusterId *string `json:"KubeClusterId,omitempty" name:"KubeClusterId"` // Kubernetes cluster type: // <li> 1 = TKE </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` }
func NewDescribeServiceDiscoveryRequest ¶
func NewDescribeServiceDiscoveryRequest() (request *DescribeServiceDiscoveryRequest)
func (*DescribeServiceDiscoveryRequest) FromJsonString ¶
func (r *DescribeServiceDiscoveryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceDiscoveryRequest) ToJsonString ¶
func (r *DescribeServiceDiscoveryRequest) ToJsonString() string
type DescribeServiceDiscoveryRequestParams ¶
type DescribeServiceDiscoveryRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // <li>TKE: ID of the integrated TKE cluster</li> KubeClusterId *string `json:"KubeClusterId,omitempty" name:"KubeClusterId"` // Kubernetes cluster type: // <li> 1 = TKE </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` }
Predefined struct for user
type DescribeServiceDiscoveryResponse ¶
type DescribeServiceDiscoveryResponse struct { *tchttp.BaseResponse Response *DescribeServiceDiscoveryResponseParams `json:"Response"` }
func NewDescribeServiceDiscoveryResponse ¶
func NewDescribeServiceDiscoveryResponse() (response *DescribeServiceDiscoveryResponse)
func (*DescribeServiceDiscoveryResponse) FromJsonString ¶
func (r *DescribeServiceDiscoveryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceDiscoveryResponse) ToJsonString ¶
func (r *DescribeServiceDiscoveryResponse) ToJsonString() string
type DescribeServiceDiscoveryResponseParams ¶
type DescribeServiceDiscoveryResponseParams struct { // List of returned scrape configurations // Note: This field may return null, indicating that no valid values can be obtained. ServiceDiscoverySet []*ServiceDiscoveryItem `json:"ServiceDiscoverySet,omitempty" name:"ServiceDiscoverySet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStatisticDataRequest ¶
type DescribeStatisticDataRequest struct { *tchttp.BaseRequest // Module, whose value is fixed at `monitor` Module *string `json:"Module,omitempty" name:"Module"` // Namespace. Valid values: QCE/TKE Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name list MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Dimension condition. The `=` and `in` operators are supported Conditions []*MidQueryCondition `json:"Conditions,omitempty" name:"Conditions"` // Statistical period in seconds. Default value: 300. Optional values: 60, 300, 3,600, and 86,400. // Due to the storage period limit, the statistical period is subject to the time range of statistics: // 60s: The time range is less than 12 hours, and the timespan between `StartTime` and the current time cannot exceed 15 days. // 300s: The time range is less than three days, and the timespan between `StartTime` and the current time cannot exceed 31 days. // 3,600s: The time range is less than 30 days, and the timespan between `StartTime` and the current time cannot exceed 93 days. // 86,400s: The time range is less than 186 days, and the timespan between `StartTime` and the current time cannot exceed 186 days. Period *uint64 `json:"Period,omitempty" name:"Period"` // Start time, which is the current time by default, such as 2020-12-08T19:51:23+08:00 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current time by default, such as 2020-12-08T19:51:23+08:00 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // `groupBy` by the specified dimension GroupBys []*string `json:"GroupBys,omitempty" name:"GroupBys"` }
func NewDescribeStatisticDataRequest ¶
func NewDescribeStatisticDataRequest() (request *DescribeStatisticDataRequest)
func (*DescribeStatisticDataRequest) FromJsonString ¶
func (r *DescribeStatisticDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStatisticDataRequest) ToJsonString ¶
func (r *DescribeStatisticDataRequest) ToJsonString() string
type DescribeStatisticDataRequestParams ¶
type DescribeStatisticDataRequestParams struct { // Module, whose value is fixed at `monitor` Module *string `json:"Module,omitempty" name:"Module"` // Namespace. Valid values: QCE/TKE Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name list MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Dimension condition. The `=` and `in` operators are supported Conditions []*MidQueryCondition `json:"Conditions,omitempty" name:"Conditions"` // Statistical period in seconds. Default value: 300. Optional values: 60, 300, 3,600, and 86,400. // Due to the storage period limit, the statistical period is subject to the time range of statistics: // 60s: The time range is less than 12 hours, and the timespan between `StartTime` and the current time cannot exceed 15 days. // 300s: The time range is less than three days, and the timespan between `StartTime` and the current time cannot exceed 31 days. // 3,600s: The time range is less than 30 days, and the timespan between `StartTime` and the current time cannot exceed 93 days. // 86,400s: The time range is less than 186 days, and the timespan between `StartTime` and the current time cannot exceed 186 days. Period *uint64 `json:"Period,omitempty" name:"Period"` // Start time, which is the current time by default, such as 2020-12-08T19:51:23+08:00 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current time by default, such as 2020-12-08T19:51:23+08:00 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // `groupBy` by the specified dimension GroupBys []*string `json:"GroupBys,omitempty" name:"GroupBys"` }
Predefined struct for user
type DescribeStatisticDataResponse ¶
type DescribeStatisticDataResponse struct { *tchttp.BaseResponse Response *DescribeStatisticDataResponseParams `json:"Response"` }
func NewDescribeStatisticDataResponse ¶
func NewDescribeStatisticDataResponse() (response *DescribeStatisticDataResponse)
func (*DescribeStatisticDataResponse) FromJsonString ¶
func (r *DescribeStatisticDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStatisticDataResponse) ToJsonString ¶
func (r *DescribeStatisticDataResponse) ToJsonString() string
type DescribeStatisticDataResponseParams ¶
type DescribeStatisticDataResponseParams struct { // Statistical period Period *uint64 `json:"Period,omitempty" name:"Period"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Monitoring data Data []*MetricData `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyPrometheusInstanceRequest ¶
type DestroyPrometheusInstanceRequest struct { *tchttp.BaseRequest // Instance ID. The instance must be terminated first. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDestroyPrometheusInstanceRequest ¶
func NewDestroyPrometheusInstanceRequest() (request *DestroyPrometheusInstanceRequest)
func (*DestroyPrometheusInstanceRequest) FromJsonString ¶
func (r *DestroyPrometheusInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyPrometheusInstanceRequest) ToJsonString ¶
func (r *DestroyPrometheusInstanceRequest) ToJsonString() string
type DestroyPrometheusInstanceRequestParams ¶
type DestroyPrometheusInstanceRequestParams struct { // Instance ID. The instance must be terminated first. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DestroyPrometheusInstanceResponse ¶
type DestroyPrometheusInstanceResponse struct { *tchttp.BaseResponse Response *DestroyPrometheusInstanceResponseParams `json:"Response"` }
func NewDestroyPrometheusInstanceResponse ¶
func NewDestroyPrometheusInstanceResponse() (response *DestroyPrometheusInstanceResponse)
func (*DestroyPrometheusInstanceResponse) FromJsonString ¶
func (r *DestroyPrometheusInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyPrometheusInstanceResponse) ToJsonString ¶
func (r *DestroyPrometheusInstanceResponse) ToJsonString() string
type DestroyPrometheusInstanceResponseParams ¶
type DestroyPrometheusInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DimensionNew ¶
type DimensionNew struct { // Dimension key ID displayed on the backend Key *string `json:"Key,omitempty" name:"Key"` // Dimension key name displayed on the frontend Name *string `json:"Name,omitempty" name:"Name"` // Whether it is required IsRequired *bool `json:"IsRequired,omitempty" name:"IsRequired"` // List of supported operators Operators []*Operator `json:"Operators,omitempty" name:"Operators"` // Whether multiple items can be selected IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"` // Whether it can be modified after creation IsMutable *bool `json:"IsMutable,omitempty" name:"IsMutable"` // Whether it is displayed to users IsVisible *bool `json:"IsVisible,omitempty" name:"IsVisible"` // Whether it can be used to filter policies CanFilterPolicy *bool `json:"CanFilterPolicy,omitempty" name:"CanFilterPolicy"` // Whether it can be used to filter historical alarms CanFilterHistory *bool `json:"CanFilterHistory,omitempty" name:"CanFilterHistory"` // Whether it can be used as an aggregate dimension CanGroupBy *bool `json:"CanGroupBy,omitempty" name:"CanGroupBy"` // Whether it must be used as an aggregate dimension MustGroupBy *bool `json:"MustGroupBy,omitempty" name:"MustGroupBy"` // The key to be replaced on the frontend // Note: This field may return null, indicating that no valid values can be obtained. ShowValueReplace *string `json:"ShowValueReplace,omitempty" name:"ShowValueReplace"` }
type DimensionsDesc ¶
type DimensionsDesc struct { // Array of dimension names Dimensions []*string `json:"Dimensions,omitempty" name:"Dimensions"` }
type EnableGrafanaInternetRequest ¶
type EnableGrafanaInternetRequest struct { *tchttp.BaseRequest // Instance ID InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` // Enable or disable EnableInternet *bool `json:"EnableInternet,omitempty" name:"EnableInternet"` }
func NewEnableGrafanaInternetRequest ¶
func NewEnableGrafanaInternetRequest() (request *EnableGrafanaInternetRequest)
func (*EnableGrafanaInternetRequest) FromJsonString ¶
func (r *EnableGrafanaInternetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableGrafanaInternetRequest) ToJsonString ¶
func (r *EnableGrafanaInternetRequest) ToJsonString() string
type EnableGrafanaInternetRequestParams ¶
type EnableGrafanaInternetRequestParams struct { // Instance ID InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` // Enable or disable EnableInternet *bool `json:"EnableInternet,omitempty" name:"EnableInternet"` }
Predefined struct for user
type EnableGrafanaInternetResponse ¶
type EnableGrafanaInternetResponse struct { *tchttp.BaseResponse Response *EnableGrafanaInternetResponseParams `json:"Response"` }
func NewEnableGrafanaInternetResponse ¶
func NewEnableGrafanaInternetResponse() (response *EnableGrafanaInternetResponse)
func (*EnableGrafanaInternetResponse) FromJsonString ¶
func (r *EnableGrafanaInternetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableGrafanaInternetResponse) ToJsonString ¶
func (r *EnableGrafanaInternetResponse) ToJsonString() string
type EnableGrafanaInternetResponseParams ¶
type EnableGrafanaInternetResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EnableGrafanaSSORequest ¶
type EnableGrafanaSSORequest struct { *tchttp.BaseRequest // Whether to enable SSO EnableSSO *bool `json:"EnableSSO,omitempty" name:"EnableSSO"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewEnableGrafanaSSORequest ¶
func NewEnableGrafanaSSORequest() (request *EnableGrafanaSSORequest)
func (*EnableGrafanaSSORequest) FromJsonString ¶
func (r *EnableGrafanaSSORequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableGrafanaSSORequest) ToJsonString ¶
func (r *EnableGrafanaSSORequest) ToJsonString() string
type EnableGrafanaSSORequestParams ¶
type EnableGrafanaSSORequestParams struct { // Whether to enable SSO EnableSSO *bool `json:"EnableSSO,omitempty" name:"EnableSSO"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type EnableGrafanaSSOResponse ¶
type EnableGrafanaSSOResponse struct { *tchttp.BaseResponse Response *EnableGrafanaSSOResponseParams `json:"Response"` }
func NewEnableGrafanaSSOResponse ¶
func NewEnableGrafanaSSOResponse() (response *EnableGrafanaSSOResponse)
func (*EnableGrafanaSSOResponse) FromJsonString ¶
func (r *EnableGrafanaSSOResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableGrafanaSSOResponse) ToJsonString ¶
func (r *EnableGrafanaSSOResponse) ToJsonString() string
type EnableGrafanaSSOResponseParams ¶
type EnableGrafanaSSOResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EnableSSOCamCheckRequest ¶
type EnableSSOCamCheckRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Whether to enable CAM authentication EnableSSOCamCheck *bool `json:"EnableSSOCamCheck,omitempty" name:"EnableSSOCamCheck"` }
func NewEnableSSOCamCheckRequest ¶
func NewEnableSSOCamCheckRequest() (request *EnableSSOCamCheckRequest)
func (*EnableSSOCamCheckRequest) FromJsonString ¶
func (r *EnableSSOCamCheckRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableSSOCamCheckRequest) ToJsonString ¶
func (r *EnableSSOCamCheckRequest) ToJsonString() string
type EnableSSOCamCheckRequestParams ¶
type EnableSSOCamCheckRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Whether to enable CAM authentication EnableSSOCamCheck *bool `json:"EnableSSOCamCheck,omitempty" name:"EnableSSOCamCheck"` }
Predefined struct for user
type EnableSSOCamCheckResponse ¶
type EnableSSOCamCheckResponse struct { *tchttp.BaseResponse Response *EnableSSOCamCheckResponseParams `json:"Response"` }
func NewEnableSSOCamCheckResponse ¶
func NewEnableSSOCamCheckResponse() (response *EnableSSOCamCheckResponse)
func (*EnableSSOCamCheckResponse) FromJsonString ¶
func (r *EnableSSOCamCheckResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableSSOCamCheckResponse) ToJsonString ¶
func (r *EnableSSOCamCheckResponse) ToJsonString() string
type EnableSSOCamCheckResponseParams ¶
type EnableSSOCamCheckResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EventCondition ¶
type EventCondition struct { // Alarm notification frequency. // Note: This field may return `null`, indicating that no valid values can be obtained. AlarmNotifyPeriod *string `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Predefined repeated notification policy. `0`: One-time alarm; `1`: exponential alarm; `2`: consecutive alarm // Note: This field may return `null`, indicating that no valid values can be obtained. AlarmNotifyType *string `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Event ID. EventID *string `json:"EventID,omitempty" name:"EventID"` // Displayed event name. EventDisplayName *string `json:"EventDisplayName,omitempty" name:"EventDisplayName"` // Rule ID. RuleID *string `json:"RuleID,omitempty" name:"RuleID"` }
type GetMonitorDataRequest ¶
type GetMonitorDataRequest struct { *tchttp.BaseRequest // Namespace, such as QCE/CVM. For more information on the namespaces of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1) Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name, such as `CPUUsage`. Only one monitoring metric can be pulled at a time. For more information on the metrics of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The corresponding metric name is `MetricName`. MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // The dimension combination for instance objects, which is in the form of a set of key-value pairs. The dimension fields for instances of different Tencent Cloud services are completely different. For example, the field is [{"Name":"InstanceId","Value":"ins-j0hk02zo"}] for CVM instances, [{"Name":"instanceId","Value":"ckafka-l49k54dd"}] for CKafka instances, and [{"Name":"appid","Value":"1258344699"},{"Name":"bucket","Value":"rig-1258344699"}] for COS instances. For more information on the dimensions of various Tencent Cloud services, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). In each document, the dimension column displays a dimension combination’s key, which has a corresponding value. A single request can get the data of up to 10 instances. Instances []*Instance `json:"Instances,omitempty" name:"Instances"` // Monitoring statistical period in seconds, such as 60. Default value: 300. The statistical period varies by metric. For more information on the statistical periods supported by each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The values in the statistical period column are the supported statistical periods. A single request can get up to 1,440 data points. Period *uint64 `json:"Period,omitempty" name:"Period"` // Start time such as 2018-09-22T19:51:23+08:00 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00. `EndTime` cannot be earlier than `StartTime` EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewGetMonitorDataRequest ¶
func NewGetMonitorDataRequest() (request *GetMonitorDataRequest)
func (*GetMonitorDataRequest) FromJsonString ¶
func (r *GetMonitorDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetMonitorDataRequest) ToJsonString ¶
func (r *GetMonitorDataRequest) ToJsonString() string
type GetMonitorDataRequestParams ¶
type GetMonitorDataRequestParams struct { // Namespace, such as QCE/CVM. For more information on the namespaces of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1) Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name, such as `CPUUsage`. Only one monitoring metric can be pulled at a time. For more information on the metrics of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The corresponding metric name is `MetricName`. MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // The dimension combination for instance objects, which is in the form of a set of key-value pairs. The dimension fields for instances of different Tencent Cloud services are completely different. For example, the field is [{"Name":"InstanceId","Value":"ins-j0hk02zo"}] for CVM instances, [{"Name":"instanceId","Value":"ckafka-l49k54dd"}] for CKafka instances, and [{"Name":"appid","Value":"1258344699"},{"Name":"bucket","Value":"rig-1258344699"}] for COS instances. For more information on the dimensions of various Tencent Cloud services, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). In each document, the dimension column displays a dimension combination’s key, which has a corresponding value. A single request can get the data of up to 10 instances. Instances []*Instance `json:"Instances,omitempty" name:"Instances"` // Monitoring statistical period in seconds, such as 60. Default value: 300. The statistical period varies by metric. For more information on the statistical periods supported by each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The values in the statistical period column are the supported statistical periods. A single request can get up to 1,440 data points. Period *uint64 `json:"Period,omitempty" name:"Period"` // Start time such as 2018-09-22T19:51:23+08:00 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00. `EndTime` cannot be earlier than `StartTime` EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type GetMonitorDataResponse ¶
type GetMonitorDataResponse struct { *tchttp.BaseResponse Response *GetMonitorDataResponseParams `json:"Response"` }
func NewGetMonitorDataResponse ¶
func NewGetMonitorDataResponse() (response *GetMonitorDataResponse)
func (*GetMonitorDataResponse) FromJsonString ¶
func (r *GetMonitorDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetMonitorDataResponse) ToJsonString ¶
func (r *GetMonitorDataResponse) ToJsonString() string
type GetMonitorDataResponseParams ¶
type GetMonitorDataResponseParams struct { // Statistical period Period *uint64 `json:"Period,omitempty" name:"Period"` // Metric name MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Array of data points DataPoints []*DataPoint `json:"DataPoints,omitempty" name:"DataPoints"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type GetPrometheusAgentManagementCommandRequest ¶
type GetPrometheusAgentManagementCommandRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` }
func NewGetPrometheusAgentManagementCommandRequest ¶
func NewGetPrometheusAgentManagementCommandRequest() (request *GetPrometheusAgentManagementCommandRequest)
func (*GetPrometheusAgentManagementCommandRequest) FromJsonString ¶
func (r *GetPrometheusAgentManagementCommandRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPrometheusAgentManagementCommandRequest) ToJsonString ¶
func (r *GetPrometheusAgentManagementCommandRequest) ToJsonString() string
type GetPrometheusAgentManagementCommandRequestParams ¶
type GetPrometheusAgentManagementCommandRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` }
Predefined struct for user
type GetPrometheusAgentManagementCommandResponse ¶
type GetPrometheusAgentManagementCommandResponse struct { *tchttp.BaseResponse Response *GetPrometheusAgentManagementCommandResponseParams `json:"Response"` }
func NewGetPrometheusAgentManagementCommandResponse ¶
func NewGetPrometheusAgentManagementCommandResponse() (response *GetPrometheusAgentManagementCommandResponse)
func (*GetPrometheusAgentManagementCommandResponse) FromJsonString ¶
func (r *GetPrometheusAgentManagementCommandResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPrometheusAgentManagementCommandResponse) ToJsonString ¶
func (r *GetPrometheusAgentManagementCommandResponse) ToJsonString() string
type GetPrometheusAgentManagementCommandResponseParams ¶
type GetPrometheusAgentManagementCommandResponseParams struct { // Agent management command Command *ManagementCommand `json:"Command,omitempty" name:"Command"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type GrafanaAccountInfo ¶
type GrafanaAccountInfo struct { // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` // User permission Role []*GrafanaAccountRole `json:"Role,omitempty" name:"Role"` // Remarks Notes *string `json:"Notes,omitempty" name:"Notes"` // Creation time CreateAt *string `json:"CreateAt,omitempty" name:"CreateAt"` // Instance ID // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User’s root account UIN Uin *string `json:"Uin,omitempty" name:"Uin"` }
type GrafanaAccountRole ¶
type GrafanaChannel ¶
type GrafanaChannel struct { // Channel ID ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Array of alert channel template IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Creation time CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Update time UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"` // All valid organizations in an alert channel // Note: This field may return null, indicating that no valid values can be obtained. OrganizationIds []*string `json:"OrganizationIds,omitempty" name:"OrganizationIds"` }
type GrafanaInstanceInfo ¶
type GrafanaInstanceInfo struct { // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Region Region *string `json:"Region,omitempty" name:"Region"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Array of subnet IDs SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Grafana private network address InternetUrl *string `json:"InternetUrl,omitempty" name:"InternetUrl"` // Grafana public network address InternalUrl *string `json:"InternalUrl,omitempty" name:"InternalUrl"` // Creation time CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Status. Valid values: `1` (creating), `2` (running), `3` (abnormal), `4` (restarting), `5` (stopping), `6` (stopped), `7` (deleted). InstanceStatus *int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Instance tag // Note: This field may return null, indicating that no valid values can be obtained. TagSpecification []*PrometheusTag `json:"TagSpecification,omitempty" name:"TagSpecification"` // Instance AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // Billing mode. Valid value: `1` (monthly subscription). InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // VPC name VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // Subnet name SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // Region ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // The full URL used to access this instance RootUrl *string `json:"RootUrl,omitempty" name:"RootUrl"` // Whether to enable SSO EnableSSO *bool `json:"EnableSSO,omitempty" name:"EnableSSO"` // Version number Version *string `json:"Version,omitempty" name:"Version"` // Whether to enable CAM authentication during SSO EnableSSOCamCheck *bool `json:"EnableSSOCamCheck,omitempty" name:"EnableSSOCamCheck"` }
type GrafanaIntegrationConfig ¶
type GrafanaIntegrationConfig struct { // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` // Integration type Kind *string `json:"Kind,omitempty" name:"Kind"` // Integration content Content *string `json:"Content,omitempty" name:"Content"` // Integration description Description *string `json:"Description,omitempty" name:"Description"` // Grafana redirection address // Note: This field may return null, indicating that no valid values can be obtained. GrafanaURL *string `json:"GrafanaURL,omitempty" name:"GrafanaURL"` }
type GrafanaNotificationChannel ¶
type GrafanaNotificationChannel struct { // Channel ID ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Array of notification channel template IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Creation time CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Update time UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"` // Default valid organization. This parameter has been deprecated. Please use `OrganizationIds` instead. OrgId *string `json:"OrgId,omitempty" name:"OrgId"` // Extra valid organization. This parameter has been deprecated. Please use `OrganizationIds` instead. // Note: This field may return null, indicating that no valid values can be obtained. ExtraOrgIds []*string `json:"ExtraOrgIds,omitempty" name:"ExtraOrgIds"` // Valid organization. This parameter has been deprecated. Please use `OrganizationIds` instead. // Note: This field may return null, indicating that no valid values can be obtained. OrgIds *string `json:"OrgIds,omitempty" name:"OrgIds"` // All valid organizations in an alert channel // Note: This field may return null, indicating that no valid values can be obtained. OrganizationIds *string `json:"OrganizationIds,omitempty" name:"OrganizationIds"` }
type GrafanaPlugin ¶
type InstallPluginsRequest ¶
type InstallPluginsRequest struct { *tchttp.BaseRequest // Plugin information Plugins []*GrafanaPlugin `json:"Plugins,omitempty" name:"Plugins"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewInstallPluginsRequest ¶
func NewInstallPluginsRequest() (request *InstallPluginsRequest)
func (*InstallPluginsRequest) FromJsonString ¶
func (r *InstallPluginsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InstallPluginsRequest) ToJsonString ¶
func (r *InstallPluginsRequest) ToJsonString() string
type InstallPluginsRequestParams ¶
type InstallPluginsRequestParams struct { // Plugin information Plugins []*GrafanaPlugin `json:"Plugins,omitempty" name:"Plugins"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type InstallPluginsResponse ¶
type InstallPluginsResponse struct { *tchttp.BaseResponse Response *InstallPluginsResponseParams `json:"Response"` }
func NewInstallPluginsResponse ¶
func NewInstallPluginsResponse() (response *InstallPluginsResponse)
func (*InstallPluginsResponse) FromJsonString ¶
func (r *InstallPluginsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InstallPluginsResponse) ToJsonString ¶
func (r *InstallPluginsResponse) ToJsonString() string
type InstallPluginsResponseParams ¶
type InstallPluginsResponseParams struct { // ID of the installed plugin // Note: This field may return null, indicating that no valid values can be obtained. PluginIds []*string `json:"PluginIds,omitempty" name:"PluginIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Instance ¶
type Instance struct { // Combination of instance dimensions Dimensions []*Dimension `json:"Dimensions,omitempty" name:"Dimensions"` }
type InstanceGroup ¶
type InstanceGroup struct { // Instance group ID. // Note: This field may return null, indicating that no valid value was found. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Instance group name. // Note: This field may return null, indicating that no valid value was found. InstanceGroupName *string `json:"InstanceGroupName,omitempty" name:"InstanceGroupName"` }
type InstanceGroups ¶
type IntegrationConfiguration ¶
type IntegrationConfiguration struct { // Name Name *string `json:"Name,omitempty" name:"Name"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Content Content *string `json:"Content,omitempty" name:"Content"` // Status Status *int64 `json:"Status,omitempty" name:"Status"` // Instance type Category *string `json:"Category,omitempty" name:"Category"` // Instance description InstanceDesc *string `json:"InstanceDesc,omitempty" name:"InstanceDesc"` // Dashboard URL GrafanaDashboardURL *string `json:"GrafanaDashboardURL,omitempty" name:"GrafanaDashboardURL"` }
type LogAlarmReq ¶
type LogAlarmReq struct { // APM instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Search condition Filter []*LogFilterInfo `json:"Filter,omitempty" name:"Filter"` // The switch to enable/disable alarm merging AlarmMerge *string `json:"AlarmMerge,omitempty" name:"AlarmMerge"` // Alarm merging time AlarmMergeTime *string `json:"AlarmMergeTime,omitempty" name:"AlarmMergeTime"` }
type LogFilterInfo ¶
type ManagementCommand ¶
type ManagementCommand struct { // Agent installation command // Note: This field may return null, indicating that no valid values can be obtained. Install *string `json:"Install,omitempty" name:"Install"` // Agent restart command // Note: This field may return null, indicating that no valid values can be obtained. Restart *string `json:"Restart,omitempty" name:"Restart"` // Agent stop command // Note: This field may return null, indicating that no valid values can be obtained. Stop *string `json:"Stop,omitempty" name:"Stop"` // Agent status detection command // Note: This field may return null, indicating that no valid values can be obtained. StatusCheck *string `json:"StatusCheck,omitempty" name:"StatusCheck"` // Agent log detection command // Note: This field may return null, indicating that no valid values can be obtained. LogCheck *string `json:"LogCheck,omitempty" name:"LogCheck"` }
type Metric ¶
type Metric struct { // Alarm policy type Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric name MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Metric display name Description *string `json:"Description,omitempty" name:"Description"` // Minimum value Min *float64 `json:"Min,omitempty" name:"Min"` // Maximum value Max *float64 `json:"Max,omitempty" name:"Max"` // Dimension list Dimensions []*string `json:"Dimensions,omitempty" name:"Dimensions"` // Unit Unit *string `json:"Unit,omitempty" name:"Unit"` // Metric configuration // Note: this field may return null, indicating that no valid values can be obtained. MetricConfig *MetricConfig `json:"MetricConfig,omitempty" name:"MetricConfig"` // Whether it is an advanced metric. 1: Yes; 0: No. // Note: This field may return `null`, indicating that no valid values can be obtained. IsAdvanced *int64 `json:"IsAdvanced,omitempty" name:"IsAdvanced"` // Whether the advanced metric feature is enabled. 1: Yes; 0: No. // Note: This field may return `null`, indicating that no valid values can be obtained. IsOpen *int64 `json:"IsOpen,omitempty" name:"IsOpen"` // Integration center product ID. // Note: This field may return `null`, indicating that no valid values can be obtained. ProductId *int64 `json:"ProductId,omitempty" name:"ProductId"` }
type MetricConfig ¶
type MetricConfig struct { // Allowed operator Operator []*string `json:"Operator,omitempty" name:"Operator"` // Allowed data cycle in seconds Period []*int64 `json:"Period,omitempty" name:"Period"` // Allowed number of continuous cycles ContinuePeriod []*int64 `json:"ContinuePeriod,omitempty" name:"ContinuePeriod"` }
type MetricData ¶
type MetricData struct { // Metric name MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Monitoring data point Points []*MetricDataPoint `json:"Points,omitempty" name:"Points"` }
type MetricDataPoint ¶
type MetricDatum ¶
type MetricObjectMeaning ¶
type MetricSet ¶
type MetricSet struct { // Namespace. Each Tencent Cloud product has a namespace Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Metric Name MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Unit used by the metric Unit *string `json:"Unit,omitempty" name:"Unit"` // Unit used by the metric UnitCname *string `json:"UnitCname,omitempty" name:"UnitCname"` // Statistical period in seconds supported by the metric, such as 60 and 300 Period []*int64 `json:"Period,omitempty" name:"Period"` // Metric method during the statistical period Periods []*PeriodsSt `json:"Periods,omitempty" name:"Periods"` // Meaning of the statistical metric Meaning *MetricObjectMeaning `json:"Meaning,omitempty" name:"Meaning"` // Dimension description Dimensions []*DimensionsDesc `json:"Dimensions,omitempty" name:"Dimensions"` // Metric name (in Chinese). // Note: this field may return `null`, indicating that no valid values can be obtained. MetricCName *string `json:"MetricCName,omitempty" name:"MetricCName"` // Metric name (in English). // Note: this field may return `null`, indicating that no valid values can be obtained. MetricEName *string `json:"MetricEName,omitempty" name:"MetricEName"` }
type MidQueryCondition ¶
type MidQueryCondition struct { // Dimension Key *string `json:"Key,omitempty" name:"Key"` // Operator. Valid values: eq (equal to), ne (not equal to), in Operator *string `json:"Operator,omitempty" name:"Operator"` // Dimension value. If `Operator` is `eq` or `ne`, only the first element will be used Value []*string `json:"Value,omitempty" name:"Value"` }
type ModifyAlarmNoticeRequest ¶
type ModifyAlarmNoticeRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm notification rule name, which can contain up to 60 characters Name *string `json:"Name,omitempty" name:"Name"` // Notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms) NoticeType *string `json:"NoticeType,omitempty" name:"NoticeType"` // Notification language. Valid values: zh-CN (Chinese), en-US (English) NoticeLanguage *string `json:"NoticeLanguage,omitempty" name:"NoticeLanguage"` // Alarm notification template ID NoticeId *string `json:"NoticeId,omitempty" name:"NoticeId"` // User notifications (up to 5) UserNotices []*UserNotice `json:"UserNotices,omitempty" name:"UserNotices"` // Callback notifications (up to 3) URLNotices []*URLNotice `json:"URLNotices,omitempty" name:"URLNotices"` // The operation of pushing alarm notifications to CLS. Up to one CLS log topic can be configured. CLSNotices []*CLSNotice `json:"CLSNotices,omitempty" name:"CLSNotices"` }
func NewModifyAlarmNoticeRequest ¶
func NewModifyAlarmNoticeRequest() (request *ModifyAlarmNoticeRequest)
func (*ModifyAlarmNoticeRequest) FromJsonString ¶
func (r *ModifyAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmNoticeRequest) ToJsonString ¶
func (r *ModifyAlarmNoticeRequest) ToJsonString() string
type ModifyAlarmNoticeRequestParams ¶
type ModifyAlarmNoticeRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm notification rule name, which can contain up to 60 characters Name *string `json:"Name,omitempty" name:"Name"` // Notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms) NoticeType *string `json:"NoticeType,omitempty" name:"NoticeType"` // Notification language. Valid values: zh-CN (Chinese), en-US (English) NoticeLanguage *string `json:"NoticeLanguage,omitempty" name:"NoticeLanguage"` // Alarm notification template ID NoticeId *string `json:"NoticeId,omitempty" name:"NoticeId"` // User notifications (up to 5) UserNotices []*UserNotice `json:"UserNotices,omitempty" name:"UserNotices"` // Callback notifications (up to 3) URLNotices []*URLNotice `json:"URLNotices,omitempty" name:"URLNotices"` // The operation of pushing alarm notifications to CLS. Up to one CLS log topic can be configured. CLSNotices []*CLSNotice `json:"CLSNotices,omitempty" name:"CLSNotices"` }
Predefined struct for user
type ModifyAlarmNoticeResponse ¶
type ModifyAlarmNoticeResponse struct { *tchttp.BaseResponse Response *ModifyAlarmNoticeResponseParams `json:"Response"` }
func NewModifyAlarmNoticeResponse ¶
func NewModifyAlarmNoticeResponse() (response *ModifyAlarmNoticeResponse)
func (*ModifyAlarmNoticeResponse) FromJsonString ¶
func (r *ModifyAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmNoticeResponse) ToJsonString ¶
func (r *ModifyAlarmNoticeResponse) ToJsonString() string
type ModifyAlarmNoticeResponseParams ¶
type ModifyAlarmNoticeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmPolicyConditionRequest ¶
type ModifyAlarmPolicyConditionRequest struct { *tchttp.BaseRequest // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // ID of trigger condition template. This parameter can be left empty. ConditionTemplateId *int64 `json:"ConditionTemplateId,omitempty" name:"ConditionTemplateId"` // Metric trigger condition Condition *AlarmPolicyCondition `json:"Condition,omitempty" name:"Condition"` // Event trigger condition EventCondition *AlarmPolicyEventCondition `json:"EventCondition,omitempty" name:"EventCondition"` // Global filter. Filter *AlarmPolicyFilter `json:"Filter,omitempty" name:"Filter"` // Aggregation dimension list, which is used to specify which dimension keys data is grouped by. GroupBy []*string `json:"GroupBy,omitempty" name:"GroupBy"` // Log alarm creation request parameters LogAlarmReqInfo *LogAlarmReq `json:"LogAlarmReqInfo,omitempty" name:"LogAlarmReqInfo"` }
func NewModifyAlarmPolicyConditionRequest ¶
func NewModifyAlarmPolicyConditionRequest() (request *ModifyAlarmPolicyConditionRequest)
func (*ModifyAlarmPolicyConditionRequest) FromJsonString ¶
func (r *ModifyAlarmPolicyConditionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyConditionRequest) ToJsonString ¶
func (r *ModifyAlarmPolicyConditionRequest) ToJsonString() string
type ModifyAlarmPolicyConditionRequestParams ¶
type ModifyAlarmPolicyConditionRequestParams struct { // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // ID of trigger condition template. This parameter can be left empty. ConditionTemplateId *int64 `json:"ConditionTemplateId,omitempty" name:"ConditionTemplateId"` // Metric trigger condition Condition *AlarmPolicyCondition `json:"Condition,omitempty" name:"Condition"` // Event trigger condition EventCondition *AlarmPolicyEventCondition `json:"EventCondition,omitempty" name:"EventCondition"` // Global filter. Filter *AlarmPolicyFilter `json:"Filter,omitempty" name:"Filter"` // Aggregation dimension list, which is used to specify which dimension keys data is grouped by. GroupBy []*string `json:"GroupBy,omitempty" name:"GroupBy"` // Log alarm creation request parameters LogAlarmReqInfo *LogAlarmReq `json:"LogAlarmReqInfo,omitempty" name:"LogAlarmReqInfo"` }
Predefined struct for user
type ModifyAlarmPolicyConditionResponse ¶
type ModifyAlarmPolicyConditionResponse struct { *tchttp.BaseResponse Response *ModifyAlarmPolicyConditionResponseParams `json:"Response"` }
func NewModifyAlarmPolicyConditionResponse ¶
func NewModifyAlarmPolicyConditionResponse() (response *ModifyAlarmPolicyConditionResponse)
func (*ModifyAlarmPolicyConditionResponse) FromJsonString ¶
func (r *ModifyAlarmPolicyConditionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyConditionResponse) ToJsonString ¶
func (r *ModifyAlarmPolicyConditionResponse) ToJsonString() string
type ModifyAlarmPolicyConditionResponseParams ¶
type ModifyAlarmPolicyConditionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmPolicyInfoRequest ¶
type ModifyAlarmPolicyInfoRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Field to be modified. Valid values: NAME (policy name), REMARK (policy remarks) Key *string `json:"Key,omitempty" name:"Key"` // Value after modification Value *string `json:"Value,omitempty" name:"Value"` }
func NewModifyAlarmPolicyInfoRequest ¶
func NewModifyAlarmPolicyInfoRequest() (request *ModifyAlarmPolicyInfoRequest)
func (*ModifyAlarmPolicyInfoRequest) FromJsonString ¶
func (r *ModifyAlarmPolicyInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyInfoRequest) ToJsonString ¶
func (r *ModifyAlarmPolicyInfoRequest) ToJsonString() string
type ModifyAlarmPolicyInfoRequestParams ¶
type ModifyAlarmPolicyInfoRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Field to be modified. Valid values: NAME (policy name), REMARK (policy remarks) Key *string `json:"Key,omitempty" name:"Key"` // Value after modification Value *string `json:"Value,omitempty" name:"Value"` }
Predefined struct for user
type ModifyAlarmPolicyInfoResponse ¶
type ModifyAlarmPolicyInfoResponse struct { *tchttp.BaseResponse Response *ModifyAlarmPolicyInfoResponseParams `json:"Response"` }
func NewModifyAlarmPolicyInfoResponse ¶
func NewModifyAlarmPolicyInfoResponse() (response *ModifyAlarmPolicyInfoResponse)
func (*ModifyAlarmPolicyInfoResponse) FromJsonString ¶
func (r *ModifyAlarmPolicyInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyInfoResponse) ToJsonString ¶
func (r *ModifyAlarmPolicyInfoResponse) ToJsonString() string
type ModifyAlarmPolicyInfoResponseParams ¶
type ModifyAlarmPolicyInfoResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmPolicyNoticeRequest ¶
type ModifyAlarmPolicyNoticeRequest struct { *tchttp.BaseRequest // Module name, which is specified as `monitor`. Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID. If both `PolicyIds` and this parameter are returned, only `PolicyIds` takes effect. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // List of alarm notification template IDs. NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Alarm policy ID array, which can be used to associate notification templates with multiple alarm policies. Max value: 30. PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` }
func NewModifyAlarmPolicyNoticeRequest ¶
func NewModifyAlarmPolicyNoticeRequest() (request *ModifyAlarmPolicyNoticeRequest)
func (*ModifyAlarmPolicyNoticeRequest) FromJsonString ¶
func (r *ModifyAlarmPolicyNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyNoticeRequest) ToJsonString ¶
func (r *ModifyAlarmPolicyNoticeRequest) ToJsonString() string
type ModifyAlarmPolicyNoticeRequestParams ¶
type ModifyAlarmPolicyNoticeRequestParams struct { // Module name, which is specified as `monitor`. Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID. If both `PolicyIds` and this parameter are returned, only `PolicyIds` takes effect. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // List of alarm notification template IDs. NoticeIds []*string `json:"NoticeIds,omitempty" name:"NoticeIds"` // Alarm policy ID array, which can be used to associate notification templates with multiple alarm policies. Max value: 30. PolicyIds []*string `json:"PolicyIds,omitempty" name:"PolicyIds"` }
Predefined struct for user
type ModifyAlarmPolicyNoticeResponse ¶
type ModifyAlarmPolicyNoticeResponse struct { *tchttp.BaseResponse Response *ModifyAlarmPolicyNoticeResponseParams `json:"Response"` }
func NewModifyAlarmPolicyNoticeResponse ¶
func NewModifyAlarmPolicyNoticeResponse() (response *ModifyAlarmPolicyNoticeResponse)
func (*ModifyAlarmPolicyNoticeResponse) FromJsonString ¶
func (r *ModifyAlarmPolicyNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyNoticeResponse) ToJsonString ¶
func (r *ModifyAlarmPolicyNoticeResponse) ToJsonString() string
type ModifyAlarmPolicyNoticeResponseParams ¶
type ModifyAlarmPolicyNoticeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmPolicyStatusRequest ¶
type ModifyAlarmPolicyStatusRequest struct { *tchttp.BaseRequest // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Status. Valid values: 0 (disabled), 1 (enabled) Enable *int64 `json:"Enable,omitempty" name:"Enable"` }
func NewModifyAlarmPolicyStatusRequest ¶
func NewModifyAlarmPolicyStatusRequest() (request *ModifyAlarmPolicyStatusRequest)
func (*ModifyAlarmPolicyStatusRequest) FromJsonString ¶
func (r *ModifyAlarmPolicyStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyStatusRequest) ToJsonString ¶
func (r *ModifyAlarmPolicyStatusRequest) ToJsonString() string
type ModifyAlarmPolicyStatusRequestParams ¶
type ModifyAlarmPolicyStatusRequestParams struct { // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Status. Valid values: 0 (disabled), 1 (enabled) Enable *int64 `json:"Enable,omitempty" name:"Enable"` }
Predefined struct for user
type ModifyAlarmPolicyStatusResponse ¶
type ModifyAlarmPolicyStatusResponse struct { *tchttp.BaseResponse Response *ModifyAlarmPolicyStatusResponseParams `json:"Response"` }
func NewModifyAlarmPolicyStatusResponse ¶
func NewModifyAlarmPolicyStatusResponse() (response *ModifyAlarmPolicyStatusResponse)
func (*ModifyAlarmPolicyStatusResponse) FromJsonString ¶
func (r *ModifyAlarmPolicyStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyStatusResponse) ToJsonString ¶
func (r *ModifyAlarmPolicyStatusResponse) ToJsonString() string
type ModifyAlarmPolicyStatusResponseParams ¶
type ModifyAlarmPolicyStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmPolicyTasksRequest ¶
type ModifyAlarmPolicyTasksRequest struct { *tchttp.BaseRequest // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // List of tasks triggered by alarm policy. If this parameter is left empty, it indicates to unbind all tasks TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` }
func NewModifyAlarmPolicyTasksRequest ¶
func NewModifyAlarmPolicyTasksRequest() (request *ModifyAlarmPolicyTasksRequest)
func (*ModifyAlarmPolicyTasksRequest) FromJsonString ¶
func (r *ModifyAlarmPolicyTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyTasksRequest) ToJsonString ¶
func (r *ModifyAlarmPolicyTasksRequest) ToJsonString() string
type ModifyAlarmPolicyTasksRequestParams ¶
type ModifyAlarmPolicyTasksRequestParams struct { // Module name. Enter "monitor" here Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // List of tasks triggered by alarm policy. If this parameter is left empty, it indicates to unbind all tasks TriggerTasks []*AlarmPolicyTriggerTask `json:"TriggerTasks,omitempty" name:"TriggerTasks"` }
Predefined struct for user
type ModifyAlarmPolicyTasksResponse ¶
type ModifyAlarmPolicyTasksResponse struct { *tchttp.BaseResponse Response *ModifyAlarmPolicyTasksResponseParams `json:"Response"` }
func NewModifyAlarmPolicyTasksResponse ¶
func NewModifyAlarmPolicyTasksResponse() (response *ModifyAlarmPolicyTasksResponse)
func (*ModifyAlarmPolicyTasksResponse) FromJsonString ¶
func (r *ModifyAlarmPolicyTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmPolicyTasksResponse) ToJsonString ¶
func (r *ModifyAlarmPolicyTasksResponse) ToJsonString() string
type ModifyAlarmPolicyTasksResponseParams ¶
type ModifyAlarmPolicyTasksResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmReceiversRequest ¶
type ModifyAlarmReceiversRequest struct { *tchttp.BaseRequest // ID of a policy group whose recipient needs to be modified. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Required. The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // New recipient information. If this parameter is not configured, all recipients will be deleted. ReceiverInfos []*ReceiverInfo `json:"ReceiverInfos,omitempty" name:"ReceiverInfos"` }
func NewModifyAlarmReceiversRequest ¶
func NewModifyAlarmReceiversRequest() (request *ModifyAlarmReceiversRequest)
func (*ModifyAlarmReceiversRequest) FromJsonString ¶
func (r *ModifyAlarmReceiversRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmReceiversRequest) ToJsonString ¶
func (r *ModifyAlarmReceiversRequest) ToJsonString() string
type ModifyAlarmReceiversRequestParams ¶
type ModifyAlarmReceiversRequestParams struct { // ID of a policy group whose recipient needs to be modified. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Required. The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // New recipient information. If this parameter is not configured, all recipients will be deleted. ReceiverInfos []*ReceiverInfo `json:"ReceiverInfos,omitempty" name:"ReceiverInfos"` }
Predefined struct for user
type ModifyAlarmReceiversResponse ¶
type ModifyAlarmReceiversResponse struct { *tchttp.BaseResponse Response *ModifyAlarmReceiversResponseParams `json:"Response"` }
func NewModifyAlarmReceiversResponse ¶
func NewModifyAlarmReceiversResponse() (response *ModifyAlarmReceiversResponse)
func (*ModifyAlarmReceiversResponse) FromJsonString ¶
func (r *ModifyAlarmReceiversResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmReceiversResponse) ToJsonString ¶
func (r *ModifyAlarmReceiversResponse) ToJsonString() string
type ModifyAlarmReceiversResponseParams ¶
type ModifyAlarmReceiversResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGrafanaInstanceRequest ¶
type ModifyGrafanaInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
func NewModifyGrafanaInstanceRequest ¶
func NewModifyGrafanaInstanceRequest() (request *ModifyGrafanaInstanceRequest)
func (*ModifyGrafanaInstanceRequest) FromJsonString ¶
func (r *ModifyGrafanaInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGrafanaInstanceRequest) ToJsonString ¶
func (r *ModifyGrafanaInstanceRequest) ToJsonString() string
type ModifyGrafanaInstanceRequestParams ¶
type ModifyGrafanaInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyGrafanaInstanceResponse ¶
type ModifyGrafanaInstanceResponse struct { *tchttp.BaseResponse Response *ModifyGrafanaInstanceResponseParams `json:"Response"` }
func NewModifyGrafanaInstanceResponse ¶
func NewModifyGrafanaInstanceResponse() (response *ModifyGrafanaInstanceResponse)
func (*ModifyGrafanaInstanceResponse) FromJsonString ¶
func (r *ModifyGrafanaInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGrafanaInstanceResponse) ToJsonString ¶
func (r *ModifyGrafanaInstanceResponse) ToJsonString() string
type ModifyGrafanaInstanceResponseParams ¶
type ModifyGrafanaInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPolicyGroupCondition ¶
type ModifyPolicyGroupCondition struct { // Metric ID. MetricId *int64 `json:"MetricId,omitempty" name:"MetricId"` // Comparative type. The value 1 indicates greater than. The value 2 indicates greater than or equal to. The value 3 indicates smaller than. The value 4 indicates smaller than or equal to. The value 5 indicates equal to. The value 6 indicates not equal to. CalcType *int64 `json:"CalcType,omitempty" name:"CalcType"` // Threshold. CalcValue *string `json:"CalcValue,omitempty" name:"CalcValue"` // Data period of the detected metric. CalcPeriod *int64 `json:"CalcPeriod,omitempty" name:"CalcPeriod"` // Number of consecutive periods. ContinuePeriod *int64 `json:"ContinuePeriod,omitempty" name:"ContinuePeriod"` // Alarm sending and convergence type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Alarm sending period in seconds. If the value is less than 0, no alarm will be triggered. If the value is 0, an alarm will be triggered only once. If the value is greater than 0, an alarm will be triggered at the interval of triggerTime. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Rule ID. No filling means new addition while filling in ruleId means to modify existing rules. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` }
type ModifyPolicyGroupEventCondition ¶
type ModifyPolicyGroupEventCondition struct { // Event ID. EventId *int64 `json:"EventId,omitempty" name:"EventId"` // Alarm sending and convergence type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially. AlarmNotifyType *int64 `json:"AlarmNotifyType,omitempty" name:"AlarmNotifyType"` // Alarm sending period in seconds. If the value is less than 0, no alarm will be triggered. If the value is 0, an alarm will be triggered only once. If the value is greater than 0, an alarm will be triggered at the interval of triggerTime. AlarmNotifyPeriod *int64 `json:"AlarmNotifyPeriod,omitempty" name:"AlarmNotifyPeriod"` // Rule ID. No filling means new addition while filling in ruleId means to modify existing rules. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` }
type ModifyPolicyGroupRequest ¶
type ModifyPolicyGroupRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm type. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The 'AND' and 'OR' rules for metric alarms. The value 1 indicates 'AND', which means that an alarm will be triggered only when all rules are met. The value 0 indicates 'OR', which means that an alarm will be triggered when any rule is met. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` // Metric alarm condition rules. No filling indicates that all existing metric alarm condition rules will be deleted. Conditions []*ModifyPolicyGroupCondition `json:"Conditions,omitempty" name:"Conditions"` // Event alarm conditions. No filling indicates that all existing event alarm conditions will be deleted. EventConditions []*ModifyPolicyGroupEventCondition `json:"EventConditions,omitempty" name:"EventConditions"` // Template-based policy group ID. ConditionTempGroupId *int64 `json:"ConditionTempGroupId,omitempty" name:"ConditionTempGroupId"` }
func NewModifyPolicyGroupRequest ¶
func NewModifyPolicyGroupRequest() (request *ModifyPolicyGroupRequest)
func (*ModifyPolicyGroupRequest) FromJsonString ¶
func (r *ModifyPolicyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPolicyGroupRequest) ToJsonString ¶
func (r *ModifyPolicyGroupRequest) ToJsonString() string
type ModifyPolicyGroupRequestParams ¶
type ModifyPolicyGroupRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm type. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The 'AND' and 'OR' rules for metric alarms. The value 1 indicates 'AND', which means that an alarm will be triggered only when all rules are met. The value 0 indicates 'OR', which means that an alarm will be triggered when any rule is met. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` // Metric alarm condition rules. No filling indicates that all existing metric alarm condition rules will be deleted. Conditions []*ModifyPolicyGroupCondition `json:"Conditions,omitempty" name:"Conditions"` // Event alarm conditions. No filling indicates that all existing event alarm conditions will be deleted. EventConditions []*ModifyPolicyGroupEventCondition `json:"EventConditions,omitempty" name:"EventConditions"` // Template-based policy group ID. ConditionTempGroupId *int64 `json:"ConditionTempGroupId,omitempty" name:"ConditionTempGroupId"` }
Predefined struct for user
type ModifyPolicyGroupResponse ¶
type ModifyPolicyGroupResponse struct { *tchttp.BaseResponse Response *ModifyPolicyGroupResponseParams `json:"Response"` }
func NewModifyPolicyGroupResponse ¶
func NewModifyPolicyGroupResponse() (response *ModifyPolicyGroupResponse)
func (*ModifyPolicyGroupResponse) FromJsonString ¶
func (r *ModifyPolicyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPolicyGroupResponse) ToJsonString ¶
func (r *ModifyPolicyGroupResponse) ToJsonString() string
type ModifyPolicyGroupResponseParams ¶
type ModifyPolicyGroupResponseParams struct { // Policy group ID. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPrometheusInstanceAttributesRequest ¶
type ModifyPrometheusInstanceAttributesRequest struct { *tchttp.BaseRequest // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Storage period. Valid values: 15, 30, 45. This parameter is not applicable to monthly subscribed instances. DataRetentionTime *int64 `json:"DataRetentionTime,omitempty" name:"DataRetentionTime"` }
func NewModifyPrometheusInstanceAttributesRequest ¶
func NewModifyPrometheusInstanceAttributesRequest() (request *ModifyPrometheusInstanceAttributesRequest)
func (*ModifyPrometheusInstanceAttributesRequest) FromJsonString ¶
func (r *ModifyPrometheusInstanceAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrometheusInstanceAttributesRequest) ToJsonString ¶
func (r *ModifyPrometheusInstanceAttributesRequest) ToJsonString() string
type ModifyPrometheusInstanceAttributesRequestParams ¶
type ModifyPrometheusInstanceAttributesRequestParams struct { // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Storage period. Valid values: 15, 30, 45. This parameter is not applicable to monthly subscribed instances. DataRetentionTime *int64 `json:"DataRetentionTime,omitempty" name:"DataRetentionTime"` }
Predefined struct for user
type ModifyPrometheusInstanceAttributesResponse ¶
type ModifyPrometheusInstanceAttributesResponse struct { *tchttp.BaseResponse Response *ModifyPrometheusInstanceAttributesResponseParams `json:"Response"` }
func NewModifyPrometheusInstanceAttributesResponse ¶
func NewModifyPrometheusInstanceAttributesResponse() (response *ModifyPrometheusInstanceAttributesResponse)
func (*ModifyPrometheusInstanceAttributesResponse) FromJsonString ¶
func (r *ModifyPrometheusInstanceAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrometheusInstanceAttributesResponse) ToJsonString ¶
func (r *ModifyPrometheusInstanceAttributesResponse) ToJsonString() string
type ModifyPrometheusInstanceAttributesResponseParams ¶
type ModifyPrometheusInstanceAttributesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MonitorTypeInfo ¶
type MonitorTypeNamespace ¶
type Point ¶
type Point struct { // Time point when this monitoring data point is generated Timestamp *uint64 `json:"Timestamp,omitempty" name:"Timestamp"` // Monitoring data point value // Note: this field may return null, indicating that no valid values can be obtained. Value *float64 `json:"Value,omitempty" name:"Value"` }
type PolicyGroup ¶
type PolicyGroup struct { // Whether the alarm policy can be set to default. CanSetDefault *bool `json:"CanSetDefault,omitempty" name:"CanSetDefault"` // Alarm policy group ID. GroupID *int64 `json:"GroupID,omitempty" name:"GroupID"` // Alarm policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Creation time. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // Whether the alarm policy is set to default. IsDefault *int64 `json:"IsDefault,omitempty" name:"IsDefault"` // Whether the alarm policy is enabled. Enable *bool `json:"Enable,omitempty" name:"Enable"` // UIN of the last modifier. LastEditUin *int64 `json:"LastEditUin,omitempty" name:"LastEditUin"` // Number of unshielded instances. NoShieldedInstanceCount *int64 `json:"NoShieldedInstanceCount,omitempty" name:"NoShieldedInstanceCount"` // Parent policy group ID. ParentGroupID *int64 `json:"ParentGroupID,omitempty" name:"ParentGroupID"` // Project ID. ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` // Alarm recipient information. // Note: This field may return `null`, indicating that no valid values can be obtained. ReceiverInfos []*PolicyGroupReceiverInfo `json:"ReceiverInfos,omitempty" name:"ReceiverInfos"` // Remarks. Remark *string `json:"Remark,omitempty" name:"Remark"` // Modification time. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // The total number of associated instances. TotalInstanceCount *int64 `json:"TotalInstanceCount,omitempty" name:"TotalInstanceCount"` // View. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Whether the logical relationship between rules is AND. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` }
type PolicyGroupReceiverInfo ¶
type PolicyGroupReceiverInfo struct { // End time of a valid time period. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Whether it is required to send notifications. NeedSendNotice *int64 `json:"NeedSendNotice,omitempty" name:"NeedSendNotice"` // Alarm receiving channel. // Note: This field may return `null`, indicating that no valid values can be obtained. NotifyWay []*string `json:"NotifyWay,omitempty" name:"NotifyWay"` // Alarm call intervals for individuals in seconds. PersonInterval *int64 `json:"PersonInterval,omitempty" name:"PersonInterval"` // Message recipient group list. // Note: This field may return `null`, indicating that no valid values can be obtained. ReceiverGroupList []*int64 `json:"ReceiverGroupList,omitempty" name:"ReceiverGroupList"` // Recipient type. ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Recipient list. The list of recipient IDs that is queried by a platform API. // Note: This field may return `null`, indicating that no valid values can be obtained. ReceiverUserList []*int64 `json:"ReceiverUserList,omitempty" name:"ReceiverUserList"` // Alarm resolution notification method. // Note: This field may return `null`, indicating that no valid values can be obtained. RecoverNotify []*string `json:"RecoverNotify,omitempty" name:"RecoverNotify"` // Alarm call interval per round in seconds. RoundInterval *int64 `json:"RoundInterval,omitempty" name:"RoundInterval"` // Number of alarm call rounds. RoundNumber *int64 `json:"RoundNumber,omitempty" name:"RoundNumber"` // Alarm call notification time. Valid values: `OCCUR` (indicating that a notification is sent when the alarm is triggered) and `RECOVER` (indicating that a notification is sent when the alarm is resolved). // Note: This field may return `null`, indicating that no valid values can be obtained. SendFor []*string `json:"SendFor,omitempty" name:"SendFor"` // Start time of a valid time period. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // UID of the alarm call recipient. // Note: This field may return `null`, indicating that no valid values can be obtained. UIDList []*int64 `json:"UIDList,omitempty" name:"UIDList"` }
type PrometheusAgent ¶
type PrometheusAgent struct { // Agent name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent IP // Note: This field may return null, indicating that no valid values can be obtained. Ipv4 *string `json:"Ipv4,omitempty" name:"Ipv4"` // Heartbeat time // Note: This field may return null, indicating that no valid values can be obtained. HeartbeatTime *string `json:"HeartbeatTime,omitempty" name:"HeartbeatTime"` // Last error // Note: This field may return null, indicating that no valid values can be obtained. LastError *string `json:"LastError,omitempty" name:"LastError"` // Agent version // Note: This field may return null, indicating that no valid values can be obtained. AgentVersion *string `json:"AgentVersion,omitempty" name:"AgentVersion"` // Agent status Status *int64 `json:"Status,omitempty" name:"Status"` }
type PrometheusInstanceGrantInfo ¶
type PrometheusInstanceGrantInfo struct { // Whether there is permission to operate on the billing information. Valid values: 1 (yes), 2 (no). HasChargeOperation *int64 `json:"HasChargeOperation,omitempty" name:"HasChargeOperation"` // Whether there is permission to display the VPC information. Valid values: 1 (yes), 2 (no). HasVpcDisplay *int64 `json:"HasVpcDisplay,omitempty" name:"HasVpcDisplay"` // Whether there is permission to change the Grafana status. Valid values: 1 (yes), 2 (no). HasGrafanaStatusChange *int64 `json:"HasGrafanaStatusChange,omitempty" name:"HasGrafanaStatusChange"` // Whether there is permission to manage agents. Valid values: 1 (yes), 2 (no). HasAgentManage *int64 `json:"HasAgentManage,omitempty" name:"HasAgentManage"` // Whether there is permission to manage TKE integrations. Valid values: 1 (yes), 2 (no). HasTkeManage *int64 `json:"HasTkeManage,omitempty" name:"HasTkeManage"` // Whether there is permission to display the API information. Valid values: 1 (yes), 2 (no). HasApiOperation *int64 `json:"HasApiOperation,omitempty" name:"HasApiOperation"` }
type PrometheusInstancesItem ¶
type PrometheusInstancesItem struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance billing mode. Valid values: // <ul> // <li>2: Monthly subscription</li> // <li>3: Pay-as-you-go</li> // </ul> InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // Region ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // AZ Zone *string `json:"Zone,omitempty" name:"Zone"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Storage period // Note: This field may return null, indicating that no valid values can be obtained. DataRetentionTime *int64 `json:"DataRetentionTime,omitempty" name:"DataRetentionTime"` // Instance status. Valid values: // <ul> // <li>1: Creating</li> // <li>2: Running</li> // <li>3: Abnormal</li> // <li>4: Rebooting</li> // <li>5: Terminating</li> // <li>6: Service suspended</li> // <li>8: Suspending service for overdue payment</li> // <li>9: Service suspended for overdue payment</li> // </ul> InstanceStatus *int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` // Grafana dashboard URL // Note: This field may return null, indicating that no valid values can be obtained. GrafanaURL *string `json:"GrafanaURL,omitempty" name:"GrafanaURL"` // Creation time CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Whether Grafana is enabled // <li>0: Disabled</li> // <li>1: Enabled</li> EnableGrafana *int64 `json:"EnableGrafana,omitempty" name:"EnableGrafana"` // Instance IPv4 address // Note: This field may return null, indicating that no valid values can be obtained. IPv4Address *string `json:"IPv4Address,omitempty" name:"IPv4Address"` // List of tags associated with the instance. // Note: This field may return null, indicating that no valid values can be obtained. TagSpecification []*PrometheusTag `json:"TagSpecification,omitempty" name:"TagSpecification"` // Expiration time of the purchased instance // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Billing status // <ul> // <li>1: Normal</li> // <li>2: Expired</li> // <li>3: Terminated</li> // <li>4: Assigning</li> // <li>5: Assignment failed</li> // </ul> // Note: This field may return null, indicating that no valid values can be obtained. ChargeStatus *int64 `json:"ChargeStatus,omitempty" name:"ChargeStatus"` // Specification name // Note: This field may return null, indicating that no valid values can be obtained. SpecName *string `json:"SpecName,omitempty" name:"SpecName"` // Auto-renewal flag // <ul> // <li>0: Auto-renewal not enabled</li> // <li>1: Auto-renewal enabled</li> // <li>2: Auto-renewal prohibited</li> // <li>-1: Invalid</ii> // </ul> // Note: This field may return null, indicating that no valid values can be obtained. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Expiring soon // <ul> // <li>0: No</li> // <li>1: Yes</li> // </ul> // Note: This field may return null, indicating that no valid values can be obtained. IsNearExpire *int64 `json:"IsNearExpire,omitempty" name:"IsNearExpire"` // The token required for data writing // Note: This field may return null, indicating that no valid values can be obtained. AuthToken *string `json:"AuthToken,omitempty" name:"AuthToken"` // Prometheus remote write address // Note: This field may return null, indicating that no valid values can be obtained. RemoteWrite *string `json:"RemoteWrite,omitempty" name:"RemoteWrite"` // Prometheus HTTP API root address // Note: This field may return null, indicating that no valid values can be obtained. ApiRootPath *string `json:"ApiRootPath,omitempty" name:"ApiRootPath"` // Proxy address // Note: This field may return null, indicating that no valid values can be obtained. ProxyAddress *string `json:"ProxyAddress,omitempty" name:"ProxyAddress"` // Grafana status // <ul> // <li>1: Creating</li> // <li>2: Running</li> // <li>3: Abnormal</li> // <li>4: Restarting</li> // <li>5: Terminating</li> // <li>6: Service suspended</li> // <li>7: Deleted</li> // </ul> // Note: This field may return null, indicating that no valid values can be obtained. GrafanaStatus *int64 `json:"GrafanaStatus,omitempty" name:"GrafanaStatus"` // Grafana IP allowlist, where IPs are separated by comma. // Note: This field may return null, indicating that no valid values can be obtained. GrafanaIpWhiteList *string `json:"GrafanaIpWhiteList,omitempty" name:"GrafanaIpWhiteList"` // Instance authorization information // Note: This field may return null, indicating that no valid values can be obtained. Grant *PrometheusInstanceGrantInfo `json:"Grant,omitempty" name:"Grant"` // ID of the bound Grafana instance // Note: This field may return null, indicating that no valid values can be obtained. GrafanaInstanceId *string `json:"GrafanaInstanceId,omitempty" name:"GrafanaInstanceId"` // The alert rule limit // Note: This field may return null, indicating that no valid values can be obtained. AlertRuleLimit *int64 `json:"AlertRuleLimit,omitempty" name:"AlertRuleLimit"` // The recording rule limit // Note: This field may return null, indicating that no valid values can be obtained. RecordingRuleLimit *int64 `json:"RecordingRuleLimit,omitempty" name:"RecordingRuleLimit"` // Migration status. 0: Not migrating; 1: Migrating from source instance; 2: Migrating to target instance. // Note: This field may return null, indicating that no valid values can be obtained. MigrationType *int64 `json:"MigrationType,omitempty" name:"MigrationType"` }
type PrometheusRuleKV ¶
type PrometheusRuleSet ¶
type PrometheusRuleSet struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Rule status code RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Rule category // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // List of rule tags // Note: This field may return null, indicating that no valid values can be obtained. Labels []*PrometheusRuleKV `json:"Labels,omitempty" name:"Labels"` // List of rule annotations // Note: This field may return null, indicating that no valid values can be obtained. Annotations []*PrometheusRuleKV `json:"Annotations,omitempty" name:"Annotations"` // Rule expression // Note: This field may return null, indicating that no valid values can be obtained. Expr *string `json:"Expr,omitempty" name:"Expr"` // Rule alert duration // Note: This field may return null, indicating that no valid values can be obtained. Duration *string `json:"Duration,omitempty" name:"Duration"` // List of alert recipient groups // Note: This field may return null, indicating that no valid values can be obtained. Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // Rule status. Valid values: // <li>unknown: Unknown</li> // <li>pending: Loading</li> // <li>ok: Running</li> // <li>err: Error</li> Health *string `json:"Health,omitempty" name:"Health"` // Rule creation time // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Rule update time // Note: This field may return null, indicating that no valid values can be obtained. UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"` }
type PrometheusScrapeJob ¶
type PrometheusScrapeJob struct { // Task name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Configuration // Note: This field may return null, indicating that no valid values can be obtained. Config *string `json:"Config,omitempty" name:"Config"` }
type PrometheusTag ¶
type PutMonitorDataRequest ¶
type PutMonitorDataRequest struct { *tchttp.BaseRequest // A group of metrics and data. Metrics []*MetricDatum `json:"Metrics,omitempty" name:"Metrics"` // IP address that is automatically specified when monitoring data is reported. AnnounceIp *string `json:"AnnounceIp,omitempty" name:"AnnounceIp"` // Timestamp that is automatically specified when monitoring data is reported. AnnounceTimestamp *uint64 `json:"AnnounceTimestamp,omitempty" name:"AnnounceTimestamp"` // IP address or product instance ID that is automatically specified when monitoring data is reported. AnnounceInstance *string `json:"AnnounceInstance,omitempty" name:"AnnounceInstance"` }
func NewPutMonitorDataRequest ¶
func NewPutMonitorDataRequest() (request *PutMonitorDataRequest)
func (*PutMonitorDataRequest) FromJsonString ¶
func (r *PutMonitorDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutMonitorDataRequest) ToJsonString ¶
func (r *PutMonitorDataRequest) ToJsonString() string
type PutMonitorDataRequestParams ¶
type PutMonitorDataRequestParams struct { // A group of metrics and data. Metrics []*MetricDatum `json:"Metrics,omitempty" name:"Metrics"` // IP address that is automatically specified when monitoring data is reported. AnnounceIp *string `json:"AnnounceIp,omitempty" name:"AnnounceIp"` // Timestamp that is automatically specified when monitoring data is reported. AnnounceTimestamp *uint64 `json:"AnnounceTimestamp,omitempty" name:"AnnounceTimestamp"` // IP address or product instance ID that is automatically specified when monitoring data is reported. AnnounceInstance *string `json:"AnnounceInstance,omitempty" name:"AnnounceInstance"` }
Predefined struct for user
type PutMonitorDataResponse ¶
type PutMonitorDataResponse struct { *tchttp.BaseResponse Response *PutMonitorDataResponseParams `json:"Response"` }
func NewPutMonitorDataResponse ¶
func NewPutMonitorDataResponse() (response *PutMonitorDataResponse)
func (*PutMonitorDataResponse) FromJsonString ¶
func (r *PutMonitorDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PutMonitorDataResponse) ToJsonString ¶
func (r *PutMonitorDataResponse) ToJsonString() string
type PutMonitorDataResponseParams ¶
type PutMonitorDataResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReceiverInfo ¶
type ReceiverInfo struct { // Start time of the alarm period. Value range: [0,86400). Convert the Unix timestamp to Beijing time and then remove the date. For example, 7200 indicates “10:0:0”. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time of the alarm period. The meaning is the same as that of StartTime. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Alarm notification method. Valid values: "SMS", "SITE", "EMAIL", "CALL", and "WECHAT". NotifyWay []*string `json:"NotifyWay,omitempty" name:"NotifyWay"` // Recipient type. Valid values: group and user. ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // ReceiverId Id *int64 `json:"Id,omitempty" name:"Id"` // Alarm call notification time. Valid values: OCCUR (indicating that a notice is sent when the alarm is triggered) and RECOVER (indicating that a notice is sent when the alarm is recovered). SendFor []*string `json:"SendFor,omitempty" name:"SendFor"` // UID of the phone call alarm. UidList []*int64 `json:"UidList,omitempty" name:"UidList"` // Number of alarm call rounds. RoundNumber *int64 `json:"RoundNumber,omitempty" name:"RoundNumber"` // Alarm call intervals for individuals in seconds. PersonInterval *int64 `json:"PersonInterval,omitempty" name:"PersonInterval"` // Intervals of alarm call rounds in seconds. RoundInterval *int64 `json:"RoundInterval,omitempty" name:"RoundInterval"` // Notification method when an alarm is recovered. Valid value: SMS. RecoverNotify []*string `json:"RecoverNotify,omitempty" name:"RecoverNotify"` // Whether to send an alarm call delivery notice. The value 0 indicates that no notice needs to be sent. The value 1 indicates that a notice needs to be sent. NeedSendNotice *int64 `json:"NeedSendNotice,omitempty" name:"NeedSendNotice"` // Recipient group list. The list of recipient group IDs that is queried by API. ReceiverGroupList []*int64 `json:"ReceiverGroupList,omitempty" name:"ReceiverGroupList"` // Recipient list. The list of recipient IDs that is queried by API. ReceiverUserList []*int64 `json:"ReceiverUserList,omitempty" name:"ReceiverUserList"` // Language of received alarms. Enumerated values: zh-CN and en-US. ReceiveLanguage *string `json:"ReceiveLanguage,omitempty" name:"ReceiveLanguage"` }
type RecordingRuleSet ¶
type RecordingRuleSet struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Group name Name *string `json:"Name,omitempty" name:"Name"` // Rule group Group *string `json:"Group,omitempty" name:"Group"` // Number of rules Total *int64 `json:"Total,omitempty" name:"Total"` // Rule creation time CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Rule update time UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"` // Rule name // Note: This field may return null, indicating that no valid values can be obtained. RuleName *string `json:"RuleName,omitempty" name:"RuleName"` }
type ResumeGrafanaInstanceRequest ¶
type ResumeGrafanaInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewResumeGrafanaInstanceRequest ¶
func NewResumeGrafanaInstanceRequest() (request *ResumeGrafanaInstanceRequest)
func (*ResumeGrafanaInstanceRequest) FromJsonString ¶
func (r *ResumeGrafanaInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeGrafanaInstanceRequest) ToJsonString ¶
func (r *ResumeGrafanaInstanceRequest) ToJsonString() string
type ResumeGrafanaInstanceRequestParams ¶
type ResumeGrafanaInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type ResumeGrafanaInstanceResponse ¶
type ResumeGrafanaInstanceResponse struct { *tchttp.BaseResponse Response *ResumeGrafanaInstanceResponseParams `json:"Response"` }
func NewResumeGrafanaInstanceResponse ¶
func NewResumeGrafanaInstanceResponse() (response *ResumeGrafanaInstanceResponse)
func (*ResumeGrafanaInstanceResponse) FromJsonString ¶
func (r *ResumeGrafanaInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeGrafanaInstanceResponse) ToJsonString ¶
func (r *ResumeGrafanaInstanceResponse) ToJsonString() string
type ResumeGrafanaInstanceResponseParams ¶
type ResumeGrafanaInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SendCustomAlarmMsgRequest ¶
type SendCustomAlarmMsgRequest struct { *tchttp.BaseRequest // API component name. The value for the current API is monitor. Module *string `json:"Module,omitempty" name:"Module"` // Message policy ID, which is configured on the custom message page of Cloud Monitor. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Custom message content that a user wants to send. Msg *string `json:"Msg,omitempty" name:"Msg"` }
func NewSendCustomAlarmMsgRequest ¶
func NewSendCustomAlarmMsgRequest() (request *SendCustomAlarmMsgRequest)
func (*SendCustomAlarmMsgRequest) FromJsonString ¶
func (r *SendCustomAlarmMsgRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendCustomAlarmMsgRequest) ToJsonString ¶
func (r *SendCustomAlarmMsgRequest) ToJsonString() string
type SendCustomAlarmMsgRequestParams ¶
type SendCustomAlarmMsgRequestParams struct { // API component name. The value for the current API is monitor. Module *string `json:"Module,omitempty" name:"Module"` // Message policy ID, which is configured on the custom message page of Cloud Monitor. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Custom message content that a user wants to send. Msg *string `json:"Msg,omitempty" name:"Msg"` }
Predefined struct for user
type SendCustomAlarmMsgResponse ¶
type SendCustomAlarmMsgResponse struct { *tchttp.BaseResponse Response *SendCustomAlarmMsgResponseParams `json:"Response"` }
func NewSendCustomAlarmMsgResponse ¶
func NewSendCustomAlarmMsgResponse() (response *SendCustomAlarmMsgResponse)
func (*SendCustomAlarmMsgResponse) FromJsonString ¶
func (r *SendCustomAlarmMsgResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendCustomAlarmMsgResponse) ToJsonString ¶
func (r *SendCustomAlarmMsgResponse) ToJsonString() string
type SendCustomAlarmMsgResponseParams ¶
type SendCustomAlarmMsgResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ServiceDiscoveryItem ¶
type ServiceDiscoveryItem struct { // Scrape configuration name Name *string `json:"Name,omitempty" name:"Name"` // Namespace of the scrape configuration Namespace *string `json:"Namespace,omitempty" name:"Namespace"` // Scrape configuration type: ServiceMonitor/PodMonitor Kind *string `json:"Kind,omitempty" name:"Kind"` // Namespace selection method // Note: This field may return null, indicating that no valid values can be obtained. NamespaceSelector *string `json:"NamespaceSelector,omitempty" name:"NamespaceSelector"` // Label selection method // Note: This field may return null, indicating that no valid values can be obtained. Selector *string `json:"Selector,omitempty" name:"Selector"` // `Endpoints` information (PodMonitor does not have this parameter) Endpoints *string `json:"Endpoints,omitempty" name:"Endpoints"` // Scrape configuration information // Note: This field may return null, indicating that no valid values can be obtained. Yaml *string `json:"Yaml,omitempty" name:"Yaml"` }
type SetDefaultAlarmPolicyRequest ¶
type SetDefaultAlarmPolicyRequest struct { *tchttp.BaseRequest // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
func NewSetDefaultAlarmPolicyRequest ¶
func NewSetDefaultAlarmPolicyRequest() (request *SetDefaultAlarmPolicyRequest)
func (*SetDefaultAlarmPolicyRequest) FromJsonString ¶
func (r *SetDefaultAlarmPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetDefaultAlarmPolicyRequest) ToJsonString ¶
func (r *SetDefaultAlarmPolicyRequest) ToJsonString() string
type SetDefaultAlarmPolicyRequestParams ¶
type SetDefaultAlarmPolicyRequestParams struct { // Module name, which is fixed at "monitor" Module *string `json:"Module,omitempty" name:"Module"` // Alarm policy ID PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
Predefined struct for user
type SetDefaultAlarmPolicyResponse ¶
type SetDefaultAlarmPolicyResponse struct { *tchttp.BaseResponse Response *SetDefaultAlarmPolicyResponseParams `json:"Response"` }
func NewSetDefaultAlarmPolicyResponse ¶
func NewSetDefaultAlarmPolicyResponse() (response *SetDefaultAlarmPolicyResponse)
func (*SetDefaultAlarmPolicyResponse) FromJsonString ¶
func (r *SetDefaultAlarmPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetDefaultAlarmPolicyResponse) ToJsonString ¶
func (r *SetDefaultAlarmPolicyResponse) ToJsonString() string
type SetDefaultAlarmPolicyResponseParams ¶
type SetDefaultAlarmPolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type TagInstance ¶
type TagInstance struct { // Tag key // Note: This field may return `null`, indicating that no valid values can be obtained. Key *string `json:"Key,omitempty" name:"Key"` // Tag value // Note: This field may return `null`, indicating that no valid values can be obtained. Value *string `json:"Value,omitempty" name:"Value"` // Number of instances // Note: This field may return `null`, indicating that no valid values can be obtained. InstanceSum *int64 `json:"InstanceSum,omitempty" name:"InstanceSum"` // Service type, for example, CVM // Note: This field may return `null`, indicating that no valid values can be obtained. ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // Region ID // Note: This field may return `null`, indicating that no valid values can be obtained. RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // Binding status. 2: bound; 1: binding // Note: This field may return `null`, indicating that no valid values can be obtained. BindingStatus *int64 `json:"BindingStatus,omitempty" name:"BindingStatus"` // Tag status. 2: existent; 1: nonexistent // Note: This field may return `null`, indicating that no valid values can be obtained. TagStatus *int64 `json:"TagStatus,omitempty" name:"TagStatus"` }
type TemplateGroup ¶
type TemplateGroup struct { // Metric alarm rules. // Note: This field may return `null`, indicating that no valid values can be obtained. Conditions []*Condition `json:"Conditions,omitempty" name:"Conditions"` // Event alarm rules. // Note: This field may return `null`, indicating that no valid values can be obtained. EventConditions []*EventCondition `json:"EventConditions,omitempty" name:"EventConditions"` // The associated alarm policy groups. // Note: This field may return `null`, indicating that no valid values can be obtained. PolicyGroups []*PolicyGroup `json:"PolicyGroups,omitempty" name:"PolicyGroups"` // Template-based policy group ID. GroupID *int64 `json:"GroupID,omitempty" name:"GroupID"` // Template-based policy group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Creation time. InsertTime *int64 `json:"InsertTime,omitempty" name:"InsertTime"` // UIN of the last modifier. LastEditUin *int64 `json:"LastEditUin,omitempty" name:"LastEditUin"` // Remarks. Remark *string `json:"Remark,omitempty" name:"Remark"` // Update time. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // View. ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // Whether the logical relationship between rules is AND. IsUnionRule *int64 `json:"IsUnionRule,omitempty" name:"IsUnionRule"` }
type TerminatePrometheusInstancesRequest ¶
type TerminatePrometheusInstancesRequest struct { *tchttp.BaseRequest // List of instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewTerminatePrometheusInstancesRequest ¶
func NewTerminatePrometheusInstancesRequest() (request *TerminatePrometheusInstancesRequest)
func (*TerminatePrometheusInstancesRequest) FromJsonString ¶
func (r *TerminatePrometheusInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminatePrometheusInstancesRequest) ToJsonString ¶
func (r *TerminatePrometheusInstancesRequest) ToJsonString() string
type TerminatePrometheusInstancesRequestParams ¶
type TerminatePrometheusInstancesRequestParams struct { // List of instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type TerminatePrometheusInstancesResponse ¶
type TerminatePrometheusInstancesResponse struct { *tchttp.BaseResponse Response *TerminatePrometheusInstancesResponseParams `json:"Response"` }
func NewTerminatePrometheusInstancesResponse ¶
func NewTerminatePrometheusInstancesResponse() (response *TerminatePrometheusInstancesResponse)
func (*TerminatePrometheusInstancesResponse) FromJsonString ¶
func (r *TerminatePrometheusInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminatePrometheusInstancesResponse) ToJsonString ¶
func (r *TerminatePrometheusInstancesResponse) ToJsonString() string
type TerminatePrometheusInstancesResponseParams ¶
type TerminatePrometheusInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type URLNotice ¶
type URLNotice struct { // Callback URL, which can contain up to 256 characters // Note: this field may return null, indicating that no valid values can be obtained. URL *string `json:"URL,omitempty" name:"URL"` // Whether verification is passed. Valid values: 0 (no), 1 (yes) // Note: this field may return null, indicating that no valid values can be obtained. IsValid *int64 `json:"IsValid,omitempty" name:"IsValid"` // Verification code // Note: this field may return null, indicating that no valid values can be obtained. ValidationCode *string `json:"ValidationCode,omitempty" name:"ValidationCode"` // Start time of the notification in seconds, which is calculated from 00:00:00. // Note: this field may return `null`, indicating that no valid values can be obtained. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // End time of the notification in seconds, which is calculated from 00:00:00. // Note: this field may return `null`, indicating that no valid values can be obtained. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Notification cycle. The values 1-7 indicate Monday to Sunday. // Note: This field may return `null`, indicating that no valid values can be obtained. Weekday []*int64 `json:"Weekday,omitempty" name:"Weekday"` }
type UnBindingAllPolicyObjectRequest ¶
type UnBindingAllPolicyObjectRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. If `PolicyId` is used, this parameter will be ignored, and any value, e.g., `0`, can be passed in. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm policy ID. If this parameter is used, `GroupId` will be ignored. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
func NewUnBindingAllPolicyObjectRequest ¶
func NewUnBindingAllPolicyObjectRequest() (request *UnBindingAllPolicyObjectRequest)
func (*UnBindingAllPolicyObjectRequest) FromJsonString ¶
func (r *UnBindingAllPolicyObjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnBindingAllPolicyObjectRequest) ToJsonString ¶
func (r *UnBindingAllPolicyObjectRequest) ToJsonString() string
type UnBindingAllPolicyObjectRequestParams ¶
type UnBindingAllPolicyObjectRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. If `PolicyId` is used, this parameter will be ignored, and any value, e.g., `0`, can be passed in. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Alarm policy ID. If this parameter is used, `GroupId` will be ignored. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
Predefined struct for user
type UnBindingAllPolicyObjectResponse ¶
type UnBindingAllPolicyObjectResponse struct { *tchttp.BaseResponse Response *UnBindingAllPolicyObjectResponseParams `json:"Response"` }
func NewUnBindingAllPolicyObjectResponse ¶
func NewUnBindingAllPolicyObjectResponse() (response *UnBindingAllPolicyObjectResponse)
func (*UnBindingAllPolicyObjectResponse) FromJsonString ¶
func (r *UnBindingAllPolicyObjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnBindingAllPolicyObjectResponse) ToJsonString ¶
func (r *UnBindingAllPolicyObjectResponse) ToJsonString() string
type UnBindingAllPolicyObjectResponseParams ¶
type UnBindingAllPolicyObjectResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UnBindingPolicyObjectRequest ¶
type UnBindingPolicyObjectRequest struct { *tchttp.BaseRequest // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. If `PolicyId` is used, this parameter will be ignored, and any value, e.g., `0`, can be passed in. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // List of unique IDs of the object instances to be deleted. `UniqueId` can be obtained from the output parameter `List` of the [DescribeBindingPolicyObjectList](https://intl.cloud.tencent.com/document/api/248/40570?from_cn_redirect=1) API UniqueId []*string `json:"UniqueId,omitempty" name:"UniqueId"` // Instance group ID. The `UniqueId` parameter is invalid if object instances are deleted by instance group. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Alarm policy ID. If this parameter is used, `GroupId` will be ignored. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
func NewUnBindingPolicyObjectRequest ¶
func NewUnBindingPolicyObjectRequest() (request *UnBindingPolicyObjectRequest)
func (*UnBindingPolicyObjectRequest) FromJsonString ¶
func (r *UnBindingPolicyObjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnBindingPolicyObjectRequest) ToJsonString ¶
func (r *UnBindingPolicyObjectRequest) ToJsonString() string
type UnBindingPolicyObjectRequestParams ¶
type UnBindingPolicyObjectRequestParams struct { // The value is fixed to monitor. Module *string `json:"Module,omitempty" name:"Module"` // Policy group ID. If `PolicyId` is used, this parameter will be ignored, and any value, e.g., `0`, can be passed in. GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // List of unique IDs of the object instances to be deleted. `UniqueId` can be obtained from the output parameter `List` of the [DescribeBindingPolicyObjectList](https://intl.cloud.tencent.com/document/api/248/40570?from_cn_redirect=1) API UniqueId []*string `json:"UniqueId,omitempty" name:"UniqueId"` // Instance group ID. The `UniqueId` parameter is invalid if object instances are deleted by instance group. InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` // Alarm policy ID. If this parameter is used, `GroupId` will be ignored. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` }
Predefined struct for user
type UnBindingPolicyObjectResponse ¶
type UnBindingPolicyObjectResponse struct { *tchttp.BaseResponse Response *UnBindingPolicyObjectResponseParams `json:"Response"` }
func NewUnBindingPolicyObjectResponse ¶
func NewUnBindingPolicyObjectResponse() (response *UnBindingPolicyObjectResponse)
func (*UnBindingPolicyObjectResponse) FromJsonString ¶
func (r *UnBindingPolicyObjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnBindingPolicyObjectResponse) ToJsonString ¶
func (r *UnBindingPolicyObjectResponse) ToJsonString() string
type UnBindingPolicyObjectResponseParams ¶
type UnBindingPolicyObjectResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UnbindPrometheusManagedGrafanaRequest ¶
type UnbindPrometheusManagedGrafanaRequest struct { *tchttp.BaseRequest // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Grafana instance ID GrafanaId *string `json:"GrafanaId,omitempty" name:"GrafanaId"` }
func NewUnbindPrometheusManagedGrafanaRequest ¶
func NewUnbindPrometheusManagedGrafanaRequest() (request *UnbindPrometheusManagedGrafanaRequest)
func (*UnbindPrometheusManagedGrafanaRequest) FromJsonString ¶
func (r *UnbindPrometheusManagedGrafanaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindPrometheusManagedGrafanaRequest) ToJsonString ¶
func (r *UnbindPrometheusManagedGrafanaRequest) ToJsonString() string
type UnbindPrometheusManagedGrafanaRequestParams ¶
type UnbindPrometheusManagedGrafanaRequestParams struct { // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Grafana instance ID GrafanaId *string `json:"GrafanaId,omitempty" name:"GrafanaId"` }
Predefined struct for user
type UnbindPrometheusManagedGrafanaResponse ¶
type UnbindPrometheusManagedGrafanaResponse struct { *tchttp.BaseResponse Response *UnbindPrometheusManagedGrafanaResponseParams `json:"Response"` }
func NewUnbindPrometheusManagedGrafanaResponse ¶
func NewUnbindPrometheusManagedGrafanaResponse() (response *UnbindPrometheusManagedGrafanaResponse)
func (*UnbindPrometheusManagedGrafanaResponse) FromJsonString ¶
func (r *UnbindPrometheusManagedGrafanaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindPrometheusManagedGrafanaResponse) ToJsonString ¶
func (r *UnbindPrometheusManagedGrafanaResponse) ToJsonString() string
type UnbindPrometheusManagedGrafanaResponseParams ¶
type UnbindPrometheusManagedGrafanaResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UninstallGrafanaDashboardRequest ¶
type UninstallGrafanaDashboardRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus integration code, indicating to delete the corresponding dashboard. Valid values: // <li>spring_mvc</li> // <li>mysql</li> // <li>go</li> // <li>redis</li> // <li>jvm</li> // <li>pgsql</li> // <li>mongo</li> // <li>kafka</li> // <li>es</li> // <li>flink</li> // <li>blackbox</li> // <li>consule</li> // <li>memcached</li> // <li>zk</li> // <li>tps</li> // <li>istio</li> // <li>etcd</li> IntegrationCodes []*string `json:"IntegrationCodes,omitempty" name:"IntegrationCodes"` }
func NewUninstallGrafanaDashboardRequest ¶
func NewUninstallGrafanaDashboardRequest() (request *UninstallGrafanaDashboardRequest)
func (*UninstallGrafanaDashboardRequest) FromJsonString ¶
func (r *UninstallGrafanaDashboardRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UninstallGrafanaDashboardRequest) ToJsonString ¶
func (r *UninstallGrafanaDashboardRequest) ToJsonString() string
type UninstallGrafanaDashboardRequestParams ¶
type UninstallGrafanaDashboardRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus integration code, indicating to delete the corresponding dashboard. Valid values: // <li>spring_mvc</li> // <li>mysql</li> // <li>go</li> // <li>redis</li> // <li>jvm</li> // <li>pgsql</li> // <li>mongo</li> // <li>kafka</li> // <li>es</li> // <li>flink</li> // <li>blackbox</li> // <li>consule</li> // <li>memcached</li> // <li>zk</li> // <li>tps</li> // <li>istio</li> // <li>etcd</li> IntegrationCodes []*string `json:"IntegrationCodes,omitempty" name:"IntegrationCodes"` }
Predefined struct for user
type UninstallGrafanaDashboardResponse ¶
type UninstallGrafanaDashboardResponse struct { *tchttp.BaseResponse Response *UninstallGrafanaDashboardResponseParams `json:"Response"` }
func NewUninstallGrafanaDashboardResponse ¶
func NewUninstallGrafanaDashboardResponse() (response *UninstallGrafanaDashboardResponse)
func (*UninstallGrafanaDashboardResponse) FromJsonString ¶
func (r *UninstallGrafanaDashboardResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UninstallGrafanaDashboardResponse) ToJsonString ¶
func (r *UninstallGrafanaDashboardResponse) ToJsonString() string
type UninstallGrafanaDashboardResponseParams ¶
type UninstallGrafanaDashboardResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UninstallGrafanaPluginsRequest ¶
type UninstallGrafanaPluginsRequest struct { *tchttp.BaseRequest // Array of plugin IDs PluginIds []*string `json:"PluginIds,omitempty" name:"PluginIds"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewUninstallGrafanaPluginsRequest ¶
func NewUninstallGrafanaPluginsRequest() (request *UninstallGrafanaPluginsRequest)
func (*UninstallGrafanaPluginsRequest) FromJsonString ¶
func (r *UninstallGrafanaPluginsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UninstallGrafanaPluginsRequest) ToJsonString ¶
func (r *UninstallGrafanaPluginsRequest) ToJsonString() string
type UninstallGrafanaPluginsRequestParams ¶
type UninstallGrafanaPluginsRequestParams struct { // Array of plugin IDs PluginIds []*string `json:"PluginIds,omitempty" name:"PluginIds"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type UninstallGrafanaPluginsResponse ¶
type UninstallGrafanaPluginsResponse struct { *tchttp.BaseResponse Response *UninstallGrafanaPluginsResponseParams `json:"Response"` }
func NewUninstallGrafanaPluginsResponse ¶
func NewUninstallGrafanaPluginsResponse() (response *UninstallGrafanaPluginsResponse)
func (*UninstallGrafanaPluginsResponse) FromJsonString ¶
func (r *UninstallGrafanaPluginsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UninstallGrafanaPluginsResponse) ToJsonString ¶
func (r *UninstallGrafanaPluginsResponse) ToJsonString() string
type UninstallGrafanaPluginsResponseParams ¶
type UninstallGrafanaPluginsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateAlertRuleRequest ¶
type UpdateAlertRuleRequest struct { *tchttp.BaseRequest // Prometheus alerting rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Alerting rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Alerting rule expression Expr *string `json:"Expr,omitempty" name:"Expr"` // Alerting rule duration Duration *string `json:"Duration,omitempty" name:"Duration"` // List of alerting rule recipient groups Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // List of alerting rule tags Labels []*PrometheusRuleKV `json:"Labels,omitempty" name:"Labels"` // List of alerting rule annotations. // // Alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. Annotations []*PrometheusRuleKV `json:"Annotations,omitempty" name:"Annotations"` // Alerting rule template category Type *string `json:"Type,omitempty" name:"Type"` }
func NewUpdateAlertRuleRequest ¶
func NewUpdateAlertRuleRequest() (request *UpdateAlertRuleRequest)
func (*UpdateAlertRuleRequest) FromJsonString ¶
func (r *UpdateAlertRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAlertRuleRequest) ToJsonString ¶
func (r *UpdateAlertRuleRequest) ToJsonString() string
type UpdateAlertRuleRequestParams ¶
type UpdateAlertRuleRequestParams struct { // Prometheus alerting rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` // Alerting rule name RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Alerting rule expression Expr *string `json:"Expr,omitempty" name:"Expr"` // Alerting rule duration Duration *string `json:"Duration,omitempty" name:"Duration"` // List of alerting rule recipient groups Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // List of alerting rule tags Labels []*PrometheusRuleKV `json:"Labels,omitempty" name:"Labels"` // List of alerting rule annotations. // // Alert object and alert message are special fields of Prometheus Rule Annotations, which need to be passed in through `annotations` and correspond to `summary` and `description` keys respectively. Annotations []*PrometheusRuleKV `json:"Annotations,omitempty" name:"Annotations"` // Alerting rule template category Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type UpdateAlertRuleResponse ¶
type UpdateAlertRuleResponse struct { *tchttp.BaseResponse Response *UpdateAlertRuleResponseParams `json:"Response"` }
func NewUpdateAlertRuleResponse ¶
func NewUpdateAlertRuleResponse() (response *UpdateAlertRuleResponse)
func (*UpdateAlertRuleResponse) FromJsonString ¶
func (r *UpdateAlertRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAlertRuleResponse) ToJsonString ¶
func (r *UpdateAlertRuleResponse) ToJsonString() string
type UpdateAlertRuleResponseParams ¶
type UpdateAlertRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateAlertRuleStateRequest ¶
type UpdateAlertRuleStateRequest struct { *tchttp.BaseRequest // List of rule IDs RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule status code. Valid values: // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` }
func NewUpdateAlertRuleStateRequest ¶
func NewUpdateAlertRuleStateRequest() (request *UpdateAlertRuleStateRequest)
func (*UpdateAlertRuleStateRequest) FromJsonString ¶
func (r *UpdateAlertRuleStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAlertRuleStateRequest) ToJsonString ¶
func (r *UpdateAlertRuleStateRequest) ToJsonString() string
type UpdateAlertRuleStateRequestParams ¶
type UpdateAlertRuleStateRequestParams struct { // List of rule IDs RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rule status code. Valid values: // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` }
Predefined struct for user
type UpdateAlertRuleStateResponse ¶
type UpdateAlertRuleStateResponse struct { *tchttp.BaseResponse Response *UpdateAlertRuleStateResponseParams `json:"Response"` }
func NewUpdateAlertRuleStateResponse ¶
func NewUpdateAlertRuleStateResponse() (response *UpdateAlertRuleStateResponse)
func (*UpdateAlertRuleStateResponse) FromJsonString ¶
func (r *UpdateAlertRuleStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAlertRuleStateResponse) ToJsonString ¶
func (r *UpdateAlertRuleStateResponse) ToJsonString() string
type UpdateAlertRuleStateResponseParams ¶
type UpdateAlertRuleStateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateDNSConfigRequest ¶
type UpdateDNSConfigRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of DNS servers NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` }
func NewUpdateDNSConfigRequest ¶
func NewUpdateDNSConfigRequest() (request *UpdateDNSConfigRequest)
func (*UpdateDNSConfigRequest) FromJsonString ¶
func (r *UpdateDNSConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDNSConfigRequest) ToJsonString ¶
func (r *UpdateDNSConfigRequest) ToJsonString() string
type UpdateDNSConfigRequestParams ¶
type UpdateDNSConfigRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Array of DNS servers NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` }
Predefined struct for user
type UpdateDNSConfigResponse ¶
type UpdateDNSConfigResponse struct { *tchttp.BaseResponse Response *UpdateDNSConfigResponseParams `json:"Response"` }
func NewUpdateDNSConfigResponse ¶
func NewUpdateDNSConfigResponse() (response *UpdateDNSConfigResponse)
func (*UpdateDNSConfigResponse) FromJsonString ¶
func (r *UpdateDNSConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDNSConfigResponse) ToJsonString ¶
func (r *UpdateDNSConfigResponse) ToJsonString() string
type UpdateDNSConfigResponseParams ¶
type UpdateDNSConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateExporterIntegrationRequest ¶
type UpdateExporterIntegrationRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Configuration content Content *string `json:"Content,omitempty" name:"Content"` }
func NewUpdateExporterIntegrationRequest ¶
func NewUpdateExporterIntegrationRequest() (request *UpdateExporterIntegrationRequest)
func (*UpdateExporterIntegrationRequest) FromJsonString ¶
func (r *UpdateExporterIntegrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateExporterIntegrationRequest) ToJsonString ¶
func (r *UpdateExporterIntegrationRequest) ToJsonString() string
type UpdateExporterIntegrationRequestParams ¶
type UpdateExporterIntegrationRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Kubernetes cluster type. Valid values: // <li> 1 = TKE </li> // <li> 2 = EKS </li> // <li> 3 = MEKS </li> KubeType *int64 `json:"KubeType,omitempty" name:"KubeType"` // Cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Type Kind *string `json:"Kind,omitempty" name:"Kind"` // Configuration content Content *string `json:"Content,omitempty" name:"Content"` }
Predefined struct for user
type UpdateExporterIntegrationResponse ¶
type UpdateExporterIntegrationResponse struct { *tchttp.BaseResponse Response *UpdateExporterIntegrationResponseParams `json:"Response"` }
func NewUpdateExporterIntegrationResponse ¶
func NewUpdateExporterIntegrationResponse() (response *UpdateExporterIntegrationResponse)
func (*UpdateExporterIntegrationResponse) FromJsonString ¶
func (r *UpdateExporterIntegrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateExporterIntegrationResponse) ToJsonString ¶
func (r *UpdateExporterIntegrationResponse) ToJsonString() string
type UpdateExporterIntegrationResponseParams ¶
type UpdateExporterIntegrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateGrafanaConfigRequest ¶
type UpdateGrafanaConfigRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // JSON-encoded string Config *string `json:"Config,omitempty" name:"Config"` }
func NewUpdateGrafanaConfigRequest ¶
func NewUpdateGrafanaConfigRequest() (request *UpdateGrafanaConfigRequest)
func (*UpdateGrafanaConfigRequest) FromJsonString ¶
func (r *UpdateGrafanaConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaConfigRequest) ToJsonString ¶
func (r *UpdateGrafanaConfigRequest) ToJsonString() string
type UpdateGrafanaConfigRequestParams ¶
type UpdateGrafanaConfigRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // JSON-encoded string Config *string `json:"Config,omitempty" name:"Config"` }
Predefined struct for user
type UpdateGrafanaConfigResponse ¶
type UpdateGrafanaConfigResponse struct { *tchttp.BaseResponse Response *UpdateGrafanaConfigResponseParams `json:"Response"` }
func NewUpdateGrafanaConfigResponse ¶
func NewUpdateGrafanaConfigResponse() (response *UpdateGrafanaConfigResponse)
func (*UpdateGrafanaConfigResponse) FromJsonString ¶
func (r *UpdateGrafanaConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaConfigResponse) ToJsonString ¶
func (r *UpdateGrafanaConfigResponse) ToJsonString() string
type UpdateGrafanaConfigResponseParams ¶
type UpdateGrafanaConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateGrafanaEnvironmentsRequest ¶
type UpdateGrafanaEnvironmentsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Environment variable string Envs *string `json:"Envs,omitempty" name:"Envs"` }
func NewUpdateGrafanaEnvironmentsRequest ¶
func NewUpdateGrafanaEnvironmentsRequest() (request *UpdateGrafanaEnvironmentsRequest)
func (*UpdateGrafanaEnvironmentsRequest) FromJsonString ¶
func (r *UpdateGrafanaEnvironmentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaEnvironmentsRequest) ToJsonString ¶
func (r *UpdateGrafanaEnvironmentsRequest) ToJsonString() string
type UpdateGrafanaEnvironmentsRequestParams ¶
type UpdateGrafanaEnvironmentsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Environment variable string Envs *string `json:"Envs,omitempty" name:"Envs"` }
Predefined struct for user
type UpdateGrafanaEnvironmentsResponse ¶
type UpdateGrafanaEnvironmentsResponse struct { *tchttp.BaseResponse Response *UpdateGrafanaEnvironmentsResponseParams `json:"Response"` }
func NewUpdateGrafanaEnvironmentsResponse ¶
func NewUpdateGrafanaEnvironmentsResponse() (response *UpdateGrafanaEnvironmentsResponse)
func (*UpdateGrafanaEnvironmentsResponse) FromJsonString ¶
func (r *UpdateGrafanaEnvironmentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaEnvironmentsResponse) ToJsonString ¶
func (r *UpdateGrafanaEnvironmentsResponse) ToJsonString() string
type UpdateGrafanaEnvironmentsResponseParams ¶
type UpdateGrafanaEnvironmentsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateGrafanaIntegrationRequest ¶
type UpdateGrafanaIntegrationRequest struct { *tchttp.BaseRequest // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Integration type Kind *string `json:"Kind,omitempty" name:"Kind"` // Integration content Content *string `json:"Content,omitempty" name:"Content"` }
func NewUpdateGrafanaIntegrationRequest ¶
func NewUpdateGrafanaIntegrationRequest() (request *UpdateGrafanaIntegrationRequest)
func (*UpdateGrafanaIntegrationRequest) FromJsonString ¶
func (r *UpdateGrafanaIntegrationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaIntegrationRequest) ToJsonString ¶
func (r *UpdateGrafanaIntegrationRequest) ToJsonString() string
type UpdateGrafanaIntegrationRequestParams ¶
type UpdateGrafanaIntegrationRequestParams struct { // Integration ID IntegrationId *string `json:"IntegrationId,omitempty" name:"IntegrationId"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Integration type Kind *string `json:"Kind,omitempty" name:"Kind"` // Integration content Content *string `json:"Content,omitempty" name:"Content"` }
Predefined struct for user
type UpdateGrafanaIntegrationResponse ¶
type UpdateGrafanaIntegrationResponse struct { *tchttp.BaseResponse Response *UpdateGrafanaIntegrationResponseParams `json:"Response"` }
func NewUpdateGrafanaIntegrationResponse ¶
func NewUpdateGrafanaIntegrationResponse() (response *UpdateGrafanaIntegrationResponse)
func (*UpdateGrafanaIntegrationResponse) FromJsonString ¶
func (r *UpdateGrafanaIntegrationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaIntegrationResponse) ToJsonString ¶
func (r *UpdateGrafanaIntegrationResponse) ToJsonString() string
type UpdateGrafanaIntegrationResponseParams ¶
type UpdateGrafanaIntegrationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateGrafanaNotificationChannelRequest ¶
type UpdateGrafanaNotificationChannelRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Array of notification channel IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // This parameter has been deprecated. Please use `OrganizationIds` instead. ExtraOrgIds []*string `json:"ExtraOrgIds,omitempty" name:"ExtraOrgIds"` // Array of valid organization IDs OrganizationIds []*string `json:"OrganizationIds,omitempty" name:"OrganizationIds"` }
func NewUpdateGrafanaNotificationChannelRequest ¶
func NewUpdateGrafanaNotificationChannelRequest() (request *UpdateGrafanaNotificationChannelRequest)
func (*UpdateGrafanaNotificationChannelRequest) FromJsonString ¶
func (r *UpdateGrafanaNotificationChannelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaNotificationChannelRequest) ToJsonString ¶
func (r *UpdateGrafanaNotificationChannelRequest) ToJsonString() string
type UpdateGrafanaNotificationChannelRequestParams ¶
type UpdateGrafanaNotificationChannelRequestParams struct { // Channel ID ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Channel name ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // Array of notification channel IDs Receivers []*string `json:"Receivers,omitempty" name:"Receivers"` // This parameter has been deprecated. Please use `OrganizationIds` instead. ExtraOrgIds []*string `json:"ExtraOrgIds,omitempty" name:"ExtraOrgIds"` // Array of valid organization IDs OrganizationIds []*string `json:"OrganizationIds,omitempty" name:"OrganizationIds"` }
Predefined struct for user
type UpdateGrafanaNotificationChannelResponse ¶
type UpdateGrafanaNotificationChannelResponse struct { *tchttp.BaseResponse Response *UpdateGrafanaNotificationChannelResponseParams `json:"Response"` }
func NewUpdateGrafanaNotificationChannelResponse ¶
func NewUpdateGrafanaNotificationChannelResponse() (response *UpdateGrafanaNotificationChannelResponse)
func (*UpdateGrafanaNotificationChannelResponse) FromJsonString ¶
func (r *UpdateGrafanaNotificationChannelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaNotificationChannelResponse) ToJsonString ¶
func (r *UpdateGrafanaNotificationChannelResponse) ToJsonString() string
type UpdateGrafanaNotificationChannelResponseParams ¶
type UpdateGrafanaNotificationChannelResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateGrafanaWhiteListRequest ¶
type UpdateGrafanaWhiteListRequest struct { *tchttp.BaseRequest // Instance name InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Allowlist in array Whitelist []*string `json:"Whitelist,omitempty" name:"Whitelist"` }
func NewUpdateGrafanaWhiteListRequest ¶
func NewUpdateGrafanaWhiteListRequest() (request *UpdateGrafanaWhiteListRequest)
func (*UpdateGrafanaWhiteListRequest) FromJsonString ¶
func (r *UpdateGrafanaWhiteListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaWhiteListRequest) ToJsonString ¶
func (r *UpdateGrafanaWhiteListRequest) ToJsonString() string
type UpdateGrafanaWhiteListRequestParams ¶
type UpdateGrafanaWhiteListRequestParams struct { // Instance name InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Allowlist in array Whitelist []*string `json:"Whitelist,omitempty" name:"Whitelist"` }
Predefined struct for user
type UpdateGrafanaWhiteListResponse ¶
type UpdateGrafanaWhiteListResponse struct { *tchttp.BaseResponse Response *UpdateGrafanaWhiteListResponseParams `json:"Response"` }
func NewUpdateGrafanaWhiteListResponse ¶
func NewUpdateGrafanaWhiteListResponse() (response *UpdateGrafanaWhiteListResponse)
func (*UpdateGrafanaWhiteListResponse) FromJsonString ¶
func (r *UpdateGrafanaWhiteListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateGrafanaWhiteListResponse) ToJsonString ¶
func (r *UpdateGrafanaWhiteListResponse) ToJsonString() string
type UpdateGrafanaWhiteListResponseParams ¶
type UpdateGrafanaWhiteListResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdatePrometheusAgentStatusRequest ¶
type UpdatePrometheusAgentStatusRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of agent IDs AgentIds []*string `json:"AgentIds,omitempty" name:"AgentIds"` // Status to update // <li> 1 = enabled </li> // <li> 2 = disabled </li> Status *int64 `json:"Status,omitempty" name:"Status"` }
func NewUpdatePrometheusAgentStatusRequest ¶
func NewUpdatePrometheusAgentStatusRequest() (request *UpdatePrometheusAgentStatusRequest)
func (*UpdatePrometheusAgentStatusRequest) FromJsonString ¶
func (r *UpdatePrometheusAgentStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePrometheusAgentStatusRequest) ToJsonString ¶
func (r *UpdatePrometheusAgentStatusRequest) ToJsonString() string
type UpdatePrometheusAgentStatusRequestParams ¶
type UpdatePrometheusAgentStatusRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of agent IDs AgentIds []*string `json:"AgentIds,omitempty" name:"AgentIds"` // Status to update // <li> 1 = enabled </li> // <li> 2 = disabled </li> Status *int64 `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type UpdatePrometheusAgentStatusResponse ¶
type UpdatePrometheusAgentStatusResponse struct { *tchttp.BaseResponse Response *UpdatePrometheusAgentStatusResponseParams `json:"Response"` }
func NewUpdatePrometheusAgentStatusResponse ¶
func NewUpdatePrometheusAgentStatusResponse() (response *UpdatePrometheusAgentStatusResponse)
func (*UpdatePrometheusAgentStatusResponse) FromJsonString ¶
func (r *UpdatePrometheusAgentStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePrometheusAgentStatusResponse) ToJsonString ¶
func (r *UpdatePrometheusAgentStatusResponse) ToJsonString() string
type UpdatePrometheusAgentStatusResponseParams ¶
type UpdatePrometheusAgentStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdatePrometheusScrapeJobRequest ¶
type UpdatePrometheusScrapeJobRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Scrape task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Scrape task configuration Config *string `json:"Config,omitempty" name:"Config"` }
func NewUpdatePrometheusScrapeJobRequest ¶
func NewUpdatePrometheusScrapeJobRequest() (request *UpdatePrometheusScrapeJobRequest)
func (*UpdatePrometheusScrapeJobRequest) FromJsonString ¶
func (r *UpdatePrometheusScrapeJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePrometheusScrapeJobRequest) ToJsonString ¶
func (r *UpdatePrometheusScrapeJobRequest) ToJsonString() string
type UpdatePrometheusScrapeJobRequestParams ¶
type UpdatePrometheusScrapeJobRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Agent ID AgentId *string `json:"AgentId,omitempty" name:"AgentId"` // Scrape task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Scrape task configuration Config *string `json:"Config,omitempty" name:"Config"` }
Predefined struct for user
type UpdatePrometheusScrapeJobResponse ¶
type UpdatePrometheusScrapeJobResponse struct { *tchttp.BaseResponse Response *UpdatePrometheusScrapeJobResponseParams `json:"Response"` }
func NewUpdatePrometheusScrapeJobResponse ¶
func NewUpdatePrometheusScrapeJobResponse() (response *UpdatePrometheusScrapeJobResponse)
func (*UpdatePrometheusScrapeJobResponse) FromJsonString ¶
func (r *UpdatePrometheusScrapeJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdatePrometheusScrapeJobResponse) ToJsonString ¶
func (r *UpdatePrometheusScrapeJobResponse) ToJsonString() string
type UpdatePrometheusScrapeJobResponseParams ¶
type UpdatePrometheusScrapeJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateRecordingRuleRequest ¶
type UpdateRecordingRuleRequest struct { *tchttp.BaseRequest // Recording rule name Name *string `json:"Name,omitempty" name:"Name"` // Recording rule group content, which is in YAML format and is Base64-encoded. Group *string `json:"Group,omitempty" name:"Group"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus recording rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` }
func NewUpdateRecordingRuleRequest ¶
func NewUpdateRecordingRuleRequest() (request *UpdateRecordingRuleRequest)
func (*UpdateRecordingRuleRequest) FromJsonString ¶
func (r *UpdateRecordingRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRecordingRuleRequest) ToJsonString ¶
func (r *UpdateRecordingRuleRequest) ToJsonString() string
type UpdateRecordingRuleRequestParams ¶
type UpdateRecordingRuleRequestParams struct { // Recording rule name Name *string `json:"Name,omitempty" name:"Name"` // Recording rule group content, which is in YAML format and is Base64-encoded. Group *string `json:"Group,omitempty" name:"Group"` // Prometheus instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus recording rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Rule status code. Valid values: // <li>1=RuleDeleted</li> // <li>2=RuleEnabled</li> // <li>3=RuleDisabled</li> // Default value: 2 (enabled). RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"` }
Predefined struct for user
type UpdateRecordingRuleResponse ¶
type UpdateRecordingRuleResponse struct { *tchttp.BaseResponse Response *UpdateRecordingRuleResponseParams `json:"Response"` }
func NewUpdateRecordingRuleResponse ¶
func NewUpdateRecordingRuleResponse() (response *UpdateRecordingRuleResponse)
func (*UpdateRecordingRuleResponse) FromJsonString ¶
func (r *UpdateRecordingRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRecordingRuleResponse) ToJsonString ¶
func (r *UpdateRecordingRuleResponse) ToJsonString() string
type UpdateRecordingRuleResponseParams ¶
type UpdateRecordingRuleResponseParams struct { // Rule ID // Note: This field may return null, indicating that no valid values can be obtained. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateSSOAccountRequest ¶
type UpdateSSOAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Permission Role []*GrafanaAccountRole `json:"Role,omitempty" name:"Role"` // Remarks Notes *string `json:"Notes,omitempty" name:"Notes"` }
func NewUpdateSSOAccountRequest ¶
func NewUpdateSSOAccountRequest() (request *UpdateSSOAccountRequest)
func (*UpdateSSOAccountRequest) FromJsonString ¶
func (r *UpdateSSOAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateSSOAccountRequest) ToJsonString ¶
func (r *UpdateSSOAccountRequest) ToJsonString() string
type UpdateSSOAccountRequestParams ¶
type UpdateSSOAccountRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User account ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Permission Role []*GrafanaAccountRole `json:"Role,omitempty" name:"Role"` // Remarks Notes *string `json:"Notes,omitempty" name:"Notes"` }
Predefined struct for user
type UpdateSSOAccountResponse ¶
type UpdateSSOAccountResponse struct { *tchttp.BaseResponse Response *UpdateSSOAccountResponseParams `json:"Response"` }
func NewUpdateSSOAccountResponse ¶
func NewUpdateSSOAccountResponse() (response *UpdateSSOAccountResponse)
func (*UpdateSSOAccountResponse) FromJsonString ¶
func (r *UpdateSSOAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateSSOAccountResponse) ToJsonString ¶
func (r *UpdateSSOAccountResponse) ToJsonString() string
type UpdateSSOAccountResponseParams ¶
type UpdateSSOAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeGrafanaDashboardRequest ¶
type UpgradeGrafanaDashboardRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus integration code, indicating to upgrade to the corresponding dashboard. Valid values: // <li>spring_mvc</li> // <li>mysql</li> // <li>go</li> // <li>redis</li> // <li>jvm</li> // <li>pgsql</li> // <li>mongo</li> // <li>kafka</li> // <li>es</li> // <li>flink</li> // <li>blackbox</li> // <li>consule</li> // <li>memcached</li> // <li>zk</li> // <li>tps</li> // <li>istio</li> // <li>etcd</li> IntegrationCodes []*string `json:"IntegrationCodes,omitempty" name:"IntegrationCodes"` }
func NewUpgradeGrafanaDashboardRequest ¶
func NewUpgradeGrafanaDashboardRequest() (request *UpgradeGrafanaDashboardRequest)
func (*UpgradeGrafanaDashboardRequest) FromJsonString ¶
func (r *UpgradeGrafanaDashboardRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeGrafanaDashboardRequest) ToJsonString ¶
func (r *UpgradeGrafanaDashboardRequest) ToJsonString() string
type UpgradeGrafanaDashboardRequestParams ¶
type UpgradeGrafanaDashboardRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Prometheus integration code, indicating to upgrade to the corresponding dashboard. Valid values: // <li>spring_mvc</li> // <li>mysql</li> // <li>go</li> // <li>redis</li> // <li>jvm</li> // <li>pgsql</li> // <li>mongo</li> // <li>kafka</li> // <li>es</li> // <li>flink</li> // <li>blackbox</li> // <li>consule</li> // <li>memcached</li> // <li>zk</li> // <li>tps</li> // <li>istio</li> // <li>etcd</li> IntegrationCodes []*string `json:"IntegrationCodes,omitempty" name:"IntegrationCodes"` }
Predefined struct for user
type UpgradeGrafanaDashboardResponse ¶
type UpgradeGrafanaDashboardResponse struct { *tchttp.BaseResponse Response *UpgradeGrafanaDashboardResponseParams `json:"Response"` }
func NewUpgradeGrafanaDashboardResponse ¶
func NewUpgradeGrafanaDashboardResponse() (response *UpgradeGrafanaDashboardResponse)
func (*UpgradeGrafanaDashboardResponse) FromJsonString ¶
func (r *UpgradeGrafanaDashboardResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeGrafanaDashboardResponse) ToJsonString ¶
func (r *UpgradeGrafanaDashboardResponse) ToJsonString() string
type UpgradeGrafanaDashboardResponseParams ¶
type UpgradeGrafanaDashboardResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeGrafanaInstanceRequest ¶
type UpgradeGrafanaInstanceRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Version alias Alias *string `json:"Alias,omitempty" name:"Alias"` }
func NewUpgradeGrafanaInstanceRequest ¶
func NewUpgradeGrafanaInstanceRequest() (request *UpgradeGrafanaInstanceRequest)
func (*UpgradeGrafanaInstanceRequest) FromJsonString ¶
func (r *UpgradeGrafanaInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeGrafanaInstanceRequest) ToJsonString ¶
func (r *UpgradeGrafanaInstanceRequest) ToJsonString() string
type UpgradeGrafanaInstanceRequestParams ¶
type UpgradeGrafanaInstanceRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Version alias Alias *string `json:"Alias,omitempty" name:"Alias"` }
Predefined struct for user
type UpgradeGrafanaInstanceResponse ¶
type UpgradeGrafanaInstanceResponse struct { *tchttp.BaseResponse Response *UpgradeGrafanaInstanceResponseParams `json:"Response"` }
func NewUpgradeGrafanaInstanceResponse ¶
func NewUpgradeGrafanaInstanceResponse() (response *UpgradeGrafanaInstanceResponse)
func (*UpgradeGrafanaInstanceResponse) FromJsonString ¶
func (r *UpgradeGrafanaInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeGrafanaInstanceResponse) ToJsonString ¶
func (r *UpgradeGrafanaInstanceResponse) ToJsonString() string
type UpgradeGrafanaInstanceResponseParams ¶
type UpgradeGrafanaInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UserNotice ¶
type UserNotice struct { // Recipient type. Valid values: USER (user), GROUP (user group) // Note: this field may return null, indicating that no valid values can be obtained. ReceiverType *string `json:"ReceiverType,omitempty" name:"ReceiverType"` // Notification start time, which is expressed by the number of seconds since 00:00:00. Value range: 0–86399 // Note: this field may return null, indicating that no valid values can be obtained. StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // Notification end time, which is expressed by the number of seconds since 00:00:00. Value range: 0–86399 // Note: this field may return null, indicating that no valid values can be obtained. EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Notification channel list. Valid values: `EMAIL` (email), `SMS` (SMS), `CALL` (phone), `WECHAT` (WeChat), `RTX` (WeCom) // Note: This field may return `null`, indicating that no valid values can be obtained. NoticeWay []*string `json:"NoticeWay,omitempty" name:"NoticeWay"` // User `uid` list // Note: this field may return null, indicating that no valid values can be obtained. UserIds []*int64 `json:"UserIds,omitempty" name:"UserIds"` // User group ID list // Note: this field may return null, indicating that no valid values can be obtained. GroupIds []*int64 `json:"GroupIds,omitempty" name:"GroupIds"` // Phone polling list // Note: this field may return null, indicating that no valid values can be obtained. PhoneOrder []*int64 `json:"PhoneOrder,omitempty" name:"PhoneOrder"` // Number of phone pollings. Value range: 1–5 // Note: this field may return null, indicating that no valid values can be obtained. PhoneCircleTimes *int64 `json:"PhoneCircleTimes,omitempty" name:"PhoneCircleTimes"` // Call interval in seconds within one polling. Value range: 60–900 // Note: this field may return null, indicating that no valid values can be obtained. PhoneInnerInterval *int64 `json:"PhoneInnerInterval,omitempty" name:"PhoneInnerInterval"` // Polling interval in seconds. Value range: 60–900 // Note: this field may return null, indicating that no valid values can be obtained. PhoneCircleInterval *int64 `json:"PhoneCircleInterval,omitempty" name:"PhoneCircleInterval"` // Whether receipt notification is required. Valid values: 0 (no), 1 (yes) // Note: this field may return null, indicating that no valid values can be obtained. NeedPhoneArriveNotice *int64 `json:"NeedPhoneArriveNotice,omitempty" name:"NeedPhoneArriveNotice"` // Dial type. `SYNC` (simultaneous dial), `CIRCLE` (polled dial). Default value: `CIRCLE`. // Note: This field may return `null`, indicating that no valid values can be obtained. PhoneCallType *string `json:"PhoneCallType,omitempty" name:"PhoneCallType"` // Notification cycle. The values 1-7 indicate Monday to Sunday. // Note: This field may return `null`, indicating that no valid values can be obtained. Weekday []*int64 `json:"Weekday,omitempty" name:"Weekday"` }