Skip to content

Commit

Permalink
Add new SKU tier "C1" enum value for Copilot For Health. (#29884)
Browse files Browse the repository at this point in the history
* Copy files from stable/2023-05-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to stable/2024-02-01

Updated the API version from stable/2023-05-01 to stable/2024-02-01.

* Added tag for 2024-02-01 in readme file

* add C1 SKU name enum value

* after Swagger PrettierCheck

* after Swagger PrettierCheck

* after Swagger PrettierCheck

* add sdk-suppressions.yaml

* Update sdk-suppressions.yaml

---------

Co-authored-by: Arie Schwartzman <ariesch.microsoft.com>
Co-authored-by: Alancere <804873052@qq.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 26, 2024
1 parent 4ad3246 commit def00e9
Show file tree
Hide file tree
Showing 12 changed files with 1,386 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2024-02-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Healthbot/healthbots/read",
"display": {
"provider": "Azure Health Bot",
"resource": "Azure Health Bot",
"operation": "Read Azure Health Bot",
"description": "Read Azure Health Bot"
},
"origin": "user,system"
},
{
"name": "Microsoft.Healthbot/healthbots/write",
"display": {
"provider": "Azure Health Bot",
"resource": "Azure Health Bot",
"operation": "Write Azure Health Bot",
"description": "Writes Azure Health Bot"
},
"origin": "user,system"
},
{
"name": "Microsoft.Healthbot/healthbots/delete",
"display": {
"provider": "Azure Health Bot",
"resource": "Azure Health Bot",
"operation": "Delete Azure Health Bot",
"description": "Deletes Azure Health Bot"
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2024-02-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname-1yhd91k"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
},
{
"location": "East US",
"name": "samplebotname2",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname2",
"sku": {
"name": "S1"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname2-hdi1osc"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2024-02-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "East US",
"name": "samplebotname2",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname2",
"sku": {
"name": "S1"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/samplebotname2-hdi1osc"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2024-02-01",
"subscriptionId": "subid",
"botName": "samplebotname"
},
"responses": {
"200": {
"body": {
"secrets": [
{
"keyName": "APP_SECRET",
"value": "XXXXX"
},
{
"keyName": "WEBCHAT_SECRET",
"value": "XXXXX"
},
{
"keyName": "API_JWT_SECRET",
"value": "XXXXX"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2024-02-01",
"subscriptionId": "subid",
"botName": "samplebotname"
},
"responses": {
"200": {
"body": {
"keyName": "API_JWT_SECRET",
"value": "XXXXX"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2024-02-01",
"subscriptionId": "subid",
"botName": "samplebotname",
"parameters": {
"location": "East US",
"sku": {
"name": "F0"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"type": "SystemAssigned, UserAssigned"
}
}
},
"responses": {
"200": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
},
"201": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso",
"provisioningState": "Provisioning"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2024-02-01",
"subscriptionId": "subid",
"botName": "samplebotname"
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Healthbot/locations/eastus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-08-08"
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Healthbot/locations/eastus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-08-08"
}
},
"204": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Healthbot/locations/eastus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-08-08"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2024-02-01",
"subscriptionId": "subid",
"botName": "samplebotname"
},
"responses": {
"200": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {},
"/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}
},
"principalId": "principalId",
"tenantId": "tenantId",
"type": "SystemAssigned, UserAssigned"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
}
}
}
Loading

0 comments on commit def00e9

Please sign in to comment.