Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ARM Specs #540

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading