Skip to content
Merged
Changes from all commits
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 @@ -1565,19 +1565,65 @@
"items": {
"$ref": "#/definitions/VirtualNetworkRule"
}
},
"ipRules": {
"description": "The IP ACL rules.",
"type": "array",
"items": {
"$ref": "#/definitions/IPRule"
}
}
}
},
"VirtualNetworkRule": {
"description": "The virtual network rule for a container registry.",
"description": "Virtual network rule.",
"required": [
"id"
],
"type": "object",
"properties": {
"action": {
"description": "The action of virtual network rule.",
"default": "Allow",
"enum": [
"Allow"
],
"type": "string",
"x-ms-enum": {
"name": "Action",
"modelAsString": true
}
},
"id": {
"description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.",
"type": "string"
"type": "string",
"x-ms-client-name": "VirtualNetworkResourceId"
}
}
},
"IPRule": {
"description": "IP rule with specific IP or IP range in CIDR format.",
"required": [
"value"
],
"type": "object",
"properties": {
"action": {
"description": "The action of IP ACL rule.",
"default": "Allow",
"enum": [
"Allow"
],
"type": "string",
"x-ms-enum": {
"name": "Action",
"modelAsString": true
}
},
"value": {
"description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.",
"type": "string",
"x-ms-client-name": "IPAddressOrRange"
}
}
},
Expand Down