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

[Hub Generated] Publish private branch 'voiceservices/api-release' #23928

Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ model CommunicationsGateway
@visibility("Read")
@path
name: string;

...ManagedServiceIdentity;
}

@doc("The status of the current CommunicationsGateway resource.")
Expand Down Expand Up @@ -240,6 +242,11 @@ model CommunicationsGatewayProperties is ResourceProperties {
@visibility("read", "update", "create")
onPremMcpEnabled?: boolean = false;

@added(Versions.v2023_04_03)
@doc("Whether an integrated Mobile Control Point is in use.")
@visibility("read", "update", "create")
integratedMcpEnabled?: boolean = false;

@added(Versions.v2023_01_31)
@doc("A list of dial strings used for emergency calling.")
@visibility("read", "update", "create")
Expand Down
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"
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
Loading