ApplicationsDnsRule.GET.yaml 1.13 KB
Newer Older
1
description: This method retrieves information about a DNS rule associated with a mobile edge application instance. 
2
operationId: ApplicationsDnsRule_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:
        DnsRule:
Shlomi Hadad's avatar
Shlomi Hadad committed
13
14
15
          $ref: '#/definitions/DnsRule'
    examples:
      application/json:
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
        DnsRule:
          dnsRuleId: DnsRule1
          domainName: www.example.com
          ipAddressType: IP_V4
          ipAddress: 146.241.7.3
          ttl: 300
          state: ACTIVE
  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'