Skip to content
Closed
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
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-06-06)

- Azure Resource Manager Voice Services client library for Java. This package contains Microsoft Azure SDK for Voice Services Management SDK. Package tag package-2023-04-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Voice Services client library for Java.

This package contains Microsoft Azure SDK for Voice Services Management SDK. Package tag package-2023-01-31. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Voice Services Management SDK. Package tag package-2023-04-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-voiceservices</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
26 changes: 13 additions & 13 deletions sdk/voiceservices/azure-resourcemanager-voiceservices/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import java.util.Arrays;
/** Samples for CommunicationsGateways CreateOrUpdate. */
public final class CommunicationsGatewaysCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_CreateOrUpdate.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/CommunicationsGateways_CreateOrUpdate.json
*/
/**
* Sample code: CreateCommunicationsGatewayResource.
Expand Down Expand Up @@ -88,7 +88,7 @@ public final class CommunicationsGatewaysCreateOrUpdateSamples {
/** Samples for CommunicationsGateways Delete. */
public final class CommunicationsGatewaysDeleteSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Delete.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/CommunicationsGateways_Delete.json
*/
/**
* Sample code: DeleteCommunicationsGatewayResource.
Expand All @@ -108,7 +108,7 @@ public final class CommunicationsGatewaysDeleteSamples {
/** Samples for CommunicationsGateways GetByResourceGroup. */
public final class CommunicationsGatewaysGetByResourceGroupSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Get.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/CommunicationsGateways_Get.json
*/
/**
* Sample code: GetCommunicationsGatewayResource.
Expand All @@ -130,7 +130,7 @@ public final class CommunicationsGatewaysGetByResourceGroupSamples {
/** Samples for CommunicationsGateways List. */
public final class CommunicationsGatewaysListSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_ListBySubscription.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/CommunicationsGateways_ListBySubscription.json
*/
/**
* Sample code: ListCommunicationsGatewayResourceSub.
Expand All @@ -150,7 +150,7 @@ public final class CommunicationsGatewaysListSamples {
/** Samples for CommunicationsGateways ListByResourceGroup. */
public final class CommunicationsGatewaysListByResourceGroupSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_ListByResourceGroup.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/CommunicationsGateways_ListByResourceGroup.json
*/
/**
* Sample code: ListCommunicationsGatewayResource.
Expand All @@ -172,7 +172,7 @@ import com.azure.resourcemanager.voiceservices.models.CommunicationsGateway;
/** Samples for CommunicationsGateways Update. */
public final class CommunicationsGatewaysUpdateSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Update.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/CommunicationsGateways_Update.json
*/
/**
* Sample code: UpdateCommunicationsGatewayResource.
Expand All @@ -199,7 +199,7 @@ import com.azure.resourcemanager.voiceservices.models.CheckNameAvailabilityReque
/** Samples for NameAvailability CheckLocal. */
public final class NameAvailabilityCheckLocalSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/NameAvailability_CheckLocal.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/NameAvailability_CheckLocal.json
*/
/**
* Sample code: CheckLocalNameAvailability.
Expand All @@ -226,7 +226,7 @@ public final class NameAvailabilityCheckLocalSamples {
/** Samples for Operations List. */
public final class OperationsListSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/Operations_List.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/Operations_List.json
*/
/**
* Sample code: OperationsList.
Expand All @@ -247,7 +247,7 @@ import com.azure.resourcemanager.voiceservices.models.TestLinePurpose;
/** Samples for TestLines CreateOrUpdate. */
public final class TestLinesCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_CreateOrUpdate.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/TestLines_CreateOrUpdate.json
*/
/**
* Sample code: CreateTestLineResource.
Expand All @@ -273,7 +273,7 @@ public final class TestLinesCreateOrUpdateSamples {
/** Samples for TestLines Delete. */
public final class TestLinesDeleteSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Delete.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/TestLines_Delete.json
*/
/**
* Sample code: DeleteTestLineResource.
Expand All @@ -292,7 +292,7 @@ public final class TestLinesDeleteSamples {
/** Samples for TestLines Get. */
public final class TestLinesGetSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Get.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/TestLines_Get.json
*/
/**
* Sample code: GetTestLineResource.
Expand All @@ -311,7 +311,7 @@ public final class TestLinesGetSamples {
/** Samples for TestLines ListByCommunicationsGateway. */
public final class TestLinesListByCommunicationsGatewaySamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_ListByCommunicationsGateway.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/TestLines_ListByCommunicationsGateway.json
*/
/**
* Sample code: ListTestLineResource.
Expand All @@ -332,7 +332,7 @@ import com.azure.resourcemanager.voiceservices.models.TestLine;
/** Samples for TestLines Update. */
public final class TestLinesUpdateSamples {
/*
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Update.json
* x-ms-original-file: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-04-03/examples/TestLines_Update.json
*/
/**
* Sample code: UpdateTestLineResource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Voice Services Management</name>
<description>This package contains Microsoft Azure SDK for Voice Services Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2023-01-31.</description>
<description>This package contains Microsoft Azure SDK for Voice Services Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2023-04-03.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public VoiceServicesManager authenticate(TokenCredential credential, AzureProfil
.append("-")
.append("com.azure.resourcemanager.voiceservices")
.append("/")
.append("1.0.0");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.azure.resourcemanager.voiceservices.models.CommunicationsPlatform;
import com.azure.resourcemanager.voiceservices.models.Connectivity;
import com.azure.resourcemanager.voiceservices.models.E911Type;
import com.azure.resourcemanager.voiceservices.models.ManagedServiceIdentity;
import com.azure.resourcemanager.voiceservices.models.ProvisioningState;
import com.azure.resourcemanager.voiceservices.models.ServiceRegionProperties;
import com.azure.resourcemanager.voiceservices.models.Status;
Expand All @@ -28,6 +29,12 @@ public final class CommunicationsGatewayInner extends Resource {
@JsonProperty(value = "properties")
private CommunicationsGatewayProperties innerProperties;

/*
* The managed service identities assigned to this resource.
*/
@JsonProperty(value = "identity")
private ManagedServiceIdentity identity;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
Expand All @@ -47,6 +54,26 @@ private CommunicationsGatewayProperties innerProperties() {
return this.innerProperties;
}

/**
* Get the identity property: The managed service identities assigned to this resource.
*
* @return the identity value.
*/
public ManagedServiceIdentity identity() {
return this.identity;
}

/**
* Set the identity property: The managed service identities assigned to this resource.
*
* @param identity the identity value to set.
* @return the CommunicationsGatewayInner object itself.
*/
public CommunicationsGatewayInner withIdentity(ManagedServiceIdentity identity) {
this.identity = identity;
return this;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
Expand Down Expand Up @@ -310,6 +337,29 @@ public CommunicationsGatewayInner withOnPremMcpEnabled(Boolean onPremMcpEnabled)
return this;
}

/**
* Get the integratedMcpEnabled property: Whether an integrated Mobile Control Point is in use.
*
* @return the integratedMcpEnabled value.
*/
public Boolean integratedMcpEnabled() {
return this.innerProperties() == null ? null : this.innerProperties().integratedMcpEnabled();
}

/**
* Set the integratedMcpEnabled property: Whether an integrated Mobile Control Point is in use.
*
* @param integratedMcpEnabled the integratedMcpEnabled value to set.
* @return the CommunicationsGatewayInner object itself.
*/
public CommunicationsGatewayInner withIntegratedMcpEnabled(Boolean integratedMcpEnabled) {
if (this.innerProperties() == null) {
this.innerProperties = new CommunicationsGatewayProperties();
}
this.innerProperties().withIntegratedMcpEnabled(integratedMcpEnabled);
return this;
}

/**
* Get the emergencyDialStrings property: A list of dial strings used for emergency calling.
*
Expand Down Expand Up @@ -342,5 +392,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (identity() != null) {
identity().validate();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ public final class CommunicationsGatewayProperties {
@JsonProperty(value = "onPremMcpEnabled")
private Boolean onPremMcpEnabled;

/*
* Whether an integrated Mobile Control Point is in use.
*/
@JsonProperty(value = "integratedMcpEnabled")
private Boolean integratedMcpEnabled;

/*
* A list of dial strings used for emergency calling.
*/
Expand Down Expand Up @@ -315,6 +321,26 @@ public CommunicationsGatewayProperties withOnPremMcpEnabled(Boolean onPremMcpEna
return this;
}

/**
* Get the integratedMcpEnabled property: Whether an integrated Mobile Control Point is in use.
*
* @return the integratedMcpEnabled value.
*/
public Boolean integratedMcpEnabled() {
return this.integratedMcpEnabled;
}

/**
* Set the integratedMcpEnabled property: Whether an integrated Mobile Control Point is in use.
*
* @param integratedMcpEnabled the integratedMcpEnabled value to set.
* @return the CommunicationsGatewayProperties object itself.
*/
public CommunicationsGatewayProperties withIntegratedMcpEnabled(Boolean integratedMcpEnabled) {
this.integratedMcpEnabled = integratedMcpEnabled;
return this;
}

/**
* Get the emergencyDialStrings property: A list of dial strings used for emergency calling.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.azure.resourcemanager.voiceservices.models.CommunicationsPlatform;
import com.azure.resourcemanager.voiceservices.models.Connectivity;
import com.azure.resourcemanager.voiceservices.models.E911Type;
import com.azure.resourcemanager.voiceservices.models.ManagedServiceIdentity;
import com.azure.resourcemanager.voiceservices.models.ProvisioningState;
import com.azure.resourcemanager.voiceservices.models.ServiceRegionProperties;
import com.azure.resourcemanager.voiceservices.models.Status;
Expand Down Expand Up @@ -53,6 +54,10 @@ public Map<String, String> tags() {
}
}

public ManagedServiceIdentity identity() {
return this.innerModel().identity();
}

public SystemData systemData() {
return this.innerModel().systemData();
}
Expand Down Expand Up @@ -120,6 +125,10 @@ public Boolean onPremMcpEnabled() {
return this.innerModel().onPremMcpEnabled();
}

public Boolean integratedMcpEnabled() {
return this.innerModel().integratedMcpEnabled();
}

public List<String> emergencyDialStrings() {
List<String> inner = this.innerModel().emergencyDialStrings();
if (inner != null) {
Expand Down Expand Up @@ -259,6 +268,16 @@ public CommunicationsGatewayImpl withTags(Map<String, String> tags) {
}
}

public CommunicationsGatewayImpl withIdentity(ManagedServiceIdentity identity) {
if (isInCreateMode()) {
this.innerModel().withIdentity(identity);
return this;
} else {
this.updateProperties.withIdentity(identity);
return this;
}
}

public CommunicationsGatewayImpl withServiceLocations(List<ServiceRegionProperties> serviceLocations) {
this.innerModel().withServiceLocations(serviceLocations);
return this;
Expand Down Expand Up @@ -305,6 +324,11 @@ public CommunicationsGatewayImpl withOnPremMcpEnabled(Boolean onPremMcpEnabled)
return this;
}

public CommunicationsGatewayImpl withIntegratedMcpEnabled(Boolean integratedMcpEnabled) {
this.innerModel().withIntegratedMcpEnabled(integratedMcpEnabled);
return this;
}

public CommunicationsGatewayImpl withEmergencyDialStrings(List<String> emergencyDialStrings) {
this.innerModel().withEmergencyDialStrings(emergencyDialStrings);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public TestLinesClient getTestLines() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2023-01-31";
this.apiVersion = "2023-04-03";
this.operations = new OperationsClientImpl(this);
this.communicationsGateways = new CommunicationsGatewaysClientImpl(this);
this.nameAvailabilities = new NameAvailabilitiesClientImpl(this);
Expand Down
Loading