Skip to content

Commit

Permalink
🧹 Update ARM Specs
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencegripper committed Nov 20, 2023
1 parent 6c9cc6d commit 30e4426
Show file tree
Hide file tree
Showing 1,415 changed files with 489,062 additions and 10,788 deletions.
3,694 changes: 2,042 additions & 1,652 deletions internal/pkg/expanders/swagger-armspecs.generated.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
},
"info": {
"version": "2018-06-10",
"version": "2023-11-01",
"title": "Common types"
},
"paths": {},
Expand Down Expand Up @@ -113,6 +113,15 @@
"in": "path",
"x-ms-parameter-location": "method",
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
},
"ModuleNameParameter": {
"name": "moduleName",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$",
"description": "The name of module."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@
"type": "string",
"description": "Enum describing allowed operation states.",
"enum": [
"InProgress",
"NotStarted",
"Running",
"Succeeded",
"Failed",
"Canceled"
Expand All @@ -392,8 +393,13 @@
"modelAsString": true,
"values": [
{
"name": "InProgress",
"value": "InProgress",
"name": "NotStarted",
"value": "NotStarted",
"description": "The operation has not started."
},
{
"name": "Running",
"value": "Running",
"description": "The operation is in progress."
},
{
Expand Down
2 changes: 1 addition & 1 deletion swagger-specs/communication/data-plane/Common/api-set.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"addition_input_file_paths": [], "input_files": ["stable/2021-03-07/common.json"], "name": "package-2021-03-07-stable"}
{"addition_input_file_paths": [], "input_files": ["stable/2023-11-15/common.json"], "name": "package-2023-11-15-stable"}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Communication",
"description": "Communication Services API common types.",
"version": "2021-03-07"
"version": "2023-11-15"
},
"paths": {},
"definitions": {
Expand Down Expand Up @@ -70,10 +70,29 @@
"modelAsString": true
}
},
"CommunicationIdentifierModelKind": {
"description": "The identifier kind, for example 'communicationUser' or 'phoneNumber'.",
"type": "string",
"enum": [
"unknown",
"communicationUser",
"phoneNumber",
"microsoftTeamsUser",
"microsoftTeamsApp"
],
"x-ms-enum": {
"name": "CommunicationIdentifierModelKind",
"modelAsString": true
}
},
"CommunicationIdentifierModel": {
"description": "Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.",
"description": "Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value.",
"type": "object",
"properties": {
"kind": {
"$ref": "#/definitions/CommunicationIdentifierModelKind",
"description": "The identifier kind. Only required in responses."
},
"rawId": {
"type": "string",
"description": "Raw Id of the identifier. Optional in requests, required in responses."
Expand All @@ -89,6 +108,10 @@
"microsoftTeamsUser": {
"$ref": "#/definitions/MicrosoftTeamsUserIdentifierModel",
"description": "The Microsoft Teams user."
},
"microsoftTeamsApp": {
"$ref": "#/definitions/MicrosoftTeamsAppIdentifierModel",
"description": "The Microsoft Teams application."
}
}
},
Expand Down Expand Up @@ -138,6 +161,23 @@
"description": "The cloud that the Microsoft Teams user belongs to. By default 'public' if missing."
}
}
},
"MicrosoftTeamsAppIdentifierModel": {
"description": "A Microsoft Teams application.",
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "The Id of the Microsoft Teams application."
},
"cloud": {
"$ref": "#/definitions/CommunicationCloudEnvironmentModel",
"description": "The cloud that the Microsoft Teams application belongs to. By default 'public' if missing."
}
}
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"addition_input_file_paths": [], "input_files": ["preview/2022-07-18-preview/communicationservicejobrouter.json"], "name": "package-jobrouter-2022-07-18-preview"}
{"addition_input_file_paths": [], "input_files": ["stable/2023-11-01/communicationservicejobrouter.json"], "name": "package-jobrouter-2023-11-01"}
Loading

0 comments on commit 30e4426

Please sign in to comment.