Skip to content

Commit

Permalink
Merge pull request #2097 from Azure/autogenerate
Browse files Browse the repository at this point in the history
Merge Autogenerate
  • Loading branch information
jorgecotillo authored Dec 10, 2021
2 parents 61419ef + aee3a86 commit b5027ae
Show file tree
Hide file tree
Showing 7 changed files with 1,965 additions and 52 deletions.
20 changes: 14 additions & 6 deletions generator/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2600,25 +2600,29 @@
"2021-02-01-preview",
"2021-06-01-preview",
"2021-07-01",
"2021-10-01-preview"
"2021-10-01-preview",
"2021-12-01-preview"
],
"Microsoft.DataProtection/backupVaults/backupInstances": [
"2021-01-01",
"2021-02-01-preview",
"2021-06-01-preview",
"2021-07-01",
"2021-10-01-preview"
"2021-10-01-preview",
"2021-12-01-preview"
],
"Microsoft.DataProtection/backupVaults/backupPolicies": [
"2021-01-01",
"2021-02-01-preview",
"2021-06-01-preview",
"2021-07-01",
"2021-10-01-preview"
"2021-10-01-preview",
"2021-12-01-preview"
],
"Microsoft.DataProtection/resourceGuards": [
"2021-07-01",
"2021-10-01-preview"
"2021-10-01-preview",
"2021-12-01-preview"
],
"Microsoft.DataShare/accounts": [
"2018-11-01-preview",
Expand Down Expand Up @@ -3689,11 +3693,15 @@
],
"Microsoft.Elastic/monitors": [
"2020-07-01",
"2020-07-01-preview"
"2020-07-01-preview",
"2021-09-01-preview",
"2021-10-01-preview"
],
"Microsoft.Elastic/monitors/tagRules": [
"2020-07-01",
"2020-07-01-preview"
"2020-07-01-preview",
"2021-09-01-preview",
"2021-10-01-preview"
],
"Microsoft.EngagementFabric/Accounts": [
"2018-09-01-preview"
Expand Down
276 changes: 276 additions & 0 deletions schemas/2020-06-01/Microsoft.PowerBI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
{
"id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.PowerBI.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.PowerBI",
"description": "Microsoft PowerBI Resource Types",
"resourceDefinitions": {
"privateLinkServicesForPowerBI": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01"
]
},
"location": {
"type": "string",
"description": "Specifies the location of the resource."
},
"name": {
"type": "string",
"description": "The name of the Azure resource."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/TenantProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/privateLinkServicesForPowerBI_privateEndpointConnections_childResource"
}
]
}
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the tags of the resource."
},
"type": {
"type": "string",
"enum": [
"Microsoft.PowerBI/privateLinkServicesForPowerBI"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.PowerBI/privateLinkServicesForPowerBI"
},
"privateLinkServicesForPowerBI_privateEndpointConnections": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01"
]
},
"name": {
"type": "string",
"description": "The name of the private endpoint."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"type": "string",
"enum": [
"Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections"
}
},
"definitions": {
"ConnectionState": {
"type": "object",
"properties": {
"actionsRequired": {
"type": "string",
"description": "Actions required (if any)."
},
"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."
},
"PrivateEndpoint": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Specifies the id of private endpoint."
}
}
},
"PrivateEndpointConnection": {
"type": "object",
"properties": {
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
},
"PrivateEndpointConnectionProperties": {
"type": "object",
"properties": {
"privateEndpoint": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpoint"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"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."
}
}
},
"privateLinkServicesForPowerBI_privateEndpointConnections_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01"
]
},
"name": {
"type": "string",
"description": "The name of the private endpoint."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"type": "string",
"enum": [
"privateEndpointConnections"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections"
},
"TenantProperties": {
"type": "object",
"properties": {
"privateEndpointConnections": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the private endpoint connections of the resource."
},
"tenantId": {
"type": "string",
"description": "Specifies the tenant id of the resource."
}
}
}
}
}
23 changes: 0 additions & 23 deletions schemas/2021-03-01-preview/Microsoft.Confluent.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,29 +176,6 @@
"maxLength": 50,
"description": "Publisher Id"
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"Started",
"PendingFulfillmentStart",
"InProgress",
"Subscribed",
"Suspended",
"Reinstated",
"Succeeded",
"Failed",
"Unsubscribed",
"Updating"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "SaaS Offer Status."
},
"termUnit": {
"type": "string",
"maxLength": 25,
Expand Down
23 changes: 0 additions & 23 deletions schemas/2021-09-01-preview/Microsoft.Confluent.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,29 +176,6 @@
"maxLength": 50,
"description": "Publisher Id"
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"Started",
"PendingFulfillmentStart",
"InProgress",
"Subscribed",
"Suspended",
"Reinstated",
"Succeeded",
"Failed",
"Unsubscribed",
"Updating"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "SaaS Offer Status."
},
"termUnit": {
"type": "string",
"maxLength": 25,
Expand Down
Loading

0 comments on commit b5027ae

Please sign in to comment.