Skip to content

Commit

Permalink
[Hub Generated] Publish private branch 'voiceservices/2023-09-01-publ…
Browse files Browse the repository at this point in the history
…ic-publish' (#26394)

* Base Commit - Publish Voiceservices 2023-09-01

* Introducing 2023-09-01 changes
  • Loading branch information
cgerrettMSFT authored and zman-ms committed Jan 9, 2024
1 parent 451157c commit e8f4051
Show file tree
Hide file tree
Showing 15 changed files with 2,421 additions and 1 deletion.
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"
}
]
}
}
}
}
}
}
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": {}
}
}
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"
]
}
}
}
}
}
Loading

0 comments on commit e8f4051

Please sign in to comment.