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

## 1.0.0-beta.6 (Unreleased)
## 1.0.0-beta.1 (2023-03-17)

- 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-2023-03-01-preview. 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
4 changes: 2 additions & 2 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-2022-08-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-2023-03-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.5</version>
<version>1.0.0-beta.6</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
369 changes: 259 additions & 110 deletions sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions sdk/signalr/azure-resourcemanager-signalr/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) AutoRest Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand All @@ -13,7 +18,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-2022-08-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-2023-03-01-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -38,7 +43,8 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.skip>true</jacoco.skip>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.azure.resourcemanager.signalr.implementation.SignalRManagementClientBuilder;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRReplicasImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRSharedPrivateLinkResourcesImpl;
import com.azure.resourcemanager.signalr.implementation.SignalRsImpl;
import com.azure.resourcemanager.signalr.implementation.UsagesImpl;
Expand All @@ -38,6 +39,7 @@
import com.azure.resourcemanager.signalr.models.SignalRCustomDomains;
import com.azure.resourcemanager.signalr.models.SignalRPrivateEndpointConnections;
import com.azure.resourcemanager.signalr.models.SignalRPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRReplicas;
import com.azure.resourcemanager.signalr.models.SignalRSharedPrivateLinkResources;
import com.azure.resourcemanager.signalr.models.SignalRs;
import com.azure.resourcemanager.signalr.models.Usages;
Expand All @@ -64,6 +66,8 @@ public final class SignalRManager {

private SignalRPrivateLinkResources signalRPrivateLinkResources;

private SignalRReplicas signalRReplicas;

private SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources;

private final SignalRManagementClient clientObject;
Expand Down Expand Up @@ -231,7 +235,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.signalr")
.append("/")
.append("1.0.0-beta.5");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -375,6 +379,18 @@ public SignalRPrivateLinkResources signalRPrivateLinkResources() {
return signalRPrivateLinkResources;
}

/**
* Gets the resource collection API of SignalRReplicas. It manages Replica.
*
* @return Resource collection API of SignalRReplicas.
*/
public SignalRReplicas signalRReplicas() {
if (this.signalRReplicas == null) {
this.signalRReplicas = new SignalRReplicasImpl(clientObject.getSignalRReplicas(), this);
}
return signalRReplicas;
}

/**
* Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
Expand All @@ -32,8 +31,7 @@ public interface SignalRCustomCertificatesClient {
/**
* List all custom certificates.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -47,8 +45,7 @@ public interface SignalRCustomCertificatesClient {
/**
* Get a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
Expand All @@ -64,8 +61,7 @@ Response<CustomCertificateInner> getWithResponse(
/**
* Get a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -79,8 +75,7 @@ Response<CustomCertificateInner> getWithResponse(
/**
* Create or update a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -96,8 +91,7 @@ SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCrea
/**
* Create or update a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -118,8 +112,7 @@ SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCrea
/**
* Create or update a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -135,8 +128,7 @@ CustomCertificateInner createOrUpdate(
/**
* Create or update a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param parameters A custom certificate.
Expand All @@ -157,8 +149,7 @@ CustomCertificateInner createOrUpdate(
/**
* Delete a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @param context The context to associate with this operation.
Expand All @@ -174,8 +165,7 @@ Response<Void> deleteWithResponse(
/**
* Delete a custom certificate.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param certificateName Custom certificate name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
Expand All @@ -32,8 +31,7 @@ public interface SignalRCustomDomainsClient {
/**
* List all custom domains.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -47,8 +45,7 @@ public interface SignalRCustomDomainsClient {
/**
* Get a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
Expand All @@ -64,8 +61,7 @@ Response<CustomDomainInner> getWithResponse(
/**
* Get a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -79,8 +75,7 @@ Response<CustomDomainInner> getWithResponse(
/**
* Create or update a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -96,8 +91,7 @@ SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate
/**
* Create or update a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -114,8 +108,7 @@ SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate
/**
* Create or update a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -131,8 +124,7 @@ CustomDomainInner createOrUpdate(
/**
* Create or update a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param parameters A custom domain.
Expand All @@ -149,8 +141,7 @@ CustomDomainInner createOrUpdate(
/**
* Delete a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -164,8 +155,7 @@ CustomDomainInner createOrUpdate(
/**
* Delete a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
Expand All @@ -181,8 +171,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Delete a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -195,8 +184,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Delete a custom domain.
*
* @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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the resource.
* @param name Custom domain name.
* @param context The context to associate with this operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/** The interface for SignalRManagementClient class. */
public interface SignalRManagementClient {
/**
* Gets Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms
* part of the URI for every service call.
* Gets The ID of the target subscription. The value must be an UUID.
*
* @return the subscriptionId value.
*/
Expand Down Expand Up @@ -94,6 +93,13 @@ public interface SignalRManagementClient {
*/
SignalRPrivateLinkResourcesClient getSignalRPrivateLinkResources();

/**
* Gets the SignalRReplicasClient object to access its operations.
*
* @return the SignalRReplicasClient object.
*/
SignalRReplicasClient getSignalRReplicas();

/**
* Gets the SignalRSharedPrivateLinkResourcesClient object to access its operations.
*
Expand Down
Loading