Skip to content

Commit e740309

Browse files
author
SDKAuto
committed
CodeGen from PR 22948 in Azure/azure-rest-api-specs
Merge 6b923928dcf81d37ff31dd3e15621b8a5ae9355b into fce14bf881523f16b14d8ecf325e004465cdcf56
1 parent 01d574a commit e740309

File tree

174 files changed

+4112
-5382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+4112
-5382
lines changed

sdk/signalr/azure-resourcemanager-signalr/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.6 (Unreleased)
3+
## 1.0.0-beta.1 (2023-03-17)
4+
5+
- 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).
46

57
### Features Added
68

sdk/signalr/azure-resourcemanager-signalr/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager SignalR client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-signalr</artifactId>
35-
<version>1.0.0-beta.5</version>
35+
<version>1.0.0-beta.6</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/signalr/azure-resourcemanager-signalr/SAMPLE.md

Lines changed: 259 additions & 110 deletions
Large diffs are not rendered by default.

sdk/signalr/azure-resourcemanager-signalr/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
~ Copyright (c) Microsoft Corporation. All rights reserved.
3+
~ Licensed under the MIT License.
4+
~ Code generated by Microsoft (R) AutoRest Code Generator.
5+
-->
16
<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">
27
<modelVersion>4.0.0</modelVersion>
38
<parent>
@@ -13,7 +18,7 @@
1318
<packaging>jar</packaging>
1419

1520
<name>Microsoft Azure SDK for SignalR Management</name>
16-
<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>
21+
<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>
1722
<url>https://github.com/Azure/azure-sdk-for-java</url>
1823

1924
<licenses>
@@ -38,7 +43,8 @@
3843
</developers>
3944
<properties>
4045
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41-
<jacoco.skip>true</jacoco.skip>
46+
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
47+
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
4248
</properties>
4349
<dependencies>
4450
<dependency>

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/SignalRManager.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import com.azure.resourcemanager.signalr.implementation.SignalRManagementClientBuilder;
3131
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateEndpointConnectionsImpl;
3232
import com.azure.resourcemanager.signalr.implementation.SignalRPrivateLinkResourcesImpl;
33+
import com.azure.resourcemanager.signalr.implementation.SignalRReplicasImpl;
3334
import com.azure.resourcemanager.signalr.implementation.SignalRSharedPrivateLinkResourcesImpl;
3435
import com.azure.resourcemanager.signalr.implementation.SignalRsImpl;
3536
import com.azure.resourcemanager.signalr.implementation.UsagesImpl;
@@ -38,6 +39,7 @@
3839
import com.azure.resourcemanager.signalr.models.SignalRCustomDomains;
3940
import com.azure.resourcemanager.signalr.models.SignalRPrivateEndpointConnections;
4041
import com.azure.resourcemanager.signalr.models.SignalRPrivateLinkResources;
42+
import com.azure.resourcemanager.signalr.models.SignalRReplicas;
4143
import com.azure.resourcemanager.signalr.models.SignalRSharedPrivateLinkResources;
4244
import com.azure.resourcemanager.signalr.models.SignalRs;
4345
import com.azure.resourcemanager.signalr.models.Usages;
@@ -64,6 +66,8 @@ public final class SignalRManager {
6466

6567
private SignalRPrivateLinkResources signalRPrivateLinkResources;
6668

69+
private SignalRReplicas signalRReplicas;
70+
6771
private SignalRSharedPrivateLinkResources signalRSharedPrivateLinkResources;
6872

6973
private final SignalRManagementClient clientObject;
@@ -231,7 +235,7 @@ public SignalRManager authenticate(TokenCredential credential, AzureProfile prof
231235
.append("-")
232236
.append("com.azure.resourcemanager.signalr")
233237
.append("/")
234-
.append("1.0.0-beta.5");
238+
.append("1.0.0-beta.1");
235239
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
236240
userAgentBuilder
237241
.append(" (")
@@ -375,6 +379,18 @@ public SignalRPrivateLinkResources signalRPrivateLinkResources() {
375379
return signalRPrivateLinkResources;
376380
}
377381

382+
/**
383+
* Gets the resource collection API of SignalRReplicas. It manages Replica.
384+
*
385+
* @return Resource collection API of SignalRReplicas.
386+
*/
387+
public SignalRReplicas signalRReplicas() {
388+
if (this.signalRReplicas == null) {
389+
this.signalRReplicas = new SignalRReplicasImpl(clientObject.getSignalRReplicas(), this);
390+
}
391+
return signalRReplicas;
392+
}
393+
378394
/**
379395
* Gets the resource collection API of SignalRSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
380396
*

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomCertificatesClient.java

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ public interface SignalRCustomCertificatesClient {
1818
/**
1919
* List all custom certificates.
2020
*
21-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
22-
* from the Azure Resource Manager API or the portal.
21+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
2322
* @param resourceName The name of the resource.
2423
* @throws IllegalArgumentException thrown if parameters fail the validation.
2524
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -32,8 +31,7 @@ public interface SignalRCustomCertificatesClient {
3231
/**
3332
* List all custom certificates.
3433
*
35-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
36-
* from the Azure Resource Manager API or the portal.
34+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3735
* @param resourceName The name of the resource.
3836
* @param context The context to associate with this operation.
3937
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,8 +45,7 @@ public interface SignalRCustomCertificatesClient {
4745
/**
4846
* Get a custom certificate.
4947
*
50-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
51-
* from the Azure Resource Manager API or the portal.
48+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
5249
* @param resourceName The name of the resource.
5350
* @param certificateName Custom certificate name.
5451
* @param context The context to associate with this operation.
@@ -64,8 +61,7 @@ Response<CustomCertificateInner> getWithResponse(
6461
/**
6562
* Get a custom certificate.
6663
*
67-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
68-
* from the Azure Resource Manager API or the portal.
64+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
6965
* @param resourceName The name of the resource.
7066
* @param certificateName Custom certificate name.
7167
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -79,8 +75,7 @@ Response<CustomCertificateInner> getWithResponse(
7975
/**
8076
* Create or update a custom certificate.
8177
*
82-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
83-
* from the Azure Resource Manager API or the portal.
78+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8479
* @param resourceName The name of the resource.
8580
* @param certificateName Custom certificate name.
8681
* @param parameters A custom certificate.
@@ -96,8 +91,7 @@ SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCrea
9691
/**
9792
* Create or update a custom certificate.
9893
*
99-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
100-
* from the Azure Resource Manager API or the portal.
94+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
10195
* @param resourceName The name of the resource.
10296
* @param certificateName Custom certificate name.
10397
* @param parameters A custom certificate.
@@ -118,8 +112,7 @@ SyncPoller<PollResult<CustomCertificateInner>, CustomCertificateInner> beginCrea
118112
/**
119113
* Create or update a custom certificate.
120114
*
121-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
122-
* from the Azure Resource Manager API or the portal.
115+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
123116
* @param resourceName The name of the resource.
124117
* @param certificateName Custom certificate name.
125118
* @param parameters A custom certificate.
@@ -135,8 +128,7 @@ CustomCertificateInner createOrUpdate(
135128
/**
136129
* Create or update a custom certificate.
137130
*
138-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
139-
* from the Azure Resource Manager API or the portal.
131+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
140132
* @param resourceName The name of the resource.
141133
* @param certificateName Custom certificate name.
142134
* @param parameters A custom certificate.
@@ -157,8 +149,7 @@ CustomCertificateInner createOrUpdate(
157149
/**
158150
* Delete a custom certificate.
159151
*
160-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
161-
* from the Azure Resource Manager API or the portal.
152+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
162153
* @param resourceName The name of the resource.
163154
* @param certificateName Custom certificate name.
164155
* @param context The context to associate with this operation.
@@ -174,8 +165,7 @@ Response<Void> deleteWithResponse(
174165
/**
175166
* Delete a custom certificate.
176167
*
177-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
178-
* from the Azure Resource Manager API or the portal.
168+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
179169
* @param resourceName The name of the resource.
180170
* @param certificateName Custom certificate name.
181171
* @throws IllegalArgumentException thrown if parameters fail the validation.

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRCustomDomainsClient.java

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ public interface SignalRCustomDomainsClient {
1818
/**
1919
* List all custom domains.
2020
*
21-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
22-
* from the Azure Resource Manager API or the portal.
21+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
2322
* @param resourceName The name of the resource.
2423
* @throws IllegalArgumentException thrown if parameters fail the validation.
2524
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -32,8 +31,7 @@ public interface SignalRCustomDomainsClient {
3231
/**
3332
* List all custom domains.
3433
*
35-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
36-
* from the Azure Resource Manager API or the portal.
34+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3735
* @param resourceName The name of the resource.
3836
* @param context The context to associate with this operation.
3937
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -47,8 +45,7 @@ public interface SignalRCustomDomainsClient {
4745
/**
4846
* Get a custom domain.
4947
*
50-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
51-
* from the Azure Resource Manager API or the portal.
48+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
5249
* @param resourceName The name of the resource.
5350
* @param name Custom domain name.
5451
* @param context The context to associate with this operation.
@@ -64,8 +61,7 @@ Response<CustomDomainInner> getWithResponse(
6461
/**
6562
* Get a custom domain.
6663
*
67-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
68-
* from the Azure Resource Manager API or the portal.
64+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
6965
* @param resourceName The name of the resource.
7066
* @param name Custom domain name.
7167
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -79,8 +75,7 @@ Response<CustomDomainInner> getWithResponse(
7975
/**
8076
* Create or update a custom domain.
8177
*
82-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
83-
* from the Azure Resource Manager API or the portal.
78+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8479
* @param resourceName The name of the resource.
8580
* @param name Custom domain name.
8681
* @param parameters A custom domain.
@@ -96,8 +91,7 @@ SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate
9691
/**
9792
* Create or update a custom domain.
9893
*
99-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
100-
* from the Azure Resource Manager API or the portal.
94+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
10195
* @param resourceName The name of the resource.
10296
* @param name Custom domain name.
10397
* @param parameters A custom domain.
@@ -114,8 +108,7 @@ SyncPoller<PollResult<CustomDomainInner>, CustomDomainInner> beginCreateOrUpdate
114108
/**
115109
* Create or update a custom domain.
116110
*
117-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
118-
* from the Azure Resource Manager API or the portal.
111+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
119112
* @param resourceName The name of the resource.
120113
* @param name Custom domain name.
121114
* @param parameters A custom domain.
@@ -131,8 +124,7 @@ CustomDomainInner createOrUpdate(
131124
/**
132125
* Create or update a custom domain.
133126
*
134-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
135-
* from the Azure Resource Manager API or the portal.
127+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
136128
* @param resourceName The name of the resource.
137129
* @param name Custom domain name.
138130
* @param parameters A custom domain.
@@ -149,8 +141,7 @@ CustomDomainInner createOrUpdate(
149141
/**
150142
* Delete a custom domain.
151143
*
152-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
153-
* from the Azure Resource Manager API or the portal.
144+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
154145
* @param resourceName The name of the resource.
155146
* @param name Custom domain name.
156147
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -164,8 +155,7 @@ CustomDomainInner createOrUpdate(
164155
/**
165156
* Delete a custom domain.
166157
*
167-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
168-
* from the Azure Resource Manager API or the portal.
158+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
169159
* @param resourceName The name of the resource.
170160
* @param name Custom domain name.
171161
* @param context The context to associate with this operation.
@@ -181,8 +171,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
181171
/**
182172
* Delete a custom domain.
183173
*
184-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
185-
* from the Azure Resource Manager API or the portal.
174+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
186175
* @param resourceName The name of the resource.
187176
* @param name Custom domain name.
188177
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -195,8 +184,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
195184
/**
196185
* Delete a custom domain.
197186
*
198-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
199-
* from the Azure Resource Manager API or the portal.
187+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
200188
* @param resourceName The name of the resource.
201189
* @param name Custom domain name.
202190
* @param context The context to associate with this operation.

sdk/signalr/azure-resourcemanager-signalr/src/main/java/com/azure/resourcemanager/signalr/fluent/SignalRManagementClient.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
/** The interface for SignalRManagementClient class. */
1111
public interface SignalRManagementClient {
1212
/**
13-
* Gets Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms
14-
* part of the URI for every service call.
13+
* Gets The ID of the target subscription. The value must be an UUID.
1514
*
1615
* @return the subscriptionId value.
1716
*/
@@ -94,6 +93,13 @@ public interface SignalRManagementClient {
9493
*/
9594
SignalRPrivateLinkResourcesClient getSignalRPrivateLinkResources();
9695

96+
/**
97+
* Gets the SignalRReplicasClient object to access its operations.
98+
*
99+
* @return the SignalRReplicasClient object.
100+
*/
101+
SignalRReplicasClient getSignalRReplicas();
102+
97103
/**
98104
* Gets the SignalRSharedPrivateLinkResourcesClient object to access its operations.
99105
*

0 commit comments

Comments
 (0)