Skip to content

Commit

Permalink
PowerBIDedicated - Add new API Version (Azure#12244)
Browse files Browse the repository at this point in the history
* Copy existing version to new directory

* Update API Version

* Introduce new SKU tier enum values

* Fix linting issue - introduce required new default property SystemData

* Update Readme.md

(cherry picked from commit c434161)

* update api version to right format

* renamed folder

* Add swagger file for new resource type Microsoft.PowerBIDedicated/autoScaleVCores

* Update powerbidedicated.json

Add Mode property

* Update powerbidedicated.json

Fix words

Co-authored-by: Shane Zou <xinzo@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent f519464 commit e744ea5
Show file tree
Hide file tree
Showing 22 changed files with 2,329 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"location": "West US",
"capacityParameters": {
"name": "azsdktest",
"type": "Microsoft.PowerBIDedicated/capacities"
},
"api-version": "2021-01-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"nameAvailable": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"vcoreName": "testvcore",
"api-version": "2021-01-01",
"vCoreParameters": {
"sku": {
"name": "AutoScale",
"tier": "AutoScale",
"capacity": 0
},
"tags": {
"testKey": "testValue"
},
"location": "West US",
"properties": {
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
"capacityLimit": 10
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore",
"name": "testvcore",
"location": "West US",
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
"sku": {
"name": "AutoScale",
"tier": "AutoScale",
"capacity": 0
},
"properties": {
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
"capacityLimit": 10,
"provisioningState": "Succeeded"
},
"tags": {
"testKey": "testValue"
},
"systemData": {
"createdBy": "app1",
"createdByType": "Application",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "app1",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"dedicatedCapacityName": "azsdktest",
"api-version": "2021-01-01",
"capacityParameters": {
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
},
"location": "West US",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
},
"201": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/servers/azsdktest",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"vcoreName": "testvcore",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"headers": {},
"description": "OK."
},
"204": {
"headers": {},
"description": "No content."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"dedicatedCapacityName": "azsdktest",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"headers": {},
"description": "OK."
},
"202": {
"headers": {},
"description": "Accepted."
},
"204": {
"headers": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"vcoreName": "testvcore",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore",
"name": "testvcore",
"location": "West US",
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
"sku": {
"name": "AutoScale",
"tier": "AutoScale",
"capacity": 0
},
"properties": {
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
"capacityLimit": 10,
"provisioningState": "Succeeded"
},
"tags": {},
"systemData": {
"createdBy": "app1",
"createdByType": "Application",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "app1",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"dedicatedCapacityName": "azsdktest",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com"
]
},
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore1",
"name": "testvcore1",
"location": "West US",
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
"sku": {
"name": "AutoScale",
"tier": "AutoScale",
"capacity": 5
},
"properties": {
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
"capacityLimit": 10,
"provisioningState": "Succeeded"
},
"tags": {
"testKey": "testValue"
}
},
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore2",
"name": "testvcore2",
"location": "West US",
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
"sku": {
"name": "AutoScale",
"tier": "AutoScale",
"capacity": 0
},
"properties": {
"capacityObjectId": "f59f226b-a313-4266-8768-a45961c2edbb",
"capacityLimit": 10,
"provisioningState": "Succeeded"
},
"tags": {
"testKey": "testValue"
}
}
]
}
}
}
}
Loading

0 comments on commit e744ea5

Please sign in to comment.