From 51a62d0a9497348113580195bc75dc74fb3d396e Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 18 Oct 2024 04:04:59 -0700 Subject: [PATCH] [Automation] Collect examples from azure-sdk-for-java#azure-resourcemanager-purview_1.0.0-beta.3 --- .../Accounts_AddRootCollectionAdmin.java | 20 +++++++------- .../Accounts_AddRootCollectionAdmin.json | 2 +- .../Accounts_CheckNameAvailability.java | 18 +++++++------ .../Accounts_CheckNameAvailability.json | 2 +- .../Accounts_CreateOrUpdate.java | 19 +++++++------- .../Accounts_CreateOrUpdate.json | 2 +- .../examples-java/Accounts_Delete.java | 10 ++++--- .../examples-java/Accounts_Delete.json | 2 +- .../examples-java/Accounts_Get.java | 15 ++++++----- .../examples-java/Accounts_Get.json | 2 +- .../Accounts_ListByResourceGroup.java | 11 +++++--- .../Accounts_ListByResourceGroup.json | 2 +- .../Accounts_ListBySubscription.java | 11 +++++--- .../Accounts_ListBySubscription.json | 2 +- .../examples-java/Accounts_ListKeys.java | 10 ++++--- .../examples-java/Accounts_ListKeys.json | 2 +- .../examples-java/Accounts_Update.java | 19 ++++++++------ .../examples-java/Accounts_Update.json | 2 +- .../examples-java/DefaultAccounts_Get.java | 19 +++++++------- .../examples-java/DefaultAccounts_Get.json | 2 +- .../examples-java/DefaultAccounts_Remove.java | 19 +++++++------- .../examples-java/DefaultAccounts_Remove.json | 2 +- .../examples-java/DefaultAccounts_Set.java | 26 +++++++++---------- .../examples-java/DefaultAccounts_Set.json | 2 +- .../examples-java/Operations_List.java | 10 ++++--- .../examples-java/Operations_List.json | 2 +- ...ateEndpointConnections_CreateOrUpdate.java | 24 ++++++++--------- ...ateEndpointConnections_CreateOrUpdate.json | 2 +- .../PrivateEndpointConnections_Delete.java | 15 ++++++----- .../PrivateEndpointConnections_Delete.json | 2 +- .../PrivateEndpointConnections_Get.java | 16 +++++++----- .../PrivateEndpointConnections_Get.json | 2 +- ...vateEndpointConnections_ListByAccount.java | 19 ++++++++------ ...vateEndpointConnections_ListByAccount.json | 2 +- .../PrivateLinkResources_GetByGroupId.java | 15 ++++++----- .../PrivateLinkResources_GetByGroupId.json | 2 +- .../PrivateLinkResources_ListByAccount.java | 15 ++++++----- .../PrivateLinkResources_ListByAccount.json | 2 +- 38 files changed, 194 insertions(+), 155 deletions(-) diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.java index e8fafbb0d1..00a5c39843 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.java @@ -1,22 +1,22 @@ + import com.azure.resourcemanager.purview.models.CollectionAdminUpdate; -/** Samples for Accounts AddRootCollectionAdmin. */ +/** + * Samples for Accounts AddRootCollectionAdmin. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_AddRootCollectionAdmin.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * Accounts_AddRootCollectionAdmin.json */ /** * Sample code: Accounts_AddRootCollectionAdmin. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsAddRootCollectionAdmin(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .accounts() - .addRootCollectionAdminWithResponse( - "SampleResourceGroup", - "account1", - new CollectionAdminUpdate().withObjectId("7e8de0e7-2bfc-4e1f-9659-2a5785e4356f"), - com.azure.core.util.Context.NONE); + manager.accounts().addRootCollectionAdminWithResponse("SampleResourceGroup", "account1", + new CollectionAdminUpdate().withObjectId("7e8de0e7-2bfc-4e1f-9659-2a5785e4356f"), + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_AddRootCollectionAdmin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.java index 5ada0a67aa..7b70fb7961 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.java @@ -1,20 +1,22 @@ + import com.azure.resourcemanager.purview.models.CheckNameAvailabilityRequest; -/** Samples for Accounts CheckNameAvailability. */ +/** + * Samples for Accounts CheckNameAvailability. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CheckNameAvailability.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * Accounts_CheckNameAvailability.json */ /** * Sample code: Accounts_CheckNameAvailability. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsCheckNameAvailability(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .accounts() - .checkNameAvailabilityWithResponse( - new CheckNameAvailabilityRequest().withName("account1").withType("Microsoft.Purview/accounts"), - com.azure.core.util.Context.NONE); + manager.accounts().checkNameAvailabilityWithResponse( + new CheckNameAvailabilityRequest().withName("account1").withType("Microsoft.Purview/accounts"), + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CheckNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.java index 5c080d41c4..5aeb7c9805 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.java @@ -1,20 +1,19 @@ -/** Samples for Accounts CreateOrUpdate. */ + +/** + * Samples for Accounts CreateOrUpdate. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json */ /** * Sample code: Accounts_CreateOrUpdate. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsCreateOrUpdate(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .accounts() - .define("account1") - .withRegion("West US 2") - .withExistingResourceGroup("SampleResourceGroup") - .withManagedResourceGroupName("custom-rgname") - .create(); + manager.accounts().define("account1").withRegion("West US 2").withExistingResourceGroup("SampleResourceGroup") + .withManagedResourceGroupName("custom-rgname").create(); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.java index 5f575d0cec..4005386ac3 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.java @@ -1,11 +1,15 @@ -/** Samples for Accounts Delete. */ + +/** + * Samples for Accounts Delete. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Delete.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Delete.json */ /** * Sample code: Accounts_Delete. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsDelete(com.azure.resourcemanager.purview.PurviewManager manager) { diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.java index 95a7e53495..95e38048ac 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.java @@ -1,16 +1,19 @@ -/** Samples for Accounts GetByResourceGroup. */ + +/** + * Samples for Accounts GetByResourceGroup. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json */ /** * Sample code: Accounts_Get. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsGet(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .accounts() - .getByResourceGroupWithResponse("SampleResourceGroup", "account1", com.azure.core.util.Context.NONE); + manager.accounts().getByResourceGroupWithResponse("SampleResourceGroup", "account1", + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.java index 04dec58e36..e38ca6b6e1 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.java @@ -1,11 +1,16 @@ -/** Samples for Accounts ListByResourceGroup. */ + +/** + * Samples for Accounts ListByResourceGroup. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListByResourceGroup.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListByResourceGroup. + * json */ /** * Sample code: Accounts_ListByResourceGroup. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsListByResourceGroup(com.azure.resourcemanager.purview.PurviewManager manager) { diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.java index 4bf4dc6ca6..650036bb68 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.java @@ -1,11 +1,16 @@ -/** Samples for Accounts List. */ + +/** + * Samples for Accounts List. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListBySubscription.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListBySubscription. + * json */ /** * Sample code: Accounts_ListBySubscription. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsListBySubscription(com.azure.resourcemanager.purview.PurviewManager manager) { diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.java index b4f719afd8..98a448fbaf 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.java @@ -1,11 +1,15 @@ -/** Samples for Accounts ListKeys. */ + +/** + * Samples for Accounts ListKeys. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListKeys.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListKeys.json */ /** * Sample code: Accounts_ListKeys. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsListKeys(com.azure.resourcemanager.purview.PurviewManager manager) { diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_ListKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.java index 4367983158..562bf98e24 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.java @@ -1,26 +1,29 @@ + import com.azure.resourcemanager.purview.models.Account; import java.util.HashMap; import java.util.Map; -/** Samples for Accounts Update. */ +/** + * Samples for Accounts Update. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Update.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Update.json */ /** * Sample code: Accounts_Update. - * + * * @param manager Entry point to PurviewManager. */ public static void accountsUpdate(com.azure.resourcemanager.purview.PurviewManager manager) { - Account resource = - manager - .accounts() - .getByResourceGroupWithResponse("SampleResourceGroup", "account1", com.azure.core.util.Context.NONE) - .getValue(); + Account resource = manager.accounts() + .getByResourceGroupWithResponse("SampleResourceGroup", "account1", com.azure.core.util.Context.NONE) + .getValue(); resource.update().withTags(mapOf("newTag", "New tag value.")).apply(); } + // Use "Map.of" if available @SuppressWarnings("unchecked") private static Map mapOf(Object... inputs) { Map map = new HashMap<>(); diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Accounts_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.java index 4577da18e6..df83211aed 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.java @@ -1,23 +1,22 @@ + import com.azure.resourcemanager.purview.models.ScopeType; import java.util.UUID; -/** Samples for DefaultAccounts Get. */ +/** + * Samples for DefaultAccounts Get. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/DefaultAccounts_Get.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/DefaultAccounts_Get.json */ /** * Sample code: DefaultAccounts_Get. - * + * * @param manager Entry point to PurviewManager. */ public static void defaultAccountsGet(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .defaultAccounts() - .getWithResponse( - UUID.fromString("11733A4E-BA84-46FF-91D1-AFF1A3215A90"), - ScopeType.TENANT, - "11733A4E-BA84-46FF-91D1-AFF1A3215A90", - com.azure.core.util.Context.NONE); + manager.defaultAccounts().getWithResponse(UUID.fromString("11733A4E-BA84-46FF-91D1-AFF1A3215A90"), + ScopeType.TENANT, "11733A4E-BA84-46FF-91D1-AFF1A3215A90", com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.java index 0116a97873..aad6d1c4c8 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.java @@ -1,23 +1,22 @@ + import com.azure.resourcemanager.purview.models.ScopeType; import java.util.UUID; -/** Samples for DefaultAccounts Remove. */ +/** + * Samples for DefaultAccounts Remove. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/DefaultAccounts_Remove.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/DefaultAccounts_Remove.json */ /** * Sample code: DefaultAccounts_Remove. - * + * * @param manager Entry point to PurviewManager. */ public static void defaultAccountsRemove(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .defaultAccounts() - .removeWithResponse( - UUID.fromString("11733A4E-BA84-46FF-91D1-AFF1A3215A90"), - ScopeType.TENANT, - "11733A4E-BA84-46FF-91D1-AFF1A3215A90", - com.azure.core.util.Context.NONE); + manager.defaultAccounts().removeWithResponse(UUID.fromString("11733A4E-BA84-46FF-91D1-AFF1A3215A90"), + ScopeType.TENANT, "11733A4E-BA84-46FF-91D1-AFF1A3215A90", com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Remove.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.java index 7d36964e85..d396864198 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.java @@ -1,27 +1,25 @@ + import com.azure.resourcemanager.purview.fluent.models.DefaultAccountPayloadInner; import com.azure.resourcemanager.purview.models.ScopeType; -/** Samples for DefaultAccounts Set. */ +/** + * Samples for DefaultAccounts Set. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/DefaultAccounts_Set.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/DefaultAccounts_Set.json */ /** * Sample code: DefaultAccounts_Set. - * + * * @param manager Entry point to PurviewManager. */ public static void defaultAccountsSet(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .defaultAccounts() - .setWithResponse( - new DefaultAccountPayloadInner() - .withAccountName("myDefaultAccount") - .withResourceGroupName("rg-1") - .withScope("11733A4E-BA84-46FF-91D1-AFF1A3215A90") - .withScopeTenantId("11733A4E-BA84-46FF-91D1-AFF1A3215A90") - .withScopeType(ScopeType.TENANT) - .withSubscriptionId("12345678-1234-1234-12345678aaa"), - com.azure.core.util.Context.NONE); + manager.defaultAccounts() + .setWithResponse(new DefaultAccountPayloadInner().withAccountName("myDefaultAccount") + .withResourceGroupName("rg-1").withScope("11733A4E-BA84-46FF-91D1-AFF1A3215A90") + .withScopeTenantId("11733A4E-BA84-46FF-91D1-AFF1A3215A90").withScopeType(ScopeType.TENANT) + .withSubscriptionId("12345678-1234-1234-12345678aaa"), com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/DefaultAccounts_Set.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.java index ab9e5bde0a..2eccc12d0d 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.java @@ -1,11 +1,15 @@ -/** Samples for Operations List. */ + +/** + * Samples for Operations List. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Operations_List.json + * x-ms-original-file: + * specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Operations_List.json */ /** * Sample code: Operations_List. - * + * * @param manager Entry point to PurviewManager. */ public static void operationsList(com.azure.resourcemanager.purview.PurviewManager manager) { diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/Operations_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.java index 873df95e4d..471cc20cc2 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.java @@ -1,26 +1,26 @@ + import com.azure.resourcemanager.purview.models.PrivateLinkServiceConnectionState; import com.azure.resourcemanager.purview.models.Status; -/** Samples for PrivateEndpointConnections CreateOrUpdate. */ +/** + * Samples for PrivateEndpointConnections CreateOrUpdate. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/PrivateEndpointConnections_CreateOrUpdate.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * PrivateEndpointConnections_CreateOrUpdate.json */ /** * Sample code: PrivateEndpointConnections_CreateOrUpdate. - * + * * @param manager Entry point to PurviewManager. */ - public static void privateEndpointConnectionsCreateOrUpdate( - com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .privateEndpointConnections() - .define("privateEndpointConnection1") + public static void + privateEndpointConnectionsCreateOrUpdate(com.azure.resourcemanager.purview.PurviewManager manager) { + manager.privateEndpointConnections().define("privateEndpointConnection1") .withExistingAccount("SampleResourceGroup", "account1") - .withPrivateLinkServiceConnectionState( - new PrivateLinkServiceConnectionState() - .withDescription("Approved by johndoe@company.com") - .withStatus(Status.APPROVED)) + .withPrivateLinkServiceConnectionState(new PrivateLinkServiceConnectionState() + .withDescription("Approved by johndoe@company.com").withStatus(Status.APPROVED)) .create(); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.java index 2fc304ef9b..44748541ac 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.java @@ -1,16 +1,19 @@ -/** Samples for PrivateEndpointConnections Delete. */ + +/** + * Samples for PrivateEndpointConnections Delete. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/PrivateEndpointConnections_Delete.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * PrivateEndpointConnections_Delete.json */ /** * Sample code: PrivateEndpointConnections_Delete. - * + * * @param manager Entry point to PurviewManager. */ public static void privateEndpointConnectionsDelete(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .privateEndpointConnections() - .delete("SampleResourceGroup", "account1", "privateEndpointConnection1", com.azure.core.util.Context.NONE); + manager.privateEndpointConnections().delete("SampleResourceGroup", "account1", "privateEndpointConnection1", + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.java index 743093b972..0213aea41c 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.java @@ -1,17 +1,19 @@ -/** Samples for PrivateEndpointConnections Get. */ + +/** + * Samples for PrivateEndpointConnections Get. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/PrivateEndpointConnections_Get.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * PrivateEndpointConnections_Get.json */ /** * Sample code: PrivateEndpointConnections_Get. - * + * * @param manager Entry point to PurviewManager. */ public static void privateEndpointConnectionsGet(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .privateEndpointConnections() - .getWithResponse( - "SampleResourceGroup", "account1", "privateEndpointConnection1", com.azure.core.util.Context.NONE); + manager.privateEndpointConnections().getWithResponse("SampleResourceGroup", "account1", + "privateEndpointConnection1", com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.java index 268fa19e78..b6efcd6e40 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.java @@ -1,17 +1,20 @@ -/** Samples for PrivateEndpointConnections ListByAccount. */ + +/** + * Samples for PrivateEndpointConnections ListByAccount. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/PrivateEndpointConnections_ListByAccount.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * PrivateEndpointConnections_ListByAccount.json */ /** * Sample code: PrivateEndpointConnections_ListByAccount. - * + * * @param manager Entry point to PurviewManager. */ - public static void privateEndpointConnectionsListByAccount( - com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .privateEndpointConnections() - .listByAccount("SampleResourceGroup", "account1", null, com.azure.core.util.Context.NONE); + public static void + privateEndpointConnectionsListByAccount(com.azure.resourcemanager.purview.PurviewManager manager) { + manager.privateEndpointConnections().listByAccount("SampleResourceGroup", "account1", null, + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateEndpointConnections_ListByAccount.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.java index 037fd7291c..b08627300b 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.java @@ -1,16 +1,19 @@ -/** Samples for PrivateLinkResources GetByGroupId. */ + +/** + * Samples for PrivateLinkResources GetByGroupId. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/PrivateLinkResources_GetByGroupId.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * PrivateLinkResources_GetByGroupId.json */ /** * Sample code: PrivateLinkResources_GetByGroupId. - * + * * @param manager Entry point to PurviewManager. */ public static void privateLinkResourcesGetByGroupId(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .privateLinkResources() - .getByGroupIdWithResponse("SampleResourceGroup", "account1", "group1", com.azure.core.util.Context.NONE); + manager.privateLinkResources().getByGroupIdWithResponse("SampleResourceGroup", "account1", "group1", + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_GetByGroupId.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.java b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.java index f6a79d6e2d..15848598c2 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.java +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.java @@ -1,16 +1,19 @@ -/** Samples for PrivateLinkResources ListByAccount. */ + +/** + * Samples for PrivateLinkResources ListByAccount. + */ public final class Main { /* - * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/PrivateLinkResources_ListByAccount.json + * x-ms-original-file: specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/ + * PrivateLinkResources_ListByAccount.json */ /** * Sample code: PrivateLinkResources_ListByAccount. - * + * * @param manager Entry point to PurviewManager. */ public static void privateLinkResourcesListByAccount(com.azure.resourcemanager.purview.PurviewManager manager) { - manager - .privateLinkResources() - .listByAccount("SampleResourceGroup", "account1", com.azure.core.util.Context.NONE); + manager.privateLinkResources().listByAccount("SampleResourceGroup", "account1", + com.azure.core.util.Context.NONE); } } diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.json index 404eb7ef05..1f9598a2d4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples-java/PrivateLinkResources_ListByAccount.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.2/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-purview_1.0.0-beta.3/sdk/purview/azure-resourcemanager-purview/README.md"} \ No newline at end of file