Skip to content

Commit

Permalink
Fixing properties in Swagger & updating examples to reflect fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupali Vohra committed Aug 31, 2018
1 parent ea8045e commit 0139e0a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
"provisioningState": "Succeeded",
"serviceName": "Microsoft.Provider/resourceType",
"actions": []
}
},
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
}
],
"purpose": ""
}
},
"type": "Microsoft.Network/virtualNetworks/subnets"
}
},
"201": {
Expand All @@ -49,11 +51,13 @@
"provisioningState": "Succeeded",
"serviceName": "Microsoft.Provider/resourceType",
"actions": []
}
},
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
}
],
"purpose": ""
}
},
"type": "Microsoft.Network/virtualNetworks/subnets"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
"provisioningState": "Succeeded",
"serviceName": "Microsoft.Provider/resourceType",
"actions": []
}
},
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
}
],
"purpose": ""
}
},
"type": "Microsoft.Network/virtualNetworks/subnets"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@
"provisioningState": "Succeeded",
"serviceName": "Microsoft.Provider/resourceType",
"actions": []
}
},
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
}
],
"purpose": ""
}
},
"type": "Microsoft.Network/virtualNetworks/subnets"
}
],
"virtualNetworkPeerings" : []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@
"provisioningState": "Succeeded",
"serviceName": "Microsoft.Provider/resourceType",
"actions": []
}
},
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
}
],
"purpose": ""
}
},
"type": "Microsoft.Network/virtualNetworks/subnets"
}
],
"virtualNetworkPeerings" : []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,17 @@
"serviceName": {
"type": "string",
"description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)"
},
"actions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Describes the actions permitted to the service upon delegation"
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the resource."
}
},
"description": "Properties of a service delegation."
Expand All @@ -890,6 +901,11 @@
"description": "A unique read-only string that changes whenever the resource is updated."
}
},
"allOf": [
{
"$ref": "./network.json#/definitions/SubResource"
}
],
"description": "Details the service to which the subnet is delegated."
},
"SubnetPropertiesFormat": {
Expand Down

0 comments on commit 0139e0a

Please sign in to comment.