Skip to content

Commit

Permalink
Generated from 4e1a6d439ee9e663521d413f14c8c840ecf7272a
Browse files Browse the repository at this point in the history
reverted the erorrresonse changes
  • Loading branch information
SDK Automation committed Sep 3, 2020
1 parent 85ebda1 commit 1636709
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 11 deletions.
187 changes: 176 additions & 11 deletions schemas/2018-01-01-preview/Microsoft.EventHub.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/EHNamespacePropertiesModel"
"$ref": "#/definitions/EHNamespaceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -128,6 +128,9 @@
},
{
"$ref": "#/definitions/namespaces_networkRuleSets_childResource"
},
{
"$ref": "#/definitions/namespaces_privateEndpointConnections_childResource"
}
]
}
Expand Down Expand Up @@ -236,7 +239,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/NetworkRuleSetPropertiesModel"
"$ref": "#/definitions/NetworkRuleSetProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -259,6 +262,45 @@
],
"description": "Microsoft.EventHub/namespaces/networkRuleSets"
},
"namespaces_privateEndpointConnections": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2018-01-01-preview"
]
},
"name": {
"type": "string",
"description": "The PrivateEndpointConnection name"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of the private endpoint connection resource."
},
"type": {
"type": "string",
"enum": [
"Microsoft.EventHub/namespaces/privateEndpointConnections"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.EventHub/namespaces/privateEndpointConnections"
},
"namespaces_virtualnetworkrules": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -342,7 +384,34 @@
],
"description": "SKU parameters particular to a cluster instance."
},
"EHNamespacePropertiesModel": {
"ConnectionState": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of the connection state."
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"Pending",
"Approved",
"Rejected",
"Disconnected"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Status of the connection."
}
},
"description": "ConnectionState information."
},
"EHNamespaceProperties": {
"type": "object",
"properties": {
"clusterArmId": {
Expand Down Expand Up @@ -576,7 +645,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/NetworkRuleSetPropertiesModel"
"$ref": "#/definitions/NetworkRuleSetProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -599,6 +668,45 @@
],
"description": "Microsoft.EventHub/namespaces/networkRuleSets"
},
"namespaces_privateEndpointConnections_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2018-01-01-preview"
]
},
"name": {
"type": "string",
"description": "The PrivateEndpointConnection name"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of the private endpoint connection resource."
},
"type": {
"type": "string",
"enum": [
"privateEndpointConnections"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.EventHub/namespaces/privateEndpointConnections"
},
"namespaces_virtualnetworkrules_childResource": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -639,7 +747,7 @@
],
"description": "Microsoft.EventHub/namespaces/virtualnetworkrules"
},
"NetworkRuleSetPropertiesModel": {
"NetworkRuleSetProperties": {
"type": "object",
"properties": {
"defaultAction": {
Expand All @@ -662,7 +770,7 @@
{
"type": "array",
"items": {
"$ref": "#/definitions/NWRuleSetIpRulesModel"
"$ref": "#/definitions/NWRuleSetIpRules"
}
},
{
Expand All @@ -687,7 +795,7 @@
{
"type": "array",
"items": {
"$ref": "#/definitions/NWRuleSetVirtualNetworkRulesModel"
"$ref": "#/definitions/NWRuleSetVirtualNetworkRules"
}
},
{
Expand All @@ -699,7 +807,7 @@
},
"description": "NetworkRuleSet properties"
},
"NWRuleSetIpRulesModel": {
"NWRuleSetIpRules": {
"type": "object",
"properties": {
"action": {
Expand All @@ -723,7 +831,7 @@
},
"description": "The response from the List namespace operation."
},
"NWRuleSetVirtualNetworkRulesModel": {
"NWRuleSetVirtualNetworkRules": {
"type": "object",
"properties": {
"ignoreMissingVnetServiceEndpoint": {
Expand All @@ -740,7 +848,7 @@
"subnet": {
"oneOf": [
{
"$ref": "#/definitions/SubnetModel"
"$ref": "#/definitions/Subnet"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -751,6 +859,63 @@
},
"description": "The response from the List namespace operation."
},
"PrivateEndpoint": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ARM identifier for Private Endpoint."
}
},
"description": "PrivateEndpoint information."
},
"PrivateEndpointConnectionProperties": {
"type": "object",
"properties": {
"privateEndpoint": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpoint"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "PrivateEndpoint information."
},
"privateLinkServiceConnectionState": {
"oneOf": [
{
"$ref": "#/definitions/ConnectionState"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ConnectionState information."
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Creating",
"Updating",
"Deleting",
"Succeeded",
"Canceled",
"Failed"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Provisioning state of the Private Endpoint Connection."
}
},
"description": "Properties of the private endpoint connection resource."
},
"Sku": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -803,7 +968,7 @@
],
"description": "SKU parameters supplied to the create namespace operation"
},
"SubnetModel": {
"Subnet": {
"type": "object",
"properties": {
"id": {
Expand Down
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3163,6 +3163,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces_networkRuleSets"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces_privateEndpointConnections"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces_virtualnetworkrules"
},
Expand Down

0 comments on commit 1636709

Please sign in to comment.