Skip to content

Commit

Permalink
CodeGen from PR 12189 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
RMS - Adding changes to fix the correctness validation issues. (#12189)

* Adding changes to fix the correctness validation issues. Missing properties - prov state, nat rules. Case correction - fqdn.

* Removing prov state.

* Adding other missing properties. NSG in SubnetSettings and Public IP in NIC IP settings.

* Removing property case change
  • Loading branch information
SDKAuto committed Jan 18, 2021
1 parent 99c0769 commit bf1851d
Showing 1 changed file with 80 additions and 1 deletion.
81 changes: 80 additions & 1 deletion schemas/2019-10-01-preview/Microsoft.Migrate.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,23 @@
],
"description": "Defines reference to load balancer backend address pools."
},
"LoadBalancerNatRuleReference": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Gets the name of the proxy resource on the target side."
},
"sourceArmResourceId": {
"type": "string",
"description": "Gets the ARM resource ID of the tracked resource being referenced."
}
},
"required": [
"sourceArmResourceId"
],
"description": "Defines reference to load balancer NAT rules."
},
"LoadBalancerResourceSettings": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -535,6 +552,20 @@
],
"description": "Gets or sets the references of the load balancer backend address pools."
},
"loadBalancerNatRules": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/LoadBalancerNatRuleReference"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the references of the load balancer NAT rules."
},
"name": {
"type": "string",
"description": "Gets or sets the IP configuration name."
Expand All @@ -558,6 +589,17 @@
"type": "string",
"description": "Gets or sets the private IP address allocation method."
},
"publicIp": {
"oneOf": [
{
"$ref": "#/definitions/PublicIpReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Defines reference to a public IP."
},
"subnet": {
"oneOf": [
{
Expand All @@ -572,6 +614,19 @@
},
"description": "Defines NIC IP configuration properties."
},
"NsgReference": {
"type": "object",
"properties": {
"sourceArmResourceId": {
"type": "string",
"description": "Gets the ARM resource ID of the tracked resource being referenced."
}
},
"required": [
"sourceArmResourceId"
],
"description": "Defines reference to NSG."
},
"NsgSecurityRule": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -660,6 +715,19 @@
],
"description": "Defines the public IP address resource settings."
},
"PublicIpReference": {
"type": "object",
"properties": {
"sourceArmResourceId": {
"type": "string",
"description": "Gets the ARM resource ID of the tracked resource being referenced."
}
},
"required": [
"sourceArmResourceId"
],
"description": "Defines reference to a public IP."
},
"ResourceGroupResourceSettings": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -823,6 +891,17 @@
"name": {
"type": "string",
"description": "Gets or sets the Subnet name."
},
"networkSecurityGroup": {
"oneOf": [
{
"$ref": "#/definitions/NsgReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Defines reference to NSG."
}
},
"description": "Defines the virtual network subnets resource settings."
Expand Down Expand Up @@ -936,4 +1015,4 @@
"description": "Defines the virtual network resource settings."
}
}
}
}

0 comments on commit bf1851d

Please sign in to comment.