ApplicationsTrafficRule.GET.yaml 1.53 KB
Newer Older
1
description: This method retrieves information about all the traffic rules associated with a mobile edge application instance.
2
operationId: ApplicationsTrafficRule_GET
3
4
5
6
7
8
9
10
11
12
produces:
- application/json

responses:
  200:
    description: It is used to indicate nonspecific success. The response body contains a representation of the resource.
    schema:
      type: object
      properties:
        TrafficRule:
13
14
15
          $ref: '#/definitions/TrafficRule'
    examples:
      application/json:
16
        - TrafficRule:
17
18
19
            trafficRuleId: 'TrafficRule123'
            serName: 'ExampleService'
            filterType: 'FLOW'
20
            priority: 1
21
22
23
24
25
26
27
28
29
30
31
32
33
            trafficFilter:
              - srcAddress:
                  - '192.168.2.0/24'
                  - '192.168.3.0/24'
                dstAddress:
                  - '192.127.4.100/32'
                dstPort:
                  - '80'
            action: 'FORWARD_DECAPSULATED'
            dstInterface:
              interfaceType: 'IP'
              dstIpAddress: '20.1.1.1'
            state: 'ACTIVE'
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
  400:
    description: Bad Request
    schema:
      type: object
      properties:
        ProblemDetails:
          $ref: '#/definitions/ProblemDetails'
  403:
    description: Forbidden
    schema:
      type: object
      required:
      - ProblemDetails
      properties:
        ProblemDetails:
          $ref: '#/definitions/ProblemDetails'
  404:
    description: Not Found
    schema:
      type: object
      properties:
        ProblemDetails:
          $ref: '#/definitions/ProblemDetails'