Skip to content

Commit e3e4cac

Browse files
committed
Fixed warnings
1 parent 5823b77 commit e3e4cac

File tree

1 file changed

+8
-9
lines changed
  • specification/network/resource-manager/Microsoft.Network/stable/2021-03-01

1 file changed

+8
-9
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/loadBalancer.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,16 +1436,10 @@
14361436
"schema": {
14371437
"$ref": "#/definitions/BackendAddressInboundNatRulePortMappings"
14381438
}
1439-
},
1440-
"default": {
1441-
"description": "Error response describing why the operation failed.",
1442-
"schema": {
1443-
"$ref": "#/definitions/ErrorResponse"
1444-
}
14451439
}
14461440
},
14471441
"x-ms-examples": {
1448-
"Check connectivity": {
1442+
"Query inbound Nat rule port mapping": {
14491443
"$ref": "./examples/QueryInboundNatRulePortMapping.json"
14501444
}
14511445
},
@@ -1717,11 +1711,12 @@
17171711
"description": "Reference to the frontend ip address configuration defined in regional loadbalancer."
17181712
},
17191713
"inboundNatRulesPortMapping": {
1714+
"readOnly": true,
17201715
"type": "array",
17211716
"items": {
17221717
"$ref": "#/definitions/NatRulePortMapping"
17231718
},
1724-
"description": "Collection of inboound Nat rule port mappings."
1719+
"description": "Collection of inbound Nat rule port mappings."
17251720
}
17261721
},
17271722
"description": "Properties of the load balancer backend addresses."
@@ -2526,6 +2521,7 @@
25262521
"description": "The properties of VIP swap request's frontend IP configuration object."
25272522
},
25282523
"NatRulePortMapping": {
2524+
"type": "object",
25292525
"properties": {
25302526
"inboundNatRuleName": {
25312527
"type": "string",
@@ -2545,6 +2541,7 @@
25452541
"description": "Individual port mappings for inbound NAT rule created for backend pool."
25462542
},
25472543
"QueryInboundNatRulePortMappingRequest": {
2544+
"type": "object",
25482545
"properties": {
25492546
"iPConfiguration": {
25502547
"$ref": "./network.json#/definitions/SubResource",
@@ -2558,18 +2555,20 @@
25582555
"description": "The request for a QueryInboundNatRulePortMapping API."
25592556
},
25602557
"BackendAddressInboundNatRulePortMappings": {
2558+
"type": "object",
25612559
"properties": {
25622560
"inboundNatRulePortMappings": {
25632561
"type": "array",
25642562
"items": {
25652563
"$ref": "#/definitions/InboundNatRulePortMapping"
25662564
},
2567-
"description": "Collection of inboound Nat rule port mappings."
2565+
"description": "Collection of inbound Nat rule port mappings."
25682566
}
25692567
},
25702568
"description": "The response for a QueryInboundNatRulePortMapping API."
25712569
},
25722570
"InboundNatRulePortMapping": {
2571+
"type": "object",
25732572
"properties": {
25742573
"inboundNatRuleName": {
25752574
"type": "string",

0 commit comments

Comments
 (0)