From cf1119c91c2e96c23990f1024b215537c2893cdc Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 2 Jan 2025 12:36:54 +0000 Subject: [PATCH] CodeGen from PR 31855 in Azure/azure-rest-api-specs Merge 231c40dde37023504bda2297eedb00829d1c2092 into b4144eef7a3a812bfa5bd664da15a188d3f19ad0 --- .../CHANGELOG.md | 10 ++-------- .../README.md | 10 +++++++++- .../playwrighttesting/models/AccountProperties.java | 12 ++++++------ .../models/AccountUpdateProperties.java | 12 ++++++------ .../tsp-location.yaml | 2 +- 5 files changed, 24 insertions(+), 22 deletions(-) diff --git a/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/CHANGELOG.md b/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/CHANGELOG.md index 6d46b7dc59442..4148eb9ec0390 100644 --- a/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/CHANGELOG.md +++ b/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/CHANGELOG.md @@ -1,14 +1,8 @@ # Release History -## 1.1.0-beta.1 (Unreleased) +## 1.0.0-beta.1 (2025-01-02) -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Azure Resource Manager Playwright Testing client library for Java. This package contains Microsoft Azure SDK for Playwright Testing Management SDK. Microsoft.AzurePlaywrightService Resource Provider Management API. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## 1.0.0 (2024-12-16) diff --git a/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/README.md b/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/README.md index f83b098d82338..f27a471b05e2e 100644 --- a/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/README.md +++ b/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-playwrighttesting - 1.0.0 + 1.1.0-beta.1 ``` [//]: # ({x-version-update-end}) @@ -70,6 +70,14 @@ See [API design][design] for general introduction on design and key concepts on ## Examples +```java +account = playwrightTestingManager.accounts() + .define(accountName) + .withRegion(REGION) + .withExistingResourceGroup(resourceGroupName) + .withProperties(new AccountProperties().withRegionalAffinity(EnablementStatus.ENABLED)) + .create(); +``` [Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/SAMPLE.md) diff --git a/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/src/main/java/com/azure/resourcemanager/playwrighttesting/models/AccountProperties.java b/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/src/main/java/com/azure/resourcemanager/playwrighttesting/models/AccountProperties.java index c65eb9ffc5439..c1c288660470e 100644 --- a/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/src/main/java/com/azure/resourcemanager/playwrighttesting/models/AccountProperties.java +++ b/sdk/playwrighttesting/azure-resourcemanager-playwrighttesting/src/main/java/com/azure/resourcemanager/playwrighttesting/models/AccountProperties.java @@ -41,8 +41,8 @@ public final class AccountProperties implements JsonSerializable