Commit 029c28b2 authored by Shlomi Hadad's avatar Shlomi Hadad
Browse files

Added example to DNS rule



Change-Id: I0604b9108e1f77a0ee6b753ed3e1fd905f5a16fb
Signed-off-by: default avatarShlomi Hadad <shlomi.hadad@saguna.net>
parent 8cb95f45
Loading
Loading
Loading
Loading

examples/DnsRule.json

0 → 100644
+10 −0
Original line number Diff line number Diff line
{
	"DnsRule": {
		"dnsRuleId": "DnsRule1",
		"domainName": "www.example.com",
		"ipAddressType": "IP_V4",
		"ipAddress": "146.241.7.3",
		"ttl": 300,
		"state": "ACTIVE"
	}
}
 No newline at end of file

examples/DnsRule.yaml

0 → 100644
+7 −0
Original line number Diff line number Diff line
DnsRule:
  dnsRuleId: DnsRule1
  domainName: www.example.com
  ipAddressType: IP_V4
  ipAddress: 146.241.7.3
  ttl: 300
  state: ACTIVE
+4 −1
Original line number Diff line number Diff line
@@ -11,3 +11,6 @@ responses:
      properties:
        DnsRule:
          $ref: '#/definitions/DnsRule'
    examples:
      application/json:
        $ref: '../examples/DnsRule.json' 
 No newline at end of file
+5 −1
Original line number Diff line number Diff line
@@ -13,3 +13,7 @@ responses:
      properties:
        DnsRule:
          $ref: '#/definitions/DnsRule'
          
    examples:
      application/json:
        $ref: '../examples/DnsRule.json' 
 No newline at end of file