ApplicationsTrafficRule.GET.yaml 1.44 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
17
18
19
20
21
22
23
24
25
26
27
28
29
        - TrafficRule:
            trafficRuleId: TrafficRule123
            serName: ExampleService
            filterType: FLOW
            priority: 1
            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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  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'