-
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/2023-09-01-publ…
…ic-publish' (#26394) * Base Commit - Publish Voiceservices 2023-09-01 * Introducing 2023-09-01 changes
- Loading branch information
1 parent
451157c
commit e8f4051
Showing
15 changed files
with
2,421 additions
and
1 deletion.
There are no files selected for viewing
234 changes: 234 additions & 0 deletions
234
...osoft.VoiceServices/stable/2023-09-01/examples/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,234 @@ | ||
{ | ||
"operationId": "CommunicationsGateways_CreateOrUpdate", | ||
"title": "CreateCommunicationsGatewayResource", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2023-09-01", | ||
"name": "myname", | ||
"communicationsGatewayName": "myname", | ||
"resource": { | ||
"location": "useast", | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"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", | ||
"TeamsDirectRouting" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"teamsVoicemailPilotNumber": "1234567890", | ||
"apiBridge": { | ||
"configureApiBridge": "enabled", | ||
"allowedAddressPrefixes": [ | ||
"198.51.100.192/26" | ||
] | ||
}, | ||
"dnsDelegations": { | ||
"delegations": [ | ||
{ | ||
"domain": "commsgw.contoso.com" | ||
} | ||
] | ||
}, | ||
"customSipHeaders": { | ||
"headers": [ | ||
{ | ||
"name": "x-contoso-commsgw-identifier" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"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", | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"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", | ||
"TeamsDirectRouting" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890", | ||
"apiBridge": { | ||
"configureApiBridge": "enabled", | ||
"allowedAddressPrefixes": [ | ||
"198.51.100.192/26" | ||
] | ||
}, | ||
"dnsDelegations": { | ||
"delegations": [ | ||
{ | ||
"domain": "commsgw.contoso.com" | ||
} | ||
] | ||
}, | ||
"customSipHeaders": { | ||
"headers": [ | ||
{ | ||
"name": "x-contoso-commsgw-identifier" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.VoiceServices/communicationsGateways/myname", | ||
"name": "myname", | ||
"type": "Microsoft.VoiceServices/communicationsGateways", | ||
"location": "useast", | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"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", | ||
"TeamsDirectRouting" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890", | ||
"apiBridge": { | ||
"configureApiBridge": "enabled", | ||
"allowedAddressPrefixes": [ | ||
"198.51.100.192/26" | ||
] | ||
}, | ||
"dnsDelegations": { | ||
"delegations": [ | ||
{ | ||
"domain": "commsgw.contoso.com" | ||
} | ||
] | ||
}, | ||
"customSipHeaders": { | ||
"headers": [ | ||
{ | ||
"name": "x-contoso-commsgw-identifier" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ger/Microsoft.VoiceServices/stable/2023-09-01/examples/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-09-01", | ||
"communicationsGatewayName": "myname", | ||
"location": "useast" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "http://azure.async.operation/status" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
102 changes: 102 additions & 0 deletions
102
...anager/Microsoft.VoiceServices/stable/2023-09-01/examples/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,102 @@ | ||
{ | ||
"operationId": "CommunicationsGateways_Get", | ||
"title": "GetCommunicationsGatewayResource", | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2023-09-01", | ||
"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", | ||
"sku": { | ||
"name": "standard" | ||
}, | ||
"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", | ||
"TeamsDirectRouting" | ||
], | ||
"autoGeneratedDomainNameLabelScope": "NoReuse", | ||
"autoGeneratedDomainNameLabel": "somelabel", | ||
"teamsVoicemailPilotNumber": "1234567890", | ||
"apiBridge": { | ||
"configureApiBridge": "enabled", | ||
"endpointFqdns": [ | ||
"ap2.hash.commsgw.net" | ||
], | ||
"allowedAddressPrefixes": [ | ||
"198.51.100.192/26" | ||
] | ||
}, | ||
"dnsDelegations": { | ||
"delegations": [ | ||
{ | ||
"domain": "commsgw.contoso.com", | ||
"nameServers": [ | ||
"1.2.3.4", | ||
"2.3.4.5" | ||
] | ||
} | ||
] | ||
}, | ||
"customSipHeaders": { | ||
"headers": [ | ||
{ | ||
"name": "x-contoso-commsgw-identifier" | ||
} | ||
] | ||
}, | ||
"allocatedSignalingAddressPrefixes": [ | ||
"203.0.113.0/26" | ||
], | ||
"allocatedMediaAddressPrefixes": [ | ||
"203.0.113.64/26" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.