Skip to content

Commit 9d89f6f

Browse files
committed
Configurations: 'specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/tspconfig.yaml', API Version: 2026-02-01-preview, SDK Release Type: beta, and CommitSHA: 'dfc0b2356c41c538250f3309f1a35f4cb1bf4e34' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6092967 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
1 parent 85beb87 commit 9d89f6f

55 files changed

Lines changed: 993 additions & 128 deletions

File tree

Some content is hidden

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

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

Lines changed: 75 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,85 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2026-04-01)
44

5-
### Features Added
5+
- Azure Resource Manager Playwright client library for Java. This package contains Microsoft Azure SDK for Playwright Management SDK. Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. Package api-version 2026-02-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
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### `models.PlaywrightWorkspaceFreeTrialProperties` was modified
10+
11+
* `validate()` was removed
12+
13+
#### `models.PlaywrightQuotaProperties` was modified
14+
15+
* `validate()` was removed
16+
17+
#### `models.CheckNameAvailabilityRequest` was modified
18+
19+
* `validate()` was removed
20+
21+
#### `models.OperationDisplay` was modified
22+
23+
* `validate()` was removed
24+
25+
#### `models.PlaywrightWorkspaceQuotaProperties` was modified
26+
27+
* `validate()` was removed
28+
29+
#### `models.PlaywrightWorkspaceUpdate` was modified
30+
31+
* `validate()` was removed
32+
33+
#### `models.PlaywrightWorkspaceProperties` was modified
34+
35+
* `validate()` was removed
36+
37+
#### `models.PlaywrightWorkspaceUpdateProperties` was modified
38+
39+
* `validate()` was removed
40+
41+
#### `models.FreeTrialProperties` was modified
42+
43+
* `validate()` was removed
44+
45+
### Features Added
46+
47+
* `models.ManagedServiceIdentity` was added
48+
49+
* `models.UserAssignedIdentity` was added
50+
51+
* `models.ManagedServiceIdentityType` was added
52+
53+
#### `models.PlaywrightWorkspace$Update` was modified
54+
55+
* `withIdentity(models.ManagedServiceIdentity)` was added
56+
57+
#### `models.PlaywrightWorkspace$Definition` was modified
58+
59+
* `withIdentity(models.ManagedServiceIdentity)` was added
60+
61+
#### `models.PlaywrightWorkspace` was modified
62+
63+
* `identity()` was added
64+
65+
#### `models.PlaywrightWorkspaceUpdate` was modified
66+
67+
* `withIdentity(models.ManagedServiceIdentity)` was added
68+
* `identity()` was added
69+
70+
#### `models.PlaywrightWorkspaceProperties` was modified
71+
72+
* `withStorageUri(java.lang.String)` was added
73+
* `reporting()` was added
74+
* `storageUri()` was added
75+
* `withReporting(models.EnablementStatus)` was added
76+
77+
#### `models.PlaywrightWorkspaceUpdateProperties` was modified
1078

11-
### Other Changes
79+
* `reporting()` was added
80+
* `withReporting(models.EnablementStatus)` was added
81+
* `withStorageUri(java.lang.String)` was added
82+
* `storageUri()` was added
1283

1384
## 1.0.0 (2025-08-26)
1485

sdk/playwright/azure-resourcemanager-playwright/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 Playwright client library for Java.
44

5-
This package contains Microsoft Azure SDK for Playwright Management SDK. Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. Package api-version 2025-09-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 Playwright Management SDK. Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. Package api-version 2026-02-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-playwright</artifactId>
35-
<version>1.0.0</version>
35+
<version>1.1.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 128 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
## PlaywrightWorkspaces
1919

2020
- [CheckNameAvailability](#playwrightworkspaces_checknameavailability)
21+
- [CreateOrUpdate](#playwrightworkspaces_createorupdate)
2122
- [Delete](#playwrightworkspaces_delete)
23+
- [GetByResourceGroup](#playwrightworkspaces_getbyresourcegroup)
24+
- [List](#playwrightworkspaces_list)
25+
- [ListByResourceGroup](#playwrightworkspaces_listbyresourcegroup)
2226
- [Update](#playwrightworkspaces_update)
2327
### Operations_List
2428

@@ -28,7 +32,7 @@
2832
*/
2933
public final class OperationsListSamples {
3034
/*
31-
* x-ms-original-file: 2025-09-01/Operations_List.json
35+
* x-ms-original-file: 2026-02-01-preview/Operations_List.json
3236
*/
3337
/**
3438
* Sample code: Operations_List.
@@ -51,7 +55,7 @@ import com.azure.resourcemanager.playwright.models.QuotaName;
5155
*/
5256
public final class PlaywrightQuotasGetSamples {
5357
/*
54-
* x-ms-original-file: 2025-09-01/PlaywrightQuotas_Get.json
58+
* x-ms-original-file: 2026-02-01-preview/PlaywrightQuotas_Get.json
5559
*/
5660
/**
5761
* Sample code: PlaywrightQuotas_Get.
@@ -73,7 +77,7 @@ public final class PlaywrightQuotasGetSamples {
7377
*/
7478
public final class PlaywrightQuotasListBySubscriptionSamples {
7579
/*
76-
* x-ms-original-file: 2025-09-01/PlaywrightQuotas_ListBySubscription.json
80+
* x-ms-original-file: 2026-02-01-preview/PlaywrightQuotas_ListBySubscription.json
7781
*/
7882
/**
7983
* Sample code: PlaywrightQuotas_ListBySubscription.
@@ -97,7 +101,7 @@ import com.azure.resourcemanager.playwright.models.QuotaName;
97101
*/
98102
public final class PlaywrightWorkspaceQuotasGetSamples {
99103
/*
100-
* x-ms-original-file: 2025-09-01/PlaywrightWorkspaceQuotas_Get.json
104+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaceQuotas_Get.json
101105
*/
102106
/**
103107
* Sample code: PlaywrightWorkspaceQuotas_Get.
@@ -119,7 +123,7 @@ public final class PlaywrightWorkspaceQuotasGetSamples {
119123
*/
120124
public final class PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceSamples {
121125
/*
122-
* x-ms-original-file: 2025-09-01/PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace.json
126+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace.json
123127
*/
124128
/**
125129
* Sample code: PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace.
@@ -144,7 +148,7 @@ import com.azure.resourcemanager.playwright.models.CheckNameAvailabilityRequest;
144148
*/
145149
public final class PlaywrightWorkspacesCheckNameAvailabilitySamples {
146150
/*
147-
* x-ms-original-file: 2025-09-01/PlaywrightWorkspaces_CheckNameAvailability.json
151+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_CheckNameAvailability.json
148152
*/
149153
/**
150154
* Sample code: PlaywrightWorkspaces_CheckNameAvailability.
@@ -160,6 +164,54 @@ public final class PlaywrightWorkspacesCheckNameAvailabilitySamples {
160164
}
161165
```
162166

167+
### PlaywrightWorkspaces_CreateOrUpdate
168+
169+
```java
170+
import com.azure.resourcemanager.playwright.models.EnablementStatus;
171+
import com.azure.resourcemanager.playwright.models.PlaywrightWorkspaceProperties;
172+
import java.util.HashMap;
173+
import java.util.Map;
174+
175+
/**
176+
* Samples for PlaywrightWorkspaces CreateOrUpdate.
177+
*/
178+
public final class PlaywrightWorkspacesCreateOrUpdateSamples {
179+
/*
180+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_CreateOrUpdate.json
181+
*/
182+
/**
183+
* Sample code: PlaywrightWorkspaces_CreateOrUpdate.
184+
*
185+
* @param manager Entry point to PlaywrightManager.
186+
*/
187+
public static void
188+
playwrightWorkspacesCreateOrUpdate(com.azure.resourcemanager.playwright.PlaywrightManager manager) {
189+
manager.playwrightWorkspaces()
190+
.define("myWorkspace")
191+
.withRegion("westus3")
192+
.withExistingResourceGroup("dummyrg")
193+
.withTags(mapOf("Team", "Dev Exp"))
194+
.withProperties(new PlaywrightWorkspaceProperties().withRegionalAffinity(EnablementStatus.ENABLED)
195+
.withLocalAuth(EnablementStatus.ENABLED)
196+
.withReporting(EnablementStatus.ENABLED)
197+
.withStorageUri("https://examplestorageaccount.blob.core.windows.net"))
198+
.create();
199+
}
200+
201+
// Use "Map.of" if available
202+
@SuppressWarnings("unchecked")
203+
private static <T> Map<String, T> mapOf(Object... inputs) {
204+
Map<String, T> map = new HashMap<>();
205+
for (int i = 0; i < inputs.length; i += 2) {
206+
String key = (String) inputs[i];
207+
T value = (T) inputs[i + 1];
208+
map.put(key, value);
209+
}
210+
return map;
211+
}
212+
}
213+
```
214+
163215
### PlaywrightWorkspaces_Delete
164216

165217
```java
@@ -168,7 +220,7 @@ public final class PlaywrightWorkspacesCheckNameAvailabilitySamples {
168220
*/
169221
public final class PlaywrightWorkspacesDeleteSamples {
170222
/*
171-
* x-ms-original-file: 2025-09-01/PlaywrightWorkspaces_Delete.json
223+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_Delete.json
172224
*/
173225
/**
174226
* Sample code: PlaywrightWorkspaces_Delete.
@@ -181,6 +233,72 @@ public final class PlaywrightWorkspacesDeleteSamples {
181233
}
182234
```
183235

236+
### PlaywrightWorkspaces_GetByResourceGroup
237+
238+
```java
239+
/**
240+
* Samples for PlaywrightWorkspaces GetByResourceGroup.
241+
*/
242+
public final class PlaywrightWorkspacesGetByResourceGroupSamples {
243+
/*
244+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_Get.json
245+
*/
246+
/**
247+
* Sample code: PlaywrightWorkspaces_Get.
248+
*
249+
* @param manager Entry point to PlaywrightManager.
250+
*/
251+
public static void playwrightWorkspacesGet(com.azure.resourcemanager.playwright.PlaywrightManager manager) {
252+
manager.playwrightWorkspaces()
253+
.getByResourceGroupWithResponse("dummyrg", "myWorkspace", com.azure.core.util.Context.NONE);
254+
}
255+
}
256+
```
257+
258+
### PlaywrightWorkspaces_List
259+
260+
```java
261+
/**
262+
* Samples for PlaywrightWorkspaces List.
263+
*/
264+
public final class PlaywrightWorkspacesListSamples {
265+
/*
266+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_ListBySubscription.json
267+
*/
268+
/**
269+
* Sample code: PlaywrightWorkspaces_ListBySubscription.
270+
*
271+
* @param manager Entry point to PlaywrightManager.
272+
*/
273+
public static void
274+
playwrightWorkspacesListBySubscription(com.azure.resourcemanager.playwright.PlaywrightManager manager) {
275+
manager.playwrightWorkspaces().list(com.azure.core.util.Context.NONE);
276+
}
277+
}
278+
```
279+
280+
### PlaywrightWorkspaces_ListByResourceGroup
281+
282+
```java
283+
/**
284+
* Samples for PlaywrightWorkspaces ListByResourceGroup.
285+
*/
286+
public final class PlaywrightWorkspacesListByResourceGroupSamples {
287+
/*
288+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_ListByResourceGroup.json
289+
*/
290+
/**
291+
* Sample code: PlaywrightWorkspaces_ListByResourceGroup.
292+
*
293+
* @param manager Entry point to PlaywrightManager.
294+
*/
295+
public static void
296+
playwrightWorkspacesListByResourceGroup(com.azure.resourcemanager.playwright.PlaywrightManager manager) {
297+
manager.playwrightWorkspaces().listByResourceGroup("dummyrg", com.azure.core.util.Context.NONE);
298+
}
299+
}
300+
```
301+
184302
### PlaywrightWorkspaces_Update
185303

186304
```java
@@ -195,7 +313,7 @@ import java.util.Map;
195313
*/
196314
public final class PlaywrightWorkspacesUpdateSamples {
197315
/*
198-
* x-ms-original-file: 2025-09-01/PlaywrightWorkspaces_Update.json
316+
* x-ms-original-file: 2026-02-01-preview/PlaywrightWorkspaces_Update.json
199317
*/
200318
/**
201319
* Sample code: PlaywrightWorkspaces_Update.
@@ -208,7 +326,8 @@ public final class PlaywrightWorkspacesUpdateSamples {
208326
.getValue();
209327
resource.update()
210328
.withTags(mapOf("Team", "Dev Exp", "Division", "LT"))
211-
.withProperties(new PlaywrightWorkspaceUpdateProperties().withRegionalAffinity(EnablementStatus.DISABLED))
329+
.withProperties(new PlaywrightWorkspaceUpdateProperties().withRegionalAffinity(EnablementStatus.DISABLED)
330+
.withReporting(EnablementStatus.DISABLED))
212331
.apply();
213332
}
214333

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
~ Licensed under the MIT License.
44
~ Code generated by Microsoft (R) TypeSpec Code Generator.
55
-->
6-
<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">
6+
<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">
77
<modelVersion>4.0.0</modelVersion>
88
<parent>
99
<groupId>com.azure</groupId>
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for Playwright Management</name>
21-
<description>This package contains Microsoft Azure SDK for Playwright Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. Package api-version 2025-09-01.</description>
21+
<description>This package contains Microsoft Azure SDK for Playwright Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. Package api-version 2026-02-01-preview.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,6 +45,7 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48+
<revapi.skip>true</revapi.skip>
4849
</properties>
4950
<dependencies>
5051
<dependency>

0 commit comments

Comments
 (0)