-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 15240 in Azure/azure-rest-api-specs
[Hub Generated] Review request for Microsoft.PowerBI to add version stable/2020-06-01 (#15240) * New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * New Azure AZ Readme Config File * New Azure CLI Readme Config File * New Go Language Readme Config File * New Python Language Readme Config File * New Typescript Language Readme Config File * New C# Language Readme Config File * Adding swaggers for Power BI private links * Fixed Lint erros. * Fixed spellcheck * Fixed Lint errors * fixed Avocado error * fixed model validation * fixed model validation. * updated private endpoint connections * updated PrivateLinkResources * updated PrivateLinkResource * updated private endpoint connection proxies * fixed model validation. * updated connectionstate * renamed connection files * update readme file. * updated python readme * fixed code review comments * updated error ref. * Removed Error and linked to common-type. * added 201 to put request * removed unnecessary definitions. * updates examples for 201 * updated list of * removed extra space * Added patch to PowerBIResource * added 202 to PrivateLinkServiceResourceOperationResults_Get * updated readme files * added provisioning state * trying to fix sdk error * removed privateEndpointConnectionProxies * added PrivateLinkResources_Get * added privateLinkResourceName in example * removed privateLinkServicesForPowerBI from URL * added nextLink * fixed prettier * Fixed error for Prettier
- Loading branch information
SDKAuto
committed
Aug 17, 2021
1 parent
5150e49
commit 2c61535
Showing
3 changed files
with
280 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters