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

[ReleasePR sdk/signalr/mgmt-v2018_03_01_preview] [Azure SignalR service]Support Private Link and add new api-version #11447

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
18 changes: 10 additions & 8 deletions sdk/signalr/mgmt-v2018_03_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.azure-mgmt-signalr-2018-03-01-preview</groupId>
<groupId>com.microsoft.azure.signalr.v2018_03_01_preview</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-signalr</artifactId>
<version>1.0.0-beta-SNAPSHOT</version>
<artifactId>azure-mgmt-signalrservice</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for SignalRService Management</name>
<description>This package contains Microsoft SignalRService Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-for-java</url>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand All @@ -28,8 +28,8 @@
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

package com.microsoft.azure.management.signalr.v2018_03_01_preview;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
Expand Down Expand Up @@ -64,7 +65,13 @@ public class MetricSpecification {
private String category;

/**
* Get the name value.
* The dimensions of the metrics.
*/
@JsonProperty(value = "dimensions")
private List<Dimension> dimensions;

/**
* Get name of the metric.
*
* @return the name value
*/
Expand All @@ -73,7 +80,7 @@ public String name() {
}

/**
* Set the name value.
* Set name of the metric.
*
* @param name the name value to set
* @return the MetricSpecification object itself.
Expand All @@ -84,7 +91,7 @@ public MetricSpecification withName(String name) {
}

/**
* Get the displayName value.
* Get localized friendly display name of the metric.
*
* @return the displayName value
*/
Expand All @@ -93,7 +100,7 @@ public String displayName() {
}

/**
* Set the displayName value.
* Set localized friendly display name of the metric.
*
* @param displayName the displayName value to set
* @return the MetricSpecification object itself.
Expand All @@ -104,7 +111,7 @@ public MetricSpecification withDisplayName(String displayName) {
}

/**
* Get the displayDescription value.
* Get localized friendly description of the metric.
*
* @return the displayDescription value
*/
Expand All @@ -113,7 +120,7 @@ public String displayDescription() {
}

/**
* Set the displayDescription value.
* Set localized friendly description of the metric.
*
* @param displayDescription the displayDescription value to set
* @return the MetricSpecification object itself.
Expand All @@ -124,7 +131,7 @@ public MetricSpecification withDisplayDescription(String displayDescription) {
}

/**
* Get the unit value.
* Get the unit that makes sense for the metric.
*
* @return the unit value
*/
Expand All @@ -133,7 +140,7 @@ public String unit() {
}

/**
* Set the unit value.
* Set the unit that makes sense for the metric.
*
* @param unit the unit value to set
* @return the MetricSpecification object itself.
Expand All @@ -144,7 +151,7 @@ public MetricSpecification withUnit(String unit) {
}

/**
* Get the aggregationType value.
* Get only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
*
* @return the aggregationType value
*/
Expand All @@ -153,7 +160,7 @@ public String aggregationType() {
}

/**
* Set the aggregationType value.
* Set only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
*
* @param aggregationType the aggregationType value to set
* @return the MetricSpecification object itself.
Expand All @@ -164,7 +171,9 @@ public MetricSpecification withAggregationType(String aggregationType) {
}

/**
* Get the fillGapWithZero value.
* Get optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
Ex. a metric that returns the number of times a particular error code was emitted. The error code may not appear
often, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where nothing was emitted.
*
* @return the fillGapWithZero value
*/
Expand All @@ -173,7 +182,9 @@ public String fillGapWithZero() {
}

/**
* Set the fillGapWithZero value.
* Set optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
Ex. a metric that returns the number of times a particular error code was emitted. The error code may not appear
often, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where nothing was emitted.
*
* @param fillGapWithZero the fillGapWithZero value to set
* @return the MetricSpecification object itself.
Expand All @@ -184,7 +195,7 @@ public MetricSpecification withFillGapWithZero(String fillGapWithZero) {
}

/**
* Get the category value.
* Get the name of the metric category that the metric belongs to. A metric can only belong to a single category.
*
* @return the category value
*/
Expand All @@ -193,7 +204,7 @@ public String category() {
}

/**
* Set the category value.
* Set the name of the metric category that the metric belongs to. A metric can only belong to a single category.
*
* @param category the category value to set
* @return the MetricSpecification object itself.
Expand All @@ -203,4 +214,24 @@ public MetricSpecification withCategory(String category) {
return this;
}

/**
* Get the dimensions of the metrics.
*
* @return the dimensions value
*/
public List<Dimension> 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<Dimension> dimensions) {
this.dimensions = dimensions;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.signalr.v2018_03_01_preview.implementation.SignalRManager;
import com.microsoft.azure.management.signalr.v2018_03_01_preview.implementation.SignalRServiceManager;
import com.microsoft.azure.management.signalr.v2018_03_01_preview.implementation.NameAvailabilityInner;

/**
* Type representing NameAvailability.
*/
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<SignalRManager> {
public interface NameAvailability extends HasInner<NameAvailabilityInner>, HasManager<SignalRServiceManager> {
/**
* @return the message value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class NameAvailabilityParameters {
private String name;

/**
* Get the type value.
* Get the resource type. Should be always "Microsoft.SignalRService/SignalR".
*
* @return the type value
*/
Expand All @@ -36,7 +36,7 @@ public String type() {
}

/**
* Set the type value.
* Set the resource type. Should be always "Microsoft.SignalRService/SignalR".
*
* @param type the type value to set
* @return the NameAvailabilityParameters object itself.
Expand All @@ -47,7 +47,7 @@ public NameAvailabilityParameters withType(String type) {
}

/**
* Get the name value.
* Get the SignalR service name to validate. e.g."my-signalR-name-here".
*
* @return the name value
*/
Expand All @@ -56,7 +56,7 @@ public String name() {
}

/**
* Set the name value.
* Set the SignalR service name to validate. e.g."my-signalR-name-here".
*
* @param name the name value to set
* @return the NameAvailabilityParameters object itself.
Expand Down
Loading