diff --git a/sdk/communication/mgmt-v2020_08_20_preview/pom.xml b/sdk/communication/mgmt-v2020_08_20_preview/pom.xml index ab42ba1b9a0e..34a5250296df 100644 --- a/sdk/communication/mgmt-v2020_08_20_preview/pom.xml +++ b/sdk/communication/mgmt-v2020_08_20_preview/pom.xml @@ -11,8 +11,8 @@ com.microsoft.azure azure-arm-parent - 1.3.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-communication 1.0.0-beta diff --git a/sdk/communication/mgmt-v2020_08_20_preview/src/main/java/com/microsoft/azure/management/communication/v2020_08_20_preview/implementation/CommunicationServiceResourceInner.java b/sdk/communication/mgmt-v2020_08_20_preview/src/main/java/com/microsoft/azure/management/communication/v2020_08_20_preview/implementation/CommunicationServiceResourceInner.java index d8e000b71d12..8f3ef3e8dcf6 100644 --- a/sdk/communication/mgmt-v2020_08_20_preview/src/main/java/com/microsoft/azure/management/communication/v2020_08_20_preview/implementation/CommunicationServiceResourceInner.java +++ b/sdk/communication/mgmt-v2020_08_20_preview/src/main/java/com/microsoft/azure/management/communication/v2020_08_20_preview/implementation/CommunicationServiceResourceInner.java @@ -9,8 +9,6 @@ package com.microsoft.azure.management.communication.v2020_08_20_preview.implementation; import java.util.Map; - -import com.microsoft.azure.Resource; import com.microsoft.azure.management.communication.v2020_08_20_preview.ProvisioningState; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; @@ -19,7 +17,39 @@ * A class representing a CommunicationService resource. */ @JsonFlatten -public class CommunicationServiceResourceInner extends Resource { +public class CommunicationServiceResourceInner { + /** + * Fully qualified resource ID for the resource. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * The name of the resource. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /** + * The type of the service - e.g. + * "Microsoft.Communication/CommunicationServices". + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /** + * The Azure location where the CommunicationService is running. + */ + @JsonProperty(value = "location") + private String location; + + /** + * Tags of the service which is a list of key value pairs that describe the + * resource. + */ + @JsonProperty(value = "tags") + private Map tags; + /** * Provisioning state of the resource. Possible values include: 'Unknown', * 'Succeeded', 'Failed', 'Canceled', 'Running', 'Creating', 'Updating', @@ -59,6 +89,73 @@ public class CommunicationServiceResourceInner extends Resource { @JsonProperty(value = "properties.immutableResourceId", access = JsonProperty.Access.WRITE_ONLY) private String immutableResourceId; + /** + * Get fully qualified resource ID for the resource. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the name of the resource. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Get the type of the service - e.g. "Microsoft.Communication/CommunicationServices". + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Get the Azure location where the CommunicationService is running. + * + * @return the location value + */ + public String location() { + return this.location; + } + + /** + * Set the Azure location where the CommunicationService is running. + * + * @param location the location value to set + * @return the CommunicationServiceResourceInner object itself. + */ + public CommunicationServiceResourceInner withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get tags of the service which is a list of key value pairs that describe the resource. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set tags of the service which is a list of key value pairs that describe the resource. + * + * @param tags the tags value to set + * @return the CommunicationServiceResourceInner object itself. + */ + public CommunicationServiceResourceInner withTags(Map tags) { + this.tags = tags; + return this; + } + /** * Get provisioning state of the resource. Possible values include: 'Unknown', 'Succeeded', 'Failed', 'Canceled', 'Running', 'Creating', 'Updating', 'Deleting', 'Moving'. *