github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/proto/api-skeleton-v1.yaml (about)

     1  name: alerting.edgelq.com
     2  proto:
     3    package:
     4      name: ntt.alerting
     5      currentVersion: v1
     6      goPackage: github.com/cloudwan/edgelq/alerting
     7      protoImportPathPrefix: edgelq/alerting/proto
     8    service:
     9      name: Alerting
    10      defaultHost: alerting.edgelq.com
    11      oauthScopes: https://apis.edgelq.com
    12  
    13  imports:
    14  - meta.goten.com
    15  - audit.edgelq.com
    16  - iam.edgelq.com
    17  - monitoring.edgelq.com
    18  - logging.edgelq.com
    19  - secrets.edgelq.com
    20  
    21  resources:
    22  - name: Policy
    23    plural: Policies
    24    optIns:
    25      searchable: true
    26    parents:
    27    - iam.edgelq.com/Project
    28  
    29  - name: Document
    30    optIns:
    31      searchable: true
    32    parents:
    33    - iam.edgelq.com/Project
    34  
    35  - name: TsCondition
    36    optIns:
    37      searchable: true
    38    parents:
    39    - Policy
    40  
    41  - name: LogCondition
    42    optIns:
    43      searchable: true
    44    parents:
    45    - Policy
    46  
    47  - name: Alert
    48    parents:
    49    - TsCondition
    50    - LogCondition
    51    scopeAttributes:
    52    - Region
    53    idPattern: "[a-zA-Z0-9_.:-]{1,128}"
    54    multiRegion:
    55      syncType: NEVER
    56    actions:
    57    - name: BulkSaveAlerts
    58      opResourceInfo:
    59        skipResourceInRequest: true
    60        isCollection: true
    61      withStoreHandle:
    62        transaction: SNAPSHOT
    63      multiRegionRouting:
    64        skipCodeGenBasedRouting: true
    65    - name: BulkMarkAsNotified
    66      opResourceInfo:
    67        skipResourceInRequest: true
    68        isCollection: true
    69      withStoreHandle:
    70        transaction: SNAPSHOT
    71      multiRegionRouting:
    72        skipCodeGenBasedRouting: true
    73  
    74  - name: NotificationChannel
    75    parents:
    76    - iam.edgelq.com/Project
    77    actions:
    78    # Action to test a notification channel
    79    - name: TestNotificationChannel
    80      verb: test
    81      opResourceInfo:
    82        isCollection: false
    83        isPlural: false
    84      responseName: google.protobuf.Empty
    85      skipResponseMsgGen: true
    86      withStoreHandle:
    87        transaction: SNAPSHOT
    88        readOnly: false
    89  
    90  - name: TsEntry
    91    plural: TsEntries
    92    idPattern: "[\\\\w+/=]{1,256}"
    93    parents:
    94    - TsCondition
    95    scopeAttributes:
    96    - Region
    97    multiRegion:
    98      syncType: NEVER
    99  
   100  - name: PolicyTemplate
   101    optIns:
   102      searchable: true
   103    parents:
   104    - iam.edgelq.com/Project
   105  
   106  - name: TsConditionTemplate
   107    optIns:
   108      searchable: true
   109    parents:
   110    - PolicyTemplate
   111  
   112  - name: LogConditionTemplate
   113    optIns:
   114      searchable: true
   115    parents:
   116    - PolicyTemplate
   117  
   118  apis:
   119  - name: EdgeWatchService
   120    actions:
   121    - name: WatchAlertData
   122      withStoreHandle:
   123        transaction: NONE
   124        readOnly: true
   125      multiRegionRouting:
   126        skipCodeGenBasedRouting: true
   127      streamingResponse: true