-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'voiceservices/api-release' (#…
…23928) * add or modify files * Fix up python package and readme * Update readme.python.md --------- Co-authored-by: Yuchao Yan <[email protected]>
- Loading branch information
1 parent
ea8a561
commit 1dc3b69
Showing
34 changed files
with
2,744 additions
and
3 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
...Microsoft.VoiceServices/cadl/examples/2023-03-01-preview/NameAvailability_CheckLocal.json
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,22 @@ | ||
{ | ||
"operationId": "NameAvailability_CheckLocal", | ||
"title": "CheckNameAvailability", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2023-03-01-preview", | ||
"location": "useast", | ||
"body": { | ||
"name": "myname", | ||
"type": "Microsoft.VoiceServices/CommunicationsGateways" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "Some error string" | ||
} | ||
} | ||
} | ||
} |
162 changes: 162 additions & 0 deletions
162
...crosoft.VoiceServices/cadl/examples/2023-04-03/CommunicationsGateways_CreateOrUpdate.json
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,162 @@ | ||
{ | ||
"operationId": "CommunicationsGateways_CreateOrUpdate", | ||
"title": "CreateCommunicationsGatewayResource", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2023-04-03", | ||
"name": "myname", | ||
"communicationsGatewayName": "myname", | ||
"resource": { | ||
"location": "useast", | ||
"properties": { | ||
"serviceLocations": [ | ||
{ | ||
"name": "useast", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.1" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.1.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.1.2.0/24" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "useast2", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.2" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.2.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.2.2.0/24" | ||
] | ||
} | ||
} | ||
], | ||
"connectivity": "PublicAddress", | ||
"codecs": [ | ||
"PCMA" | ||
], | ||
"e911Type": "Standard", | ||
"platforms": [ | ||
"OperatorConnect" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"teamsVoicemailPilotNumber": "1234567890" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.VoiceServices/communicationsGateways/myname", | ||
"name": "myname", | ||
"type": "Microsoft.VoiceServices/communicationsGateways", | ||
"location": "useast", | ||
"properties": { | ||
"serviceLocations": [ | ||
{ | ||
"name": "useast", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.1" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.1.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.1.2.0/24" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "useast2", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.2" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.2.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.2.2.0/24" | ||
] | ||
} | ||
} | ||
], | ||
"status": "ChangePending", | ||
"connectivity": "PublicAddress", | ||
"codecs": [ | ||
"PCMA" | ||
], | ||
"e911Type": "Standard", | ||
"platforms": [ | ||
"OperatorConnect" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.VoiceServices/communicationsGateways/myname", | ||
"name": "myname", | ||
"type": "Microsoft.VoiceServices/communicationsGateways", | ||
"location": "useast", | ||
"properties": { | ||
"status": "ChangePending", | ||
"serviceLocations": [ | ||
{ | ||
"name": "useast", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.1" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.1.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.1.2.0/24" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "useast2", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.2" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.2.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.2.2.0/24" | ||
] | ||
} | ||
} | ||
], | ||
"connectivity": "PublicAddress", | ||
"codecs": [ | ||
"PCMA" | ||
], | ||
"e911Type": "Standard", | ||
"platforms": [ | ||
"OperatorConnect" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...nager/Microsoft.VoiceServices/cadl/examples/2023-04-03/CommunicationsGateways_Delete.json
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,20 @@ | ||
{ | ||
"operationId": "CommunicationsGateways_Delete", | ||
"title": "DeleteCommunicationsGatewayResource", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2023-04-03", | ||
"communicationsGatewayName": "myname", | ||
"location": "useast" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "http://azure.async.operation/status" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...-manager/Microsoft.VoiceServices/cadl/examples/2023-04-03/CommunicationsGateways_Get.json
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,65 @@ | ||
{ | ||
"operationId": "CommunicationsGateways_Get", | ||
"title": "GetCommunicationsGatewayResource", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2023-04-03", | ||
"name": "myname", | ||
"communicationsGatewayName": "myname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.VoiceService/communicationsGateways/myname", | ||
"name": "myname", | ||
"location": "useast", | ||
"type": "Microsoft.VoiceService/communicationsGateways", | ||
"properties": { | ||
"status": "ChangePending", | ||
"serviceLocations": [ | ||
{ | ||
"name": "useast", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.1" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.1.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.1.2.0/24" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "useast2", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.2" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.2.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.2.2.0/24" | ||
] | ||
} | ||
} | ||
], | ||
"connectivity": "PublicAddress", | ||
"codecs": [ | ||
"PCMA" | ||
], | ||
"e911Type": "Standard", | ||
"platforms": [ | ||
"OperatorConnect" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890" | ||
} | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...ft.VoiceServices/cadl/examples/2023-04-03/CommunicationsGateways_ListByResourceGroup.json
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,67 @@ | ||
{ | ||
"operationId": "CommunicationsGateways_ListByResourceGroup", | ||
"title": "ListCommunicationsGatewayResource", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2023-04-03" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.VoiceService/communicationsGateways/myname", | ||
"name": "myname", | ||
"location": "useast", | ||
"type": "Microsoft.VoiceService/communicationsGateways", | ||
"properties": { | ||
"status": "ChangePending", | ||
"serviceLocations": [ | ||
{ | ||
"name": "useast", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.1" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.1.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.1.2.0/24" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "useast2", | ||
"primaryRegionProperties": { | ||
"operatorAddresses": [ | ||
"198.51.100.2" | ||
], | ||
"allowedSignalingSourceAddressPrefixes": [ | ||
"10.2.1.0/24" | ||
], | ||
"allowedMediaSourceAddressPrefixes": [ | ||
"10.2.2.0/24" | ||
] | ||
} | ||
} | ||
], | ||
"connectivity": "PublicAddress", | ||
"codecs": [ | ||
"PCMA" | ||
], | ||
"e911Type": "Standard", | ||
"platforms": [ | ||
"OperatorConnect" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.