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
3 changes: 2 additions & 1 deletion sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-09-14)

- Azure Resource Manager SignalR client library for Java. This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2021-09-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## 1.0.0-beta.2 (2021-07-09)

Expand Down
5 changes: 2 additions & 3 deletions sdk/signalr/azure-resourcemanager-signalr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager SignalR client library for Java.

This package contains Microsoft Azure SDK for SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2021-06-01-preview. 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 SignalR Management SDK. REST API for Azure SignalR Service. Package tag package-2021-09-01-preview. 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-signalr</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md)


## Troubleshooting
Expand Down
2 changes: 1 addition & 1 deletion sdk/signalr/azure-resourcemanager-signalr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for SignalR Management</name>
<description>This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2021-06-01-preview.</description>
<description>This package contains Microsoft Azure SDK for SignalR Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure SignalR Service. Package tag package-2021-09-01-preview.</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 @@ -190,7 +190,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
.append("1.0.0-beta.2");
.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 @@ -14,6 +14,7 @@
import com.azure.resourcemanager.signalr.fluent.models.NameAvailabilityInner;
import com.azure.resourcemanager.signalr.fluent.models.SignalRKeysInner;
import com.azure.resourcemanager.signalr.fluent.models.SignalRResourceInner;
import com.azure.resourcemanager.signalr.fluent.models.SkuListInner;
import com.azure.resourcemanager.signalr.models.NameAvailabilityParameters;
import com.azure.resourcemanager.signalr.models.RegenerateKeyParameters;

Expand Down Expand Up @@ -461,4 +462,33 @@ SignalRKeysInner regenerateKey(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void restart(String resourceGroupName, String resourceName, Context context);

/**
* List all available skus of the resource.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list skus operation response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SkuListInner listSkus(String resourceGroupName, String resourceName);

/**
* List all available skus of the resource.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
* from the Azure Resource Manager API or the portal.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the list skus operation response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SkuListInner> listSkusWithResponse(String resourceGroupName, String resourceName, Context context);
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ public class SignalRResourceInner extends Resource {
@JsonProperty(value = "properties.tls")
private SignalRTlsSettings tls;

/*
* Deprecated.
*/
@JsonProperty(value = "properties.hostNamePrefix", access = JsonProperty.Access.WRITE_ONLY)
private String hostnamePrefix;

/*
* List of the featureFlags.
*
Expand Down Expand Up @@ -161,7 +167,7 @@ public class SignalRResourceInner extends Resource {
private Boolean disableLocalAuth;

/*
* disableAadAuth
* DisableLocalAuth
* Enable or disable aad auth
* When set as true, connection with AuthType=aad won't work.
*/
Expand Down Expand Up @@ -331,6 +337,15 @@ public SignalRResourceInner withTls(SignalRTlsSettings tls) {
return this;
}

/**
* Get the hostnamePrefix property: Deprecated.
*
* @return the hostnamePrefix value.
*/
public String hostnamePrefix() {
return this.hostnamePrefix;
}

/**
* Get the features property: List of the featureFlags.
*
Expand Down Expand Up @@ -468,7 +483,7 @@ public SignalRResourceInner withDisableLocalAuth(Boolean disableLocalAuth) {
}

/**
* Get the disableAadAuth property: disableAadAuth Enable or disable aad auth When set as true, connection with
* Get the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with
* AuthType=aad won't work.
*
* @return the disableAadAuth value.
Expand All @@ -478,7 +493,7 @@ public Boolean disableAadAuth() {
}

/**
* Set the disableAadAuth property: disableAadAuth Enable or disable aad auth When set as true, connection with
* Set the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with
* AuthType=aad won't work.
*
* @param disableAadAuth the disableAadAuth value to set.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.signalr.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.signalr.models.Sku;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The list skus operation response. */
@Immutable
public final class SkuListInner {
@JsonIgnore private final ClientLogger logger = new ClientLogger(SkuListInner.class);

/*
* The list of skus available for the resource.
*/
@JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY)
private List<Sku> value;

/*
* The URL the client should use to fetch the next page (per server side
* paging).
* It's null for now, added for future use.
*/
@JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
private String nextLink;

/**
* Get the value property: The list of skus available for the resource.
*
* @return the value value.
*/
public List<Sku> value() {
return this.value;
}

/**
* Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's
* null for now, added for future use.
*
* @return the nextLink value.
*/
public String nextLink() {
return this.nextLink;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public SignalRSharedPrivateLinkResourcesClient getSignalRSharedPrivateLinkResour
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2021-06-01-preview";
this.apiVersion = "2021-09-01-preview";
this.operations = new OperationsClientImpl(this);
this.signalRs = new SignalRsClientImpl(this);
this.usages = new UsagesClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ public SignalRTlsSettings tls() {
return this.innerModel().tls();
}

public String hostnamePrefix() {
return this.innerModel().hostnamePrefix();
}

public List<SignalRFeature> features() {
List<SignalRFeature> inner = this.innerModel().features();
if (inner != null) {
Expand Down
Loading