Skip to content

Commit 69d6dbc

Browse files
author
SDKAuto
committed
CodeGen from PR 24268 in Azure/azure-rest-api-specs
Merge 69df78fe51252adb2dc6135d0dc3ef95cf94f638 into d650a21d6f78ecd512bee6e21685d7e999baf4b9
1 parent 0a44d07 commit 69d6dbc

File tree

184 files changed

+4347
-5518
lines changed

Some content is hidden

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

184 files changed

+4347
-5518
lines changed

sdk/webpubsub/azure-resourcemanager-webpubsub/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.1.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2023-06-06)
4+
5+
- Azure Resource Manager WebPubSub client library for Java. This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-06-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/webpubsub/azure-resourcemanager-webpubsub/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 WebPubSub client library for Java.
44

5-
This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-01. 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 WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-06-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-webpubsub</artifactId>
35-
<version>1.0.0</version>
35+
<version>1.1.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 245 additions & 38 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for WebPubSub Management</name>
21-
<description>This package contains Microsoft Azure SDK for WebPubSub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure WebPubSub Service. Package tag package-2023-02-01.</description>
21+
<description>This package contains Microsoft Azure SDK for WebPubSub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure WebPubSub Service. Package tag package-2023-06-01-preview.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubManagementClientBuilder;
3333
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubPrivateEndpointConnectionsImpl;
3434
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubPrivateLinkResourcesImpl;
35+
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubReplicasImpl;
3536
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubSharedPrivateLinkResourcesImpl;
3637
import com.azure.resourcemanager.webpubsub.implementation.WebPubSubsImpl;
3738
import com.azure.resourcemanager.webpubsub.models.Operations;
@@ -41,6 +42,7 @@
4142
import com.azure.resourcemanager.webpubsub.models.WebPubSubHubs;
4243
import com.azure.resourcemanager.webpubsub.models.WebPubSubPrivateEndpointConnections;
4344
import com.azure.resourcemanager.webpubsub.models.WebPubSubPrivateLinkResources;
45+
import com.azure.resourcemanager.webpubsub.models.WebPubSubReplicas;
4446
import com.azure.resourcemanager.webpubsub.models.WebPubSubSharedPrivateLinkResources;
4547
import com.azure.resourcemanager.webpubsub.models.WebPubSubs;
4648
import java.time.Duration;
@@ -68,6 +70,8 @@ public final class WebPubSubManager {
6870

6971
private WebPubSubPrivateLinkResources webPubSubPrivateLinkResources;
7072

73+
private WebPubSubReplicas webPubSubReplicas;
74+
7175
private WebPubSubSharedPrivateLinkResources webPubSubSharedPrivateLinkResources;
7276

7377
private final WebPubSubManagementClient clientObject;
@@ -235,7 +239,7 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr
235239
.append("-")
236240
.append("com.azure.resourcemanager.webpubsub")
237241
.append("/")
238-
.append("1.0.0");
242+
.append("1.0.0-beta.1");
239243
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
240244
userAgentBuilder
241245
.append(" (")
@@ -393,6 +397,18 @@ public WebPubSubPrivateLinkResources webPubSubPrivateLinkResources() {
393397
return webPubSubPrivateLinkResources;
394398
}
395399

400+
/**
401+
* Gets the resource collection API of WebPubSubReplicas. It manages Replica.
402+
*
403+
* @return Resource collection API of WebPubSubReplicas.
404+
*/
405+
public WebPubSubReplicas webPubSubReplicas() {
406+
if (this.webPubSubReplicas == null) {
407+
this.webPubSubReplicas = new WebPubSubReplicasImpl(clientObject.getWebPubSubReplicas(), this);
408+
}
409+
return webPubSubReplicas;
410+
}
411+
396412
/**
397413
* Gets the resource collection API of WebPubSubSharedPrivateLinkResources. It manages SharedPrivateLinkResource.
398414
*

sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomCertificatesClient.java

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ public interface WebPubSubCustomCertificatesClient {
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 WebPubSubCustomCertificatesClient {
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 WebPubSubCustomCertificatesClient {
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/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/fluent/WebPubSubCustomDomainsClient.java

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ public interface WebPubSubCustomDomainsClient {
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 WebPubSubCustomDomainsClient {
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 WebPubSubCustomDomainsClient {
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.

0 commit comments

Comments
 (0)