Commit 97edbaca authored by Walter Featherstone's avatar Walter Featherstone Committed by Gerrit Code Review
Browse files

Merge "Added example to DNS rule"

parents efab0a9a 029c28b2
Loading
Loading
Loading
Loading

examples/DnsRule.json

0 → 100644
+10 −0
Original line number Original line 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 Original line 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 Original line Diff line number Diff line
@@ -11,3 +11,6 @@ responses:
      properties:
      properties:
        DnsRule:
        DnsRule:
          $ref: '#/definitions/DnsRule'
          $ref: '#/definitions/DnsRule'
    examples:
      application/json:
        $ref: '../examples/DnsRule.json' 
 No newline at end of file
+5 −1
Original line number Original line Diff line number Diff line
@@ -13,3 +13,7 @@ responses:
      properties:
      properties:
        DnsRule:
        DnsRule:
          $ref: '#/definitions/DnsRule'
          $ref: '#/definitions/DnsRule'
          
    examples:
      application/json:
        $ref: '../examples/DnsRule.json' 
 No newline at end of file