Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"api-version": "2015-05-01-preview",
"parameters": {
"properties": {
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
"ignoreVnetPrivateAccessConfiguration": false,
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
}
}
},
Expand All @@ -18,7 +19,8 @@
"name": "vnet-firewall-rule",
"type": "Microsoft.Sql/servers/virtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
"ignoreVnetPrivateAccessConfiguration": false,
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
}
}
},
Expand All @@ -28,7 +30,8 @@
"name": "vnet-firewall-rule",
"type": "Microsoft.Sql/servers/virtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
"ignoreVnetPrivateAccessConfiguration": false,
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"state" is missing from these responses

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will just be there in GET and LIST responses.

}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"name": "vnet-firewall-rule",
"type": "Microsoft.Sql/servers/virtualNetworkRules",
"properties": {
"ignoreVnetPrivateAccessConfiguration": false,
"state": "Ready",
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"name": "vnet-firewall-rule",
"type": "Microsoft.Sql/servers/virtualNetworkRules",
"properties": {
"ignoreVnetPrivateAccessConfiguration": false,
"state": "Ready",
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
}
},
Expand All @@ -23,6 +25,8 @@
"name": "vnet-firewall-rule",
"type": "Microsoft.Sql/servers/virtualNetworkRules",
"properties": {
"ignoreVnetPrivateAccessConfiguration": false,
"state": "Ready",
"virtualNetworkSubnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2015-05-01-preview",
"version": "2.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undo

"title": "SqlManagementClient",
"description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
},
Expand Down Expand Up @@ -219,11 +219,34 @@
"definitions": {
"VirtualNetworkRuleProperties": {
"description": "Properties of a virtual network rule.",
"required": [
"virtualNetworkSubnetId"
],
"type": "object",
"properties": {
"virtualNetworkSubnetId": {
"description": "The resource ID of the virtual network subnet",
"description": "The ARM resource id of the virtual network subnet.",
"type": "string"
},
"ignoreVnetPrivateAccessConfiguration": {
"description": "Create firewall rule before the virtual network has private access enabled.",
"type": "boolean"
},
"state": {
"description": "Virtual Network Rule State",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't use title casing, ie. change to Virtual network rule state

"enum": [
"Initializing",
"InProgress",
"Ready",
"Deleting",
"Unknown"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "VirtualNetworkRuleState",
"modelAsString": true
}
}
}
},
Expand Down Expand Up @@ -348,4 +371,4 @@
}
}
}
}
}