// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListIntegrationPoliciesRequestTag extends $dara.Model { /** * @remarks * The tag key. * * @example * test */ key?: string; /** * @remarks * The tag value. * * @example * value */ value?: string; static names(): { [key: string]: string } { return { key: 'key', value: 'value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListIntegrationPoliciesRequest extends $dara.Model { /** * @remarks * The add-on name. * * @example * cs-default */ addonName?: string; /** * @remarks * The ID of the bound resource. * * @example * 622d27c2e87d49debceeebc7c642610e */ bindResourceId?: string; /** * @remarks * The entity IDs used for filtering, separated by commas. * * @example * eg-1,eg-2,eg-3 */ entityGroupIds?: string; /** * @remarks * The region IDs used for the query, separated by commas. * * @example * cn-beijing,cn-hangzhou * * @deprecated */ filterRegionIds?: string; /** * @remarks * The maximum number of results to return. Default value: 30. Maximum value: 100. * * @example * 30 */ maxResults?: number; /** * @remarks * The token used to retrieve more results. This parameter is not required for the first query. For subsequent queries, use the token returned in the previous response. * * @example * mvnX6zqg3P */ nextToken?: string; /** * @remarks * The policy ID. * * @example * policy-93817a401f78435596d745a97d2e85a1 */ policyId?: string; /** * @remarks * The rule name. * * @example * prod-database */ policyName?: string; /** * @remarks * The policy type. * * @example * CS */ policyType?: string; /** * @remarks * The instance ID. * * @example * cmee-622d27c2e87d49debceeebc7c642610e */ prometheusInstanceId?: string; /** * @remarks * The query string for general queries. * * @example * test */ query?: string; /** * @remarks * The resource group ID. * * @example * rg-xxxxx */ resourceGroupId?: string; /** * @remarks * The list of tags. */ tag?: ListIntegrationPoliciesRequestTag[]; /** * @remarks * The workspace. * * @example * demo */ workspace?: string; static names(): { [key: string]: string } { return { addonName: 'addonName', bindResourceId: 'bindResourceId', entityGroupIds: 'entityGroupIds', filterRegionIds: 'filterRegionIds', maxResults: 'maxResults', nextToken: 'nextToken', policyId: 'policyId', policyName: 'policyName', policyType: 'policyType', prometheusInstanceId: 'prometheusInstanceId', query: 'query', resourceGroupId: 'resourceGroupId', tag: 'tag', workspace: 'workspace', }; } static types(): { [key: string]: any } { return { addonName: 'string', bindResourceId: 'string', entityGroupIds: 'string', filterRegionIds: 'string', maxResults: 'number', nextToken: 'string', policyId: 'string', policyName: 'string', policyType: 'string', prometheusInstanceId: 'string', query: 'string', resourceGroupId: 'string', tag: { 'type': 'array', 'itemType': ListIntegrationPoliciesRequestTag }, workspace: 'string', }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }