diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/Dimension.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/Dimension.java new file mode 100644 index 0000000000000..6e39979732879 --- /dev/null +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/Dimension.java @@ -0,0 +1,122 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.signalr.v2018_03_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Specifications of the Dimension of metrics. + */ +public class Dimension { + /** + * The public facing name of the dimension. + */ + @JsonProperty(value = "name") + private String name; + + /** + * Localized friendly display name of the dimension. + */ + @JsonProperty(value = "displayName") + private String displayName; + + /** + * Name of the dimension as it appears in MDM. + */ + @JsonProperty(value = "internalName") + private String internalName; + + /** + * A Boolean flag indicating whether this dimension should be included for + * the shoebox export scenario. + */ + @JsonProperty(value = "toBeExportedForShoebox") + private Boolean toBeExportedForShoebox; + + /** + * Get the public facing name of the dimension. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the public facing name of the dimension. + * + * @param name the name value to set + * @return the Dimension object itself. + */ + public Dimension withName(String name) { + this.name = name; + return this; + } + + /** + * Get localized friendly display name of the dimension. + * + * @return the displayName value + */ + public String displayName() { + return this.displayName; + } + + /** + * Set localized friendly display name of the dimension. + * + * @param displayName the displayName value to set + * @return the Dimension object itself. + */ + public Dimension withDisplayName(String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Get name of the dimension as it appears in MDM. + * + * @return the internalName value + */ + public String internalName() { + return this.internalName; + } + + /** + * Set name of the dimension as it appears in MDM. + * + * @param internalName the internalName value to set + * @return the Dimension object itself. + */ + public Dimension withInternalName(String internalName) { + this.internalName = internalName; + return this; + } + + /** + * Get a Boolean flag indicating whether this dimension should be included for the shoebox export scenario. + * + * @return the toBeExportedForShoebox value + */ + public Boolean toBeExportedForShoebox() { + return this.toBeExportedForShoebox; + } + + /** + * Set a Boolean flag indicating whether this dimension should be included for the shoebox export scenario. + * + * @param toBeExportedForShoebox the toBeExportedForShoebox value to set + * @return the Dimension object itself. + */ + public Dimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox) { + this.toBeExportedForShoebox = toBeExportedForShoebox; + return this; + } + +} diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/MetricSpecification.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/MetricSpecification.java index e9dcb698ebce1..f5424d2a0df07 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/MetricSpecification.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/MetricSpecification.java @@ -8,6 +8,7 @@ package com.microsoft.azure.management.signalr.v2018_03_01_preview; +import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; /** @@ -63,6 +64,12 @@ public class MetricSpecification { @JsonProperty(value = "category") private String category; + /** + * The dimensions of the metrics. + */ + @JsonProperty(value = "dimensions") + private List dimensions; + /** * Get name of the metric. * @@ -207,4 +214,24 @@ public MetricSpecification withCategory(String category) { return this; } + /** + * Get the dimensions of the metrics. + * + * @return the dimensions value + */ + public List dimensions() { + return this.dimensions; + } + + /** + * Set the dimensions of the metrics. + * + * @param dimensions the dimensions value to set + * @return the MetricSpecification object itself. + */ + public MetricSpecification withDimensions(List dimensions) { + this.dimensions = dimensions; + return this; + } + } diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRKeys.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRKeys.java index be0292fe76a95..8aa8423a6322b 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRKeys.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRKeys.java @@ -17,11 +17,21 @@ * Type representing SignalRKeys. */ public interface SignalRKeys extends HasInner, HasManager { + /** + * @return the primaryConnectionString value. + */ + String primaryConnectionString(); + /** * @return the primaryKey value. */ String primaryKey(); + /** + * @return the secondaryConnectionString value. + */ + String secondaryConnectionString(); + /** * @return the secondaryKey value. */ diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRResource.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRResource.java index d489f7b753510..4bd232b282fbf 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRResource.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/SignalRResource.java @@ -78,4 +78,9 @@ public interface SignalRResource extends HasInner, HasMana */ String type(); + /** + * @return the version value. + */ + String version(); + } diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysImpl.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysImpl.java index c0fb1872bc206..36e638949a6f2 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysImpl.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysImpl.java @@ -23,11 +23,21 @@ public SignalRServiceManager manager() { return this.manager; } + @Override + public String primaryConnectionString() { + return this.inner().primaryConnectionString(); + } + @Override public String primaryKey() { return this.inner().primaryKey(); } + @Override + public String secondaryConnectionString() { + return this.inner().secondaryConnectionString(); + } + @Override public String secondaryKey() { return this.inner().secondaryKey(); diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysInner.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysInner.java index a2b742661af04..c8a0dce771ee4 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysInner.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRKeysInner.java @@ -26,6 +26,18 @@ public class SignalRKeysInner { @JsonProperty(value = "secondaryKey") private String secondaryKey; + /** + * SignalR connection string constructed via the primaryKey. + */ + @JsonProperty(value = "primaryConnectionString") + private String primaryConnectionString; + + /** + * SignalR connection string constructed via the secondaryKey. + */ + @JsonProperty(value = "secondaryConnectionString") + private String secondaryConnectionString; + /** * Get the primary access key. * @@ -66,4 +78,44 @@ public SignalRKeysInner withSecondaryKey(String secondaryKey) { return this; } + /** + * Get signalR connection string constructed via the primaryKey. + * + * @return the primaryConnectionString value + */ + public String primaryConnectionString() { + return this.primaryConnectionString; + } + + /** + * Set signalR connection string constructed via the primaryKey. + * + * @param primaryConnectionString the primaryConnectionString value to set + * @return the SignalRKeysInner object itself. + */ + public SignalRKeysInner withPrimaryConnectionString(String primaryConnectionString) { + this.primaryConnectionString = primaryConnectionString; + return this; + } + + /** + * Get signalR connection string constructed via the secondaryKey. + * + * @return the secondaryConnectionString value + */ + public String secondaryConnectionString() { + return this.secondaryConnectionString; + } + + /** + * Set signalR connection string constructed via the secondaryKey. + * + * @param secondaryConnectionString the secondaryConnectionString value to set + * @return the SignalRKeysInner object itself. + */ + public SignalRKeysInner withSecondaryConnectionString(String secondaryConnectionString) { + this.secondaryConnectionString = secondaryConnectionString; + return this; + } + } diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceImpl.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceImpl.java index 08475484f1892..3eb2d322b47fe 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceImpl.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceImpl.java @@ -86,4 +86,9 @@ public String type() { return this.inner().type(); } + @Override + public String version() { + return this.inner().version(); + } + } diff --git a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceInner.java b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceInner.java index 8956478d755aa..88e046ba69ba2 100644 --- a/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceInner.java +++ b/signalr/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/signalr/v2018_03_01_preview/implementation/SignalRResourceInner.java @@ -69,6 +69,13 @@ public class SignalRResourceInner extends Resource { @JsonProperty(value = "properties.serverPort", access = JsonProperty.Access.WRITE_ONLY) private Integer serverPort; + /** + * Version of the SignalR resource. Probably you need the same or higher + * version of client SDKs. + */ + @JsonProperty(value = "properties.version") + private String version; + /** * Get sKU of the service. * @@ -156,4 +163,24 @@ public Integer serverPort() { return this.serverPort; } + /** + * Get version of the SignalR resource. Probably you need the same or higher version of client SDKs. + * + * @return the version value + */ + public String version() { + return this.version; + } + + /** + * Set version of the SignalR resource. Probably you need the same or higher version of client SDKs. + * + * @param version the version value to set + * @return the SignalRResourceInner object itself. + */ + public SignalRResourceInner withVersion(String version) { + this.version = version; + return this; + } + }