Class CommunicationsGatewayInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.voiceservices.fluent.models.CommunicationsGatewayInner
public final class CommunicationsGatewayInner
extends com.azure.core.management.Resource
A CommunicationsGateway resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CommunicationsGatewayInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the apiBridge property: Details of API bridge functionality, if required.Get the autoGeneratedDomainNameLabel property: The autogenerated label used as part of the FQDNs for accessing the Communications Gateway.Get the autoGeneratedDomainNameLabelScope property: The scope at which the auto-generated domain name can be re-used.codecs()
Get the codecs property: Voice codecs to support.Get the connectivity property: How to connect back to the operator network, e.g.e911Type()
Get the e911Type property: How to handle 911 calls.Get the emergencyDialStrings property: A list of dial strings used for emergency calling.Get the onPremMcpEnabled property: Whether an on-premises Mobile Control Point is in use.Get the platforms property: What platforms to support.Get the provisioningState property: Resource provisioning state.Get the serviceLocations property: The regions in which to deploy the resources needed for Teams Calling.status()
Get the status property: The current status of the deployment.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Get the teamsVoicemailPilotNumber property: This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.void
validate()
Validates the instance.withApiBridge
(Object apiBridge) Set the apiBridge property: Details of API bridge functionality, if required.withAutoGeneratedDomainNameLabelScope
(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) Set the autoGeneratedDomainNameLabelScope property: The scope at which the auto-generated domain name can be re-used.withCodecs
(List<TeamsCodecs> codecs) Set the codecs property: Voice codecs to support.withConnectivity
(Connectivity connectivity) Set the connectivity property: How to connect back to the operator network, e.g.withE911Type
(E911Type e911Type) Set the e911Type property: How to handle 911 calls.withEmergencyDialStrings
(List<String> emergencyDialStrings) Set the emergencyDialStrings property: A list of dial strings used for emergency calling.withLocation
(String location) withOnPremMcpEnabled
(Boolean onPremMcpEnabled) Set the onPremMcpEnabled property: Whether an on-premises Mobile Control Point is in use.withPlatforms
(List<CommunicationsPlatform> platforms) Set the platforms property: What platforms to support.withServiceLocations
(List<ServiceRegionProperties> serviceLocations) Set the serviceLocations property: The regions in which to deploy the resources needed for Teams Calling.withTeamsVoicemailPilotNumber
(String teamsVoicemailPilotNumber) Set the teamsVoicemailPilotNumber property: This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CommunicationsGatewayInner
public CommunicationsGatewayInner()Creates an instance of CommunicationsGatewayInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Resource provisioning state.- Returns:
- the provisioningState value.
-
status
Get the status property: The current status of the deployment.- Returns:
- the status value.
-
serviceLocations
Get the serviceLocations property: The regions in which to deploy the resources needed for Teams Calling.- Returns:
- the serviceLocations value.
-
withServiceLocations
public CommunicationsGatewayInner withServiceLocations(List<ServiceRegionProperties> serviceLocations) Set the serviceLocations property: The regions in which to deploy the resources needed for Teams Calling.- Parameters:
serviceLocations
- the serviceLocations value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
connectivity
Get the connectivity property: How to connect back to the operator network, e.g. MAPS.- Returns:
- the connectivity value.
-
withConnectivity
Set the connectivity property: How to connect back to the operator network, e.g. MAPS.- Parameters:
connectivity
- the connectivity value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
codecs
Get the codecs property: Voice codecs to support.- Returns:
- the codecs value.
-
withCodecs
Set the codecs property: Voice codecs to support.- Parameters:
codecs
- the codecs value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
e911Type
Get the e911Type property: How to handle 911 calls.- Returns:
- the e911Type value.
-
withE911Type
Set the e911Type property: How to handle 911 calls.- Parameters:
e911Type
- the e911Type value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
platforms
Get the platforms property: What platforms to support.- Returns:
- the platforms value.
-
withPlatforms
Set the platforms property: What platforms to support.- Parameters:
platforms
- the platforms value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
apiBridge
Get the apiBridge property: Details of API bridge functionality, if required.- Returns:
- the apiBridge value.
-
withApiBridge
Set the apiBridge property: Details of API bridge functionality, if required.- Parameters:
apiBridge
- the apiBridge value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
autoGeneratedDomainNameLabelScope
Get the autoGeneratedDomainNameLabelScope property: The scope at which the auto-generated domain name can be re-used.- Returns:
- the autoGeneratedDomainNameLabelScope value.
-
withAutoGeneratedDomainNameLabelScope
public CommunicationsGatewayInner withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) Set the autoGeneratedDomainNameLabelScope property: The scope at which the auto-generated domain name can be re-used.- Parameters:
autoGeneratedDomainNameLabelScope
- the autoGeneratedDomainNameLabelScope value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
autoGeneratedDomainNameLabel
Get the autoGeneratedDomainNameLabel property: The autogenerated label used as part of the FQDNs for accessing the Communications Gateway.- Returns:
- the autoGeneratedDomainNameLabel value.
-
teamsVoicemailPilotNumber
Get the teamsVoicemailPilotNumber property: This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.- Returns:
- the teamsVoicemailPilotNumber value.
-
withTeamsVoicemailPilotNumber
Set the teamsVoicemailPilotNumber property: This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.- Parameters:
teamsVoicemailPilotNumber
- the teamsVoicemailPilotNumber value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
onPremMcpEnabled
Get the onPremMcpEnabled property: Whether an on-premises Mobile Control Point is in use.- Returns:
- the onPremMcpEnabled value.
-
withOnPremMcpEnabled
Set the onPremMcpEnabled property: Whether an on-premises Mobile Control Point is in use.- Parameters:
onPremMcpEnabled
- the onPremMcpEnabled value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
emergencyDialStrings
Get the emergencyDialStrings property: A list of dial strings used for emergency calling.- Returns:
- the emergencyDialStrings value.
-
withEmergencyDialStrings
Set the emergencyDialStrings property: A list of dial strings used for emergency calling.- Parameters:
emergencyDialStrings
- the emergencyDialStrings value to set.- Returns:
- the CommunicationsGatewayInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-